Back to Service

Method Details for GetInvoiceLineDetailsRaw.

Gets a list of invoice line details

Definition

TimeLog.TLP.WebAppCode.Service.GetInvoiceLineDetailsRaw(System.String,System.String,System.String,System.Int32,System.Int32,System.Int32,System.Int32,System.String,System.String)

Parameters

  • siteCode String Unique identification for your TimeLog account
  • apiID String The API ID
  • apiPassword String The API password
  • invoiceLineDetailID Integer ID of specific invoicelinedetail. Set to 0 to get all invoices
  • customerID Integer ID of specific customer. Set to 0 to get all customers
  • projectID Integer ID of specific project. Set to 0 to get all projects
  • invoiceID Integer ID of specific invoice. Set to 0 to get all invoices
  • startDate String Limits result to invoices with invoice date on or later than this date
  • endDate String Limits result to invoices with invoice date on or prior to this date

Returns

A list of invoice line detail objects in XML format

Result Example

<?xml version="1.0" encoding="utf-8"?>
<tlp:InvoiceLineDetails
  xmlns:tlp="http://www.timelog.com/XML/Schema/tlp/v5_0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.timelog.com/XML/Schema/tlp/v5_0 http://www.timelog.com/api/xsd/InvoiceLineDetailsRaw.xsd">
  <tlp:InvoiceLineDetail ID="1001088">
    <tlp:InvoiceLineID>145352</tlp:InvoiceLineID>
    <tlp:InvoiceID>19975</tlp:InvoiceID>
    <tlp:RegistrationDate>2018-03-21T00:00:00</tlp:RegistrationDate>
    <tlp:Text>Ordrehistorik virkede ikke på nogle brugere.</tlp:Text>
    <tlp:Quantity>0.7000</tlp:Quantity>
    <tlp:Rate>1080.0000</tlp:Rate>
    <tlp:RateSystemCurrency>1080.0000</tlp:RateSystemCurrency>
    <tlp:Amount>756.0000</tlp:Amount>
    <tlp:AmountSystemCurrency>756.0000</tlp:AmountSystemCurrency>
    <tlp:RegisteredQuantity>0.7000</tlp:RegisteredQuantity>
    <tlp:RegisteredRateSystemCurrency>1080.0000</tlp:RegisteredRateSystemCurrency>
    <tlp:RegisteredAmountSystemCurrency>756.0000</tlp:RegisteredAmountSystemCurrency>
    <tlp:RegistrationType>2</tlp:RegistrationType>
    <tlp:EmployeeInitials>SOX</tlp:EmployeeInitials>
    <tlp:TaskID>9855</tlp:TaskID>
    <tlp:TaskName>Supportbehandling</tlp:TaskName>
    <tlp:RegistrationID>532425</tlp:RegistrationID>
    <tlp:UnitType>1</tlp:UnitType>
  </tlp:InvoiceLineDetail>
  <tlp:InvoiceLineDetail ID="1001089">
    <tlp:InvoiceLineID>145352</tlp:InvoiceLineID>
    <tlp:InvoiceID>19975</tlp:InvoiceID>
    <tlp:RegistrationDate>2018-03-21T00:00:00</tlp:RegistrationDate>
    <tlp:Text>Fejl omkring ordrehistorik</tlp:Text>
    <tlp:Quantity>0.2000</tlp:Quantity>
    <tlp:Rate>1080.0000</tlp:Rate>
    <tlp:RateSystemCurrency>1080.0000</tlp:RateSystemCurrency>
    <tlp:Amount>216.0000</tlp:Amount>
    <tlp:AmountSystemCurrency>216.0000</tlp:AmountSystemCurrency>
    <tlp:RegisteredQuantity>0.2000</tlp:RegisteredQuantity>
    <tlp:RegisteredRateSystemCurrency>1080.0000</tlp:RegisteredRateSystemCurrency>
    <tlp:RegisteredAmountSystemCurrency>216.0000</tlp:RegisteredAmountSystemCurrency>
    <tlp:RegistrationType>2</tlp:RegistrationType>
    <tlp:EmployeeInitials>FMO</tlp:EmployeeInitials>
    <tlp:TaskID>9855</tlp:TaskID>
    <tlp:TaskName>Supportbehandling</tlp:TaskName>
    <tlp:RegistrationID>532461</tlp:RegistrationID>
    <tlp:UnitType>1</tlp:UnitType>
  </tlp:InvoiceLineDetail>
</tlp:InvoiceLineDetails>

Result Schema

<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:tlp="http://www.timelog.com/XML/Schema/tlp/v4_4"
            targetNamespace="http://www.timelog.com/XML/Schema/tlp/v4_4"
            elementFormDefault="qualified"
            attributeFormDefault="unqualified">
  <xsd:element name="InvoiceLineDetails">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element name="InvoiceLineDetail" type="tlp:InvoiceLineDetailRaw_Type" minOccurs="0" maxOccurs="unbounded" />
      </xsd:sequence>
    </xsd:complexType>
    <xsd:key name="InvoiceLineDetail_Key">
      <xsd:selector xpath=".//tlp:InvoiceLineDetail" />
      <xsd:field xpath="@ID" />
    </xsd:key>
  </xsd:element>

  <xsd:complexType name="InvoiceLineDetailRaw_Type">
    <xsd:sequence>
      <xsd:element name="InvoiceLineID" type="xsd:positiveInteger" minOccurs="0" maxOccurs="1" />
      <xsd:element name="InvoiceID" type="xsd:positiveInteger" minOccurs="0" maxOccurs="1" />
      <xsd:element name="RegistrationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1" />
      <xsd:element name="Text" type="xsd:string" minOccurs="0" maxOccurs="1" />
      <xsd:element name="Quantity" type="xsd:decimal" minOccurs="0" maxOccurs="1" />
      <xsd:element name="Rate" type="xsd:decimal" minOccurs="0" maxOccurs="1" />
      <xsd:element name="RateSystemCurrency" type="xsd:decimal" minOccurs="0" maxOccurs="1" />
      <xsd:element name="Amount" type="xsd:decimal" minOccurs="0" maxOccurs="1" />
      <xsd:element name="AmountSystemCurrency" type="xsd:decimal" minOccurs="0" maxOccurs="1" />
      <xsd:element name="RegisteredQuantity" type="xsd:decimal" minOccurs="0" maxOccurs="1" />
      <xsd:element name="RegisteredRateSystemCurrency" type="xsd:decimal" minOccurs="0" maxOccurs="1" />
      <xsd:element name="RegisteredAmountSystemCurrency" type="xsd:decimal" minOccurs="0" maxOccurs="1" />
      <xsd:element name="RegistrationType" type="xsd:unsignedByte" minOccurs="0" maxOccurs="1" />
      <xsd:element name="EmployeeInitials" type="xsd:string" minOccurs="0" maxOccurs="1" />
      <xsd:element name="TaskID" type="xsd:positiveInteger" minOccurs="0" maxOccurs="1" />
      <xsd:element name="TaskName" type="xsd:string" minOccurs="0" maxOccurs="1" />
      <xsd:element name="RegistrationID" type="xsd:positiveInteger" minOccurs="0" maxOccurs="1" />
      <xsd:element name="UnitType" type="xsd:positiveInteger" minOccurs="0" maxOccurs="1" />
    </xsd:sequence>
    <xsd:attribute name="ID" type="xsd:positiveInteger" use="required"></xsd:attribute>
  </xsd:complexType>

</xsd:schema>

Download the XSD