Veetro Web Service Methods


Click here for a complete list of operations.

GetInvoiceSearchResults

[Permission: Any Authenticated, Credentials: Finances.Invoices.ViewFull/Limited, Sales.Quotes.ViewFull/Limited]
Returns invoice search results

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
StartIndex:
FetchSize:
keywords:
Relation:
filter:
sort:
asc:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /xml HTTP/1.1
Host: admin.worketc.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://schema.veetro.com/GetInvoiceSearchResults"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetInvoiceSearchResults xmlns="http://schema.veetro.com">
      <StartIndex>int</StartIndex>
      <FetchSize>int</FetchSize>
      <keywords>string</keywords>
      <Relation>int</Relation>
      <filter>Any or Paid or Unpaid or Quotes or CancelledInvoices or CancelledQuotes</filter>
      <sort>InvoiceID or DateCreated or DateLastModified or Relation or DateDue or Total or Balance or Currency or DatePaid or LeadNameReadOnly or InvoiceCode</sort>
      <asc>boolean</asc>
    </GetInvoiceSearchResults>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetInvoiceSearchResultsResponse xmlns="http://schema.veetro.com">
      <GetInvoiceSearchResultsResult>
        <RecordCount>int</RecordCount>
        <Description>string</Description>
        <SQL>string</SQL>
        <FetchSize>int</FetchSize>
        <Page>int</Page>
        <StartIndex>int</StartIndex>
        <EndIndex>int</EndIndex>
        <Results>
          <Invoice>
            <InvoiceID>int</InvoiceID>
            <SequenceNum>int</SequenceNum>
            <InvoiceCode>string</InvoiceCode>
            <TemplateID>int</TemplateID>
            <LeadID>int</LeadID>
            <EntryID>int</EntryID>
            <FirstMailQueueID>int</FirstMailQueueID>
            <FirstMessageStatus>Enqueued or Sent or Error or DeliveryDelayed or DeliveryFailed or RecipientOpened or DeliverySuppressed</FirstMessageStatus>
            <DateCreated>dateTime</DateCreated>
            <CurrencyIso4217>string</CurrencyIso4217>
            <Rounding xsi:nil="true" />
            <DateLastModified>dateTime</DateLastModified>
            <DateDue>dateTime</DateDue>
            <DatePaid>dateTime</DatePaid>
            <Items xsi:nil="true" />
            <Relation xsi:nil="true" />
            <Owner xsi:nil="true" />
            <BillTo xsi:nil="true" />
            <BillToName>string</BillToName>
            <ShipTo xsi:nil="true" />
            <ShipToName>string</ShipToName>
            <Memo>string</Memo>
            <PONumber>string</PONumber>
            <Creator xsi:nil="true" />
            <Balance>double</Balance>
            <Total>double</Total>
            <Locked>boolean</Locked>
            <TaxInclusive>boolean</TaxInclusive>
            <Adjustments xsi:nil="true" />
            <IsQuote>boolean</IsQuote>
            <Type>Bill or Quote or Credit</Type>
            <Flags>None or UseBusinessNumberFormatting or IsCancelled</Flags>
            <Tag>string</Tag>
            <LastPaymentErrorDate>dateTime</LastPaymentErrorDate>
            <LastPaymentError>string</LastPaymentError>
            <TaxSummariesReadOnly xsi:nil="true" />
            <LeadNameReadOnly>string</LeadNameReadOnly>
            <Delete>boolean</Delete>
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
          </Invoice>
          <Invoice>
            <InvoiceID>int</InvoiceID>
            <SequenceNum>int</SequenceNum>
            <InvoiceCode>string</InvoiceCode>
            <TemplateID>int</TemplateID>
            <LeadID>int</LeadID>
            <EntryID>int</EntryID>
            <FirstMailQueueID>int</FirstMailQueueID>
            <FirstMessageStatus>Enqueued or Sent or Error or DeliveryDelayed or DeliveryFailed or RecipientOpened or DeliverySuppressed</FirstMessageStatus>
            <DateCreated>dateTime</DateCreated>
            <CurrencyIso4217>string</CurrencyIso4217>
            <Rounding xsi:nil="true" />
            <DateLastModified>dateTime</DateLastModified>
            <DateDue>dateTime</DateDue>
            <DatePaid>dateTime</DatePaid>
            <Items xsi:nil="true" />
            <Relation xsi:nil="true" />
            <Owner xsi:nil="true" />
            <BillTo xsi:nil="true" />
            <BillToName>string</BillToName>
            <ShipTo xsi:nil="true" />
            <ShipToName>string</ShipToName>
            <Memo>string</Memo>
            <PONumber>string</PONumber>
            <Creator xsi:nil="true" />
            <Balance>double</Balance>
            <Total>double</Total>
            <Locked>boolean</Locked>
            <TaxInclusive>boolean</TaxInclusive>
            <Adjustments xsi:nil="true" />
            <IsQuote>boolean</IsQuote>
            <Type>Bill or Quote or Credit</Type>
            <Flags>None or UseBusinessNumberFormatting or IsCancelled</Flags>
            <Tag>string</Tag>
            <LastPaymentErrorDate>dateTime</LastPaymentErrorDate>
            <LastPaymentError>string</LastPaymentError>
            <TaxSummariesReadOnly xsi:nil="true" />
            <LeadNameReadOnly>string</LeadNameReadOnly>
            <Delete>boolean</Delete>
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
          </Invoice>
        </Results>
      </GetInvoiceSearchResultsResult>
    </GetInvoiceSearchResultsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /xml HTTP/1.1
Host: admin.worketc.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetInvoiceSearchResults xmlns="http://schema.veetro.com">
      <StartIndex>int</StartIndex>
      <FetchSize>int</FetchSize>
      <keywords>string</keywords>
      <Relation>int</Relation>
      <filter>Any or Paid or Unpaid or Quotes or CancelledInvoices or CancelledQuotes</filter>
      <sort>InvoiceID or DateCreated or DateLastModified or Relation or DateDue or Total or Balance or Currency or DatePaid or LeadNameReadOnly or InvoiceCode</sort>
      <asc>boolean</asc>
    </GetInvoiceSearchResults>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetInvoiceSearchResultsResponse xmlns="http://schema.veetro.com">
      <GetInvoiceSearchResultsResult>
        <RecordCount>int</RecordCount>
        <Description>string</Description>
        <SQL>string</SQL>
        <FetchSize>int</FetchSize>
        <Page>int</Page>
        <StartIndex>int</StartIndex>
        <EndIndex>int</EndIndex>
        <Results>
          <Invoice>
            <InvoiceID>int</InvoiceID>
            <SequenceNum>int</SequenceNum>
            <InvoiceCode>string</InvoiceCode>
            <TemplateID>int</TemplateID>
            <LeadID>int</LeadID>
            <EntryID>int</EntryID>
            <FirstMailQueueID>int</FirstMailQueueID>
            <FirstMessageStatus>Enqueued or Sent or Error or DeliveryDelayed or DeliveryFailed or RecipientOpened or DeliverySuppressed</FirstMessageStatus>
            <DateCreated>dateTime</DateCreated>
            <CurrencyIso4217>string</CurrencyIso4217>
            <Rounding xsi:nil="true" />
            <DateLastModified>dateTime</DateLastModified>
            <DateDue>dateTime</DateDue>
            <DatePaid>dateTime</DatePaid>
            <Items xsi:nil="true" />
            <Relation xsi:nil="true" />
            <Owner xsi:nil="true" />
            <BillTo xsi:nil="true" />
            <BillToName>string</BillToName>
            <ShipTo xsi:nil="true" />
            <ShipToName>string</ShipToName>
            <Memo>string</Memo>
            <PONumber>string</PONumber>
            <Creator xsi:nil="true" />
            <Balance>double</Balance>
            <Total>double</Total>
            <Locked>boolean</Locked>
            <TaxInclusive>boolean</TaxInclusive>
            <Adjustments xsi:nil="true" />
            <IsQuote>boolean</IsQuote>
            <Type>Bill or Quote or Credit</Type>
            <Flags>None or UseBusinessNumberFormatting or IsCancelled</Flags>
            <Tag>string</Tag>
            <LastPaymentErrorDate>dateTime</LastPaymentErrorDate>
            <LastPaymentError>string</LastPaymentError>
            <TaxSummariesReadOnly xsi:nil="true" />
            <LeadNameReadOnly>string</LeadNameReadOnly>
            <Delete>boolean</Delete>
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
          </Invoice>
          <Invoice>
            <InvoiceID>int</InvoiceID>
            <SequenceNum>int</SequenceNum>
            <InvoiceCode>string</InvoiceCode>
            <TemplateID>int</TemplateID>
            <LeadID>int</LeadID>
            <EntryID>int</EntryID>
            <FirstMailQueueID>int</FirstMailQueueID>
            <FirstMessageStatus>Enqueued or Sent or Error or DeliveryDelayed or DeliveryFailed or RecipientOpened or DeliverySuppressed</FirstMessageStatus>
            <DateCreated>dateTime</DateCreated>
            <CurrencyIso4217>string</CurrencyIso4217>
            <Rounding xsi:nil="true" />
            <DateLastModified>dateTime</DateLastModified>
            <DateDue>dateTime</DateDue>
            <DatePaid>dateTime</DatePaid>
            <Items xsi:nil="true" />
            <Relation xsi:nil="true" />
            <Owner xsi:nil="true" />
            <BillTo xsi:nil="true" />
            <BillToName>string</BillToName>
            <ShipTo xsi:nil="true" />
            <ShipToName>string</ShipToName>
            <Memo>string</Memo>
            <PONumber>string</PONumber>
            <Creator xsi:nil="true" />
            <Balance>double</Balance>
            <Total>double</Total>
            <Locked>boolean</Locked>
            <TaxInclusive>boolean</TaxInclusive>
            <Adjustments xsi:nil="true" />
            <IsQuote>boolean</IsQuote>
            <Type>Bill or Quote or Credit</Type>
            <Flags>None or UseBusinessNumberFormatting or IsCancelled</Flags>
            <Tag>string</Tag>
            <LastPaymentErrorDate>dateTime</LastPaymentErrorDate>
            <LastPaymentError>string</LastPaymentError>
            <TaxSummariesReadOnly xsi:nil="true" />
            <LeadNameReadOnly>string</LeadNameReadOnly>
            <Delete>boolean</Delete>
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
          </Invoice>
        </Results>
      </GetInvoiceSearchResultsResult>
    </GetInvoiceSearchResultsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /xml/GetInvoiceSearchResults?StartIndex=string&FetchSize=string&keywords=string&Relation=string&filter=string&sort=string&asc=string HTTP/1.1
Host: admin.worketc.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<SearchResultOfInvoice xmlns="http://schema.veetro.com">
  <RecordCount>int</RecordCount>
  <Description>string</Description>
  <SQL>string</SQL>
  <FetchSize>int</FetchSize>
  <Page>int</Page>
  <StartIndex>int</StartIndex>
  <EndIndex>int</EndIndex>
  <Results>
    <Invoice>
      <InvoiceID>int</InvoiceID>
      <SequenceNum>int</SequenceNum>
      <InvoiceCode>string</InvoiceCode>
      <TemplateID>int</TemplateID>
      <LeadID>int</LeadID>
      <EntryID>int</EntryID>
      <FirstMailQueueID>int</FirstMailQueueID>
      <FirstMessageStatus>Enqueued or Sent or Error or DeliveryDelayed or DeliveryFailed or RecipientOpened or DeliverySuppressed</FirstMessageStatus>
      <DateCreated>dateTime</DateCreated>
      <CurrencyIso4217>string</CurrencyIso4217>
      <Rounding>
        <Precision>int</Precision>
        <LineItemTaxPrecision>int</LineItemTaxPrecision>
        <Increment>double</Increment>
        <Mode>ToEven or AwayFromZero</Mode>
      </Rounding>
      <DateLastModified>dateTime</DateLastModified>
      <DateDue>dateTime</DateDue>
      <DatePaid>dateTime</DatePaid>
      <Items>
        <InvoiceItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Items>
      <Relation>
        <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
        <EntityID>int</EntityID>
        <DirectoryLetter>string</DirectoryLetter>
        <Name>string</Name>
        <Email>string</Email>
        <Password>string</Password>
        <GooglePlusID>string</GooglePlusID>
        <GooglePicture>string</GooglePicture>
        <PasswordSHA256Salt>string</PasswordSHA256Salt>
        <PasswordSHA256Hash>string</PasswordSHA256Hash>
        <AlternateEmails d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <AlternateWebsites d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LastActivity>dateTime</LastActivity>
        <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
        <Website>string</Website>
        <OpenID>string</OpenID>
        <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
        <CreationDate>dateTime</CreationDate>
        <DateLastModified>dateTime</DateLastModified>
        <CurrencyIso4217>string</CurrencyIso4217>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <OwnerID>int</OwnerID>
        <CreatedBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CustomFields d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tags d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SupplierRate>double</SupplierRate>
        <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
        <UserGroups d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <EntityHashID>string</EntityHashID>
        <LinkedInID>string</LinkedInID>
        <LinkedInUrl>string</LinkedInUrl>
        <TwitterID>string</TwitterID>
        <TwitterName>string</TwitterName>
        <TwitterUrl>string</TwitterUrl>
        <FacebookID>string</FacebookID>
        <FacebookName>string</FacebookName>
        <FacebookUrl>string</FacebookUrl>
        <IndustryType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GooglePlusSocialID>string</GooglePlusSocialID>
        <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
      </Relation>
      <Owner>
        <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
        <EntityID>int</EntityID>
        <DirectoryLetter>string</DirectoryLetter>
        <Name>string</Name>
        <Email>string</Email>
        <Password>string</Password>
        <GooglePlusID>string</GooglePlusID>
        <GooglePicture>string</GooglePicture>
        <PasswordSHA256Salt>string</PasswordSHA256Salt>
        <PasswordSHA256Hash>string</PasswordSHA256Hash>
        <AlternateEmails d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <AlternateWebsites d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LastActivity>dateTime</LastActivity>
        <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
        <Website>string</Website>
        <OpenID>string</OpenID>
        <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
        <CreationDate>dateTime</CreationDate>
        <DateLastModified>dateTime</DateLastModified>
        <CurrencyIso4217>string</CurrencyIso4217>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <OwnerID>int</OwnerID>
        <CreatedBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CustomFields d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tags d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SupplierRate>double</SupplierRate>
        <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
        <UserGroups d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <EntityHashID>string</EntityHashID>
        <LinkedInID>string</LinkedInID>
        <LinkedInUrl>string</LinkedInUrl>
        <TwitterID>string</TwitterID>
        <TwitterName>string</TwitterName>
        <TwitterUrl>string</TwitterUrl>
        <FacebookID>string</FacebookID>
        <FacebookName>string</FacebookName>
        <FacebookUrl>string</FacebookUrl>
        <IndustryType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GooglePlusSocialID>string</GooglePlusSocialID>
        <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
      </Owner>
      <BillTo>
        <AddressID>int</AddressID>
        <AddressType>Home or Work or Billing</AddressType>
        <Street>string</Street>
        <Suburb>string</Suburb>
        <StateOrProv>string</StateOrProv>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <PhoneExt>string</PhoneExt>
        <Fax>string</Fax>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <DateLastModified>dateTime</DateLastModified>
      </BillTo>
      <BillToName>string</BillToName>
      <ShipTo>
        <AddressID>int</AddressID>
        <AddressType>Home or Work or Billing</AddressType>
        <Street>string</Street>
        <Suburb>string</Suburb>
        <StateOrProv>string</StateOrProv>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <PhoneExt>string</PhoneExt>
        <Fax>string</Fax>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <DateLastModified>dateTime</DateLastModified>
      </ShipTo>
      <ShipToName>string</ShipToName>
      <Memo>string</Memo>
      <PONumber>string</PONumber>
      <Creator>
        <Title>string</Title>
        <FirstName>string</FirstName>
        <MiddleName>string</MiddleName>
        <Surname>string</Surname>
        <Mobile>string</Mobile>
        <Gender>Unspecified or Male or Female</Gender>
        <Birthday>dateTime</Birthday>
        <CompanyIDInheritPermissions>int</CompanyIDInheritPermissions>
        <Addresses d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Subscriptions d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <RelatedBranches d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Creator>
      <Balance>double</Balance>
      <Total>double</Total>
      <Locked>boolean</Locked>
      <TaxInclusive>boolean</TaxInclusive>
      <Adjustments>
        <InvoiceAdjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceAdjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Adjustments>
      <IsQuote>boolean</IsQuote>
      <Type>Bill or Quote or Credit</Type>
      <Flags>None or UseBusinessNumberFormatting or IsCancelled</Flags>
      <Tag>string</Tag>
      <LastPaymentErrorDate>dateTime</LastPaymentErrorDate>
      <LastPaymentError>string</LastPaymentError>
      <TaxSummariesReadOnly>
        <TaxSummary d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <TaxSummary d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </TaxSummariesReadOnly>
      <LeadNameReadOnly>string</LeadNameReadOnly>
      <Delete>boolean</Delete>
      <CustomFields>
        <Field d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Field d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </CustomFields>
      <Tags>
        <Tag d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tag d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Tags>
    </Invoice>
    <Invoice>
      <InvoiceID>int</InvoiceID>
      <SequenceNum>int</SequenceNum>
      <InvoiceCode>string</InvoiceCode>
      <TemplateID>int</TemplateID>
      <LeadID>int</LeadID>
      <EntryID>int</EntryID>
      <FirstMailQueueID>int</FirstMailQueueID>
      <FirstMessageStatus>Enqueued or Sent or Error or DeliveryDelayed or DeliveryFailed or RecipientOpened or DeliverySuppressed</FirstMessageStatus>
      <DateCreated>dateTime</DateCreated>
      <CurrencyIso4217>string</CurrencyIso4217>
      <Rounding>
        <Precision>int</Precision>
        <LineItemTaxPrecision>int</LineItemTaxPrecision>
        <Increment>double</Increment>
        <Mode>ToEven or AwayFromZero</Mode>
      </Rounding>
      <DateLastModified>dateTime</DateLastModified>
      <DateDue>dateTime</DateDue>
      <DatePaid>dateTime</DatePaid>
      <Items>
        <InvoiceItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Items>
      <Relation>
        <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
        <EntityID>int</EntityID>
        <DirectoryLetter>string</DirectoryLetter>
        <Name>string</Name>
        <Email>string</Email>
        <Password>string</Password>
        <GooglePlusID>string</GooglePlusID>
        <GooglePicture>string</GooglePicture>
        <PasswordSHA256Salt>string</PasswordSHA256Salt>
        <PasswordSHA256Hash>string</PasswordSHA256Hash>
        <AlternateEmails d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <AlternateWebsites d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LastActivity>dateTime</LastActivity>
        <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
        <Website>string</Website>
        <OpenID>string</OpenID>
        <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
        <CreationDate>dateTime</CreationDate>
        <DateLastModified>dateTime</DateLastModified>
        <CurrencyIso4217>string</CurrencyIso4217>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <OwnerID>int</OwnerID>
        <CreatedBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CustomFields d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tags d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SupplierRate>double</SupplierRate>
        <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
        <UserGroups d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <EntityHashID>string</EntityHashID>
        <LinkedInID>string</LinkedInID>
        <LinkedInUrl>string</LinkedInUrl>
        <TwitterID>string</TwitterID>
        <TwitterName>string</TwitterName>
        <TwitterUrl>string</TwitterUrl>
        <FacebookID>string</FacebookID>
        <FacebookName>string</FacebookName>
        <FacebookUrl>string</FacebookUrl>
        <IndustryType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GooglePlusSocialID>string</GooglePlusSocialID>
        <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
      </Relation>
      <Owner>
        <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
        <EntityID>int</EntityID>
        <DirectoryLetter>string</DirectoryLetter>
        <Name>string</Name>
        <Email>string</Email>
        <Password>string</Password>
        <GooglePlusID>string</GooglePlusID>
        <GooglePicture>string</GooglePicture>
        <PasswordSHA256Salt>string</PasswordSHA256Salt>
        <PasswordSHA256Hash>string</PasswordSHA256Hash>
        <AlternateEmails d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <AlternateWebsites d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LastActivity>dateTime</LastActivity>
        <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
        <Website>string</Website>
        <OpenID>string</OpenID>
        <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
        <CreationDate>dateTime</CreationDate>
        <DateLastModified>dateTime</DateLastModified>
        <CurrencyIso4217>string</CurrencyIso4217>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <OwnerID>int</OwnerID>
        <CreatedBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CustomFields d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tags d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SupplierRate>double</SupplierRate>
        <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
        <UserGroups d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <EntityHashID>string</EntityHashID>
        <LinkedInID>string</LinkedInID>
        <LinkedInUrl>string</LinkedInUrl>
        <TwitterID>string</TwitterID>
        <TwitterName>string</TwitterName>
        <TwitterUrl>string</TwitterUrl>
        <FacebookID>string</FacebookID>
        <FacebookName>string</FacebookName>
        <FacebookUrl>string</FacebookUrl>
        <IndustryType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GooglePlusSocialID>string</GooglePlusSocialID>
        <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
      </Owner>
      <BillTo>
        <AddressID>int</AddressID>
        <AddressType>Home or Work or Billing</AddressType>
        <Street>string</Street>
        <Suburb>string</Suburb>
        <StateOrProv>string</StateOrProv>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <PhoneExt>string</PhoneExt>
        <Fax>string</Fax>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <DateLastModified>dateTime</DateLastModified>
      </BillTo>
      <BillToName>string</BillToName>
      <ShipTo>
        <AddressID>int</AddressID>
        <AddressType>Home or Work or Billing</AddressType>
        <Street>string</Street>
        <Suburb>string</Suburb>
        <StateOrProv>string</StateOrProv>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <PhoneExt>string</PhoneExt>
        <Fax>string</Fax>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <DateLastModified>dateTime</DateLastModified>
      </ShipTo>
      <ShipToName>string</ShipToName>
      <Memo>string</Memo>
      <PONumber>string</PONumber>
      <Creator>
        <Title>string</Title>
        <FirstName>string</FirstName>
        <MiddleName>string</MiddleName>
        <Surname>string</Surname>
        <Mobile>string</Mobile>
        <Gender>Unspecified or Male or Female</Gender>
        <Birthday>dateTime</Birthday>
        <CompanyIDInheritPermissions>int</CompanyIDInheritPermissions>
        <Addresses d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Subscriptions d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <RelatedBranches d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Creator>
      <Balance>double</Balance>
      <Total>double</Total>
      <Locked>boolean</Locked>
      <TaxInclusive>boolean</TaxInclusive>
      <Adjustments>
        <InvoiceAdjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceAdjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Adjustments>
      <IsQuote>boolean</IsQuote>
      <Type>Bill or Quote or Credit</Type>
      <Flags>None or UseBusinessNumberFormatting or IsCancelled</Flags>
      <Tag>string</Tag>
      <LastPaymentErrorDate>dateTime</LastPaymentErrorDate>
      <LastPaymentError>string</LastPaymentError>
      <TaxSummariesReadOnly>
        <TaxSummary d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <TaxSummary d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </TaxSummariesReadOnly>
      <LeadNameReadOnly>string</LeadNameReadOnly>
      <Delete>boolean</Delete>
      <CustomFields>
        <Field d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Field d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </CustomFields>
      <Tags>
        <Tag d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tag d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Tags>
    </Invoice>
  </Results>
</SearchResultOfInvoice>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /xml/GetInvoiceSearchResults HTTP/1.1
Host: admin.worketc.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

StartIndex=string&FetchSize=string&keywords=string&Relation=string&filter=string&sort=string&asc=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<SearchResultOfInvoice xmlns="http://schema.veetro.com">
  <RecordCount>int</RecordCount>
  <Description>string</Description>
  <SQL>string</SQL>
  <FetchSize>int</FetchSize>
  <Page>int</Page>
  <StartIndex>int</StartIndex>
  <EndIndex>int</EndIndex>
  <Results>
    <Invoice>
      <InvoiceID>int</InvoiceID>
      <SequenceNum>int</SequenceNum>
      <InvoiceCode>string</InvoiceCode>
      <TemplateID>int</TemplateID>
      <LeadID>int</LeadID>
      <EntryID>int</EntryID>
      <FirstMailQueueID>int</FirstMailQueueID>
      <FirstMessageStatus>Enqueued or Sent or Error or DeliveryDelayed or DeliveryFailed or RecipientOpened or DeliverySuppressed</FirstMessageStatus>
      <DateCreated>dateTime</DateCreated>
      <CurrencyIso4217>string</CurrencyIso4217>
      <Rounding>
        <Precision>int</Precision>
        <LineItemTaxPrecision>int</LineItemTaxPrecision>
        <Increment>double</Increment>
        <Mode>ToEven or AwayFromZero</Mode>
      </Rounding>
      <DateLastModified>dateTime</DateLastModified>
      <DateDue>dateTime</DateDue>
      <DatePaid>dateTime</DatePaid>
      <Items>
        <InvoiceItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Items>
      <Relation>
        <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
        <EntityID>int</EntityID>
        <DirectoryLetter>string</DirectoryLetter>
        <Name>string</Name>
        <Email>string</Email>
        <Password>string</Password>
        <GooglePlusID>string</GooglePlusID>
        <GooglePicture>string</GooglePicture>
        <PasswordSHA256Salt>string</PasswordSHA256Salt>
        <PasswordSHA256Hash>string</PasswordSHA256Hash>
        <AlternateEmails d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <AlternateWebsites d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LastActivity>dateTime</LastActivity>
        <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
        <Website>string</Website>
        <OpenID>string</OpenID>
        <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
        <CreationDate>dateTime</CreationDate>
        <DateLastModified>dateTime</DateLastModified>
        <CurrencyIso4217>string</CurrencyIso4217>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <OwnerID>int</OwnerID>
        <CreatedBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CustomFields d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tags d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SupplierRate>double</SupplierRate>
        <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
        <UserGroups d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <EntityHashID>string</EntityHashID>
        <LinkedInID>string</LinkedInID>
        <LinkedInUrl>string</LinkedInUrl>
        <TwitterID>string</TwitterID>
        <TwitterName>string</TwitterName>
        <TwitterUrl>string</TwitterUrl>
        <FacebookID>string</FacebookID>
        <FacebookName>string</FacebookName>
        <FacebookUrl>string</FacebookUrl>
        <IndustryType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GooglePlusSocialID>string</GooglePlusSocialID>
        <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
      </Relation>
      <Owner>
        <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
        <EntityID>int</EntityID>
        <DirectoryLetter>string</DirectoryLetter>
        <Name>string</Name>
        <Email>string</Email>
        <Password>string</Password>
        <GooglePlusID>string</GooglePlusID>
        <GooglePicture>string</GooglePicture>
        <PasswordSHA256Salt>string</PasswordSHA256Salt>
        <PasswordSHA256Hash>string</PasswordSHA256Hash>
        <AlternateEmails d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <AlternateWebsites d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LastActivity>dateTime</LastActivity>
        <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
        <Website>string</Website>
        <OpenID>string</OpenID>
        <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
        <CreationDate>dateTime</CreationDate>
        <DateLastModified>dateTime</DateLastModified>
        <CurrencyIso4217>string</CurrencyIso4217>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <OwnerID>int</OwnerID>
        <CreatedBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CustomFields d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tags d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SupplierRate>double</SupplierRate>
        <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
        <UserGroups d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <EntityHashID>string</EntityHashID>
        <LinkedInID>string</LinkedInID>
        <LinkedInUrl>string</LinkedInUrl>
        <TwitterID>string</TwitterID>
        <TwitterName>string</TwitterName>
        <TwitterUrl>string</TwitterUrl>
        <FacebookID>string</FacebookID>
        <FacebookName>string</FacebookName>
        <FacebookUrl>string</FacebookUrl>
        <IndustryType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GooglePlusSocialID>string</GooglePlusSocialID>
        <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
      </Owner>
      <BillTo>
        <AddressID>int</AddressID>
        <AddressType>Home or Work or Billing</AddressType>
        <Street>string</Street>
        <Suburb>string</Suburb>
        <StateOrProv>string</StateOrProv>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <PhoneExt>string</PhoneExt>
        <Fax>string</Fax>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <DateLastModified>dateTime</DateLastModified>
      </BillTo>
      <BillToName>string</BillToName>
      <ShipTo>
        <AddressID>int</AddressID>
        <AddressType>Home or Work or Billing</AddressType>
        <Street>string</Street>
        <Suburb>string</Suburb>
        <StateOrProv>string</StateOrProv>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <PhoneExt>string</PhoneExt>
        <Fax>string</Fax>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <DateLastModified>dateTime</DateLastModified>
      </ShipTo>
      <ShipToName>string</ShipToName>
      <Memo>string</Memo>
      <PONumber>string</PONumber>
      <Creator>
        <Title>string</Title>
        <FirstName>string</FirstName>
        <MiddleName>string</MiddleName>
        <Surname>string</Surname>
        <Mobile>string</Mobile>
        <Gender>Unspecified or Male or Female</Gender>
        <Birthday>dateTime</Birthday>
        <CompanyIDInheritPermissions>int</CompanyIDInheritPermissions>
        <Addresses d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Subscriptions d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <RelatedBranches d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Creator>
      <Balance>double</Balance>
      <Total>double</Total>
      <Locked>boolean</Locked>
      <TaxInclusive>boolean</TaxInclusive>
      <Adjustments>
        <InvoiceAdjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceAdjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Adjustments>
      <IsQuote>boolean</IsQuote>
      <Type>Bill or Quote or Credit</Type>
      <Flags>None or UseBusinessNumberFormatting or IsCancelled</Flags>
      <Tag>string</Tag>
      <LastPaymentErrorDate>dateTime</LastPaymentErrorDate>
      <LastPaymentError>string</LastPaymentError>
      <TaxSummariesReadOnly>
        <TaxSummary d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <TaxSummary d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </TaxSummariesReadOnly>
      <LeadNameReadOnly>string</LeadNameReadOnly>
      <Delete>boolean</Delete>
      <CustomFields>
        <Field d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Field d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </CustomFields>
      <Tags>
        <Tag d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tag d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Tags>
    </Invoice>
    <Invoice>
      <InvoiceID>int</InvoiceID>
      <SequenceNum>int</SequenceNum>
      <InvoiceCode>string</InvoiceCode>
      <TemplateID>int</TemplateID>
      <LeadID>int</LeadID>
      <EntryID>int</EntryID>
      <FirstMailQueueID>int</FirstMailQueueID>
      <FirstMessageStatus>Enqueued or Sent or Error or DeliveryDelayed or DeliveryFailed or RecipientOpened or DeliverySuppressed</FirstMessageStatus>
      <DateCreated>dateTime</DateCreated>
      <CurrencyIso4217>string</CurrencyIso4217>
      <Rounding>
        <Precision>int</Precision>
        <LineItemTaxPrecision>int</LineItemTaxPrecision>
        <Increment>double</Increment>
        <Mode>ToEven or AwayFromZero</Mode>
      </Rounding>
      <DateLastModified>dateTime</DateLastModified>
      <DateDue>dateTime</DateDue>
      <DatePaid>dateTime</DatePaid>
      <Items>
        <InvoiceItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Items>
      <Relation>
        <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
        <EntityID>int</EntityID>
        <DirectoryLetter>string</DirectoryLetter>
        <Name>string</Name>
        <Email>string</Email>
        <Password>string</Password>
        <GooglePlusID>string</GooglePlusID>
        <GooglePicture>string</GooglePicture>
        <PasswordSHA256Salt>string</PasswordSHA256Salt>
        <PasswordSHA256Hash>string</PasswordSHA256Hash>
        <AlternateEmails d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <AlternateWebsites d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LastActivity>dateTime</LastActivity>
        <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
        <Website>string</Website>
        <OpenID>string</OpenID>
        <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
        <CreationDate>dateTime</CreationDate>
        <DateLastModified>dateTime</DateLastModified>
        <CurrencyIso4217>string</CurrencyIso4217>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <OwnerID>int</OwnerID>
        <CreatedBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CustomFields d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tags d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SupplierRate>double</SupplierRate>
        <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
        <UserGroups d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <EntityHashID>string</EntityHashID>
        <LinkedInID>string</LinkedInID>
        <LinkedInUrl>string</LinkedInUrl>
        <TwitterID>string</TwitterID>
        <TwitterName>string</TwitterName>
        <TwitterUrl>string</TwitterUrl>
        <FacebookID>string</FacebookID>
        <FacebookName>string</FacebookName>
        <FacebookUrl>string</FacebookUrl>
        <IndustryType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GooglePlusSocialID>string</GooglePlusSocialID>
        <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
      </Relation>
      <Owner>
        <CustomerCredentials>None or SupportPersonal or InvoicesPersonal or ProjectsPersonal or SupportCompany or InvoicesCompany or ProjectsCompany or ToDosPersonal or ToDosCompany or TimesheetsPersonal or TimesheetsCompany</CustomerCredentials>
        <EntityID>int</EntityID>
        <DirectoryLetter>string</DirectoryLetter>
        <Name>string</Name>
        <Email>string</Email>
        <Password>string</Password>
        <GooglePlusID>string</GooglePlusID>
        <GooglePicture>string</GooglePicture>
        <PasswordSHA256Salt>string</PasswordSHA256Salt>
        <PasswordSHA256Hash>string</PasswordSHA256Hash>
        <AlternateEmails d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <AlternateWebsites d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <LastActivity>dateTime</LastActivity>
        <Language>English or French or Welsh or Spanish or SpanishUS or Czech or German or Hungarian or Finnish or Hindi or Russian or Vietnamese or Portuguese or Danish or Italian or Greek or Norwegian or ChineseTraditional or Sinhala or Afrikaans or Tamil or Romanian or Monenegrin or Dutch or Swedish or Polish or Japanese or Lithuanian or Korean or ChineseSimplified</Language>
        <Website>string</Website>
        <OpenID>string</OpenID>
        <Flags>Sales_Lead or Customer or Supplier or Subscriber or Company or Person or Employee or Do_Not_Email or Inactive or Enable_Entry_Alerts or Disable_Login or Email_Bounced or Xero_Contact or Workgroup or Disable_Owner_Alerts or QuickBooks_Contact or Has_Avatar or PermissionInheritCompany or BirthDateYearOnly</Flags>
        <CreationDate>dateTime</CreationDate>
        <DateLastModified>dateTime</DateLastModified>
        <CurrencyIso4217>string</CurrencyIso4217>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <OwnerID>int</OwnerID>
        <CreatedBy d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CustomFields d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tags d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <SupplierRate>double</SupplierRate>
        <SupplierUnit>None or Minute or Hour or Day or Week or Month or Year or Kilogram or Litre or Gallon or Pound or Item or MegaByte or GigaByte or Instance or User or BiWeek or Word or Line or Student or Class or Foot or Metre or Pair or Inch or Cm or Kit or Piece or Mile or Kilometer or Ct or Voucher or Page or SquareFoot or Tonne or TroyOunce or Case or Location or Each or SquareYard or SquareMeter or Second</SupplierUnit>
        <UserGroups d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <EntityHashID>string</EntityHashID>
        <LinkedInID>string</LinkedInID>
        <LinkedInUrl>string</LinkedInUrl>
        <TwitterID>string</TwitterID>
        <TwitterName>string</TwitterName>
        <TwitterUrl>string</TwitterUrl>
        <FacebookID>string</FacebookID>
        <FacebookName>string</FacebookName>
        <FacebookUrl>string</FacebookUrl>
        <IndustryType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <GooglePlusSocialID>string</GooglePlusSocialID>
        <GooglePlusSocialUrl>string</GooglePlusSocialUrl>
      </Owner>
      <BillTo>
        <AddressID>int</AddressID>
        <AddressType>Home or Work or Billing</AddressType>
        <Street>string</Street>
        <Suburb>string</Suburb>
        <StateOrProv>string</StateOrProv>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <PhoneExt>string</PhoneExt>
        <Fax>string</Fax>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <DateLastModified>dateTime</DateLastModified>
      </BillTo>
      <BillToName>string</BillToName>
      <ShipTo>
        <AddressID>int</AddressID>
        <AddressType>Home or Work or Billing</AddressType>
        <Street>string</Street>
        <Suburb>string</Suburb>
        <StateOrProv>string</StateOrProv>
        <PostalCode>string</PostalCode>
        <Country>string</Country>
        <Phone>string</Phone>
        <PhoneExt>string</PhoneExt>
        <Fax>string</Fax>
        <Delete>boolean</Delete>
        <RemoveParentLinks>boolean</RemoveParentLinks>
        <DateLastModified>dateTime</DateLastModified>
      </ShipTo>
      <ShipToName>string</ShipToName>
      <Memo>string</Memo>
      <PONumber>string</PONumber>
      <Creator>
        <Title>string</Title>
        <FirstName>string</FirstName>
        <MiddleName>string</MiddleName>
        <Surname>string</Surname>
        <Mobile>string</Mobile>
        <Gender>Unspecified or Male or Female</Gender>
        <Birthday>dateTime</Birthday>
        <CompanyIDInheritPermissions>int</CompanyIDInheritPermissions>
        <Addresses d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Subscriptions d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <RelatedBranches d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Creator>
      <Balance>double</Balance>
      <Total>double</Total>
      <Locked>boolean</Locked>
      <TaxInclusive>boolean</TaxInclusive>
      <Adjustments>
        <InvoiceAdjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <InvoiceAdjustment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Adjustments>
      <IsQuote>boolean</IsQuote>
      <Type>Bill or Quote or Credit</Type>
      <Flags>None or UseBusinessNumberFormatting or IsCancelled</Flags>
      <Tag>string</Tag>
      <LastPaymentErrorDate>dateTime</LastPaymentErrorDate>
      <LastPaymentError>string</LastPaymentError>
      <TaxSummariesReadOnly>
        <TaxSummary d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <TaxSummary d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </TaxSummariesReadOnly>
      <LeadNameReadOnly>string</LeadNameReadOnly>
      <Delete>boolean</Delete>
      <CustomFields>
        <Field d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Field d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </CustomFields>
      <Tags>
        <Tag d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Tag d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Tags>
    </Invoice>
  </Results>
</SearchResultOfInvoice>