Veetro Web Service Methods


Click here for a complete list of operations.

SetInvoicesFull

[Permission: Employee, Credentials: Finances.Invoices, Sales.Quotes]
Saves a batch of Invoices or Quotes. If InvoiceID = 0, a new Invoice will be created. Returns an array of the Saved copy of the Invoice including the newly created InvoiceID. (Note: InvoiceCode should be NULL. The system will generate an Invoice Code for you based on your configuration. Also you cannot change an InvoiceCode on existing Invoices.)

All Entity / Address field data is ignored by this web method. Please specify only existing EntityID and AddressID values for your Relation, BillTo, ShipTo, etc. See SetPerson or SetCompany to create new customer contacts, or GetEntityByEmail to find an existing contact. If GetEntityByEmail is successful, you then use GetPerson (or GetCompany if Entity.Flags contains Company), to obtain AddressID's suitable for use in the BillTo/ShipTo Address objects.

Use Items[i].OriginalEntry to pass in the timesheets/projects which need to be created. Set Item[i].OriginalEntry.EntryID=0 and Item[i].OriginalEntry.Flags="Project"/"Journal"/"ToDo" to create them. If they already exist please pass in the full object returned from GetInvoice or GetProject/GetEvent. Use Items[i].OriginalEntry.DateEnd_Temp for Timesheet.DateEnd, Items[i].OriginalEntry.Activity_Temp for Timesheet.Activity and Items[i].Date for Timesheet.DateStart or Project.DateStart.

Test

The test form is only available for requests from the local machine.

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/SetInvoicesFull"

<?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>
    <SetInvoicesFull xmlns="http://schema.veetro.com">
      <invs>
        <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 xsi:nil="true" />
            <InvoiceItem xsi:nil="true" />
          </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 xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <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 xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <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 xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <Subscriptions xsi:nil="true" />
            <RelatedBranches xsi:nil="true" />
          </Creator>
          <Balance>double</Balance>
          <Total>double</Total>
          <Locked>boolean</Locked>
          <TaxInclusive>boolean</TaxInclusive>
          <Adjustments>
            <InvoiceAdjustment xsi:nil="true" />
            <InvoiceAdjustment xsi:nil="true" />
          </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 xsi:nil="true" />
            <TaxSummary xsi:nil="true" />
          </TaxSummariesReadOnly>
          <LeadNameReadOnly>string</LeadNameReadOnly>
          <Delete>boolean</Delete>
          <CustomFields>
            <Field xsi:nil="true" />
            <Field xsi:nil="true" />
          </CustomFields>
          <Tags>
            <Tag xsi:nil="true" />
            <Tag xsi:nil="true" />
          </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 xsi:nil="true" />
            <InvoiceItem xsi:nil="true" />
          </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 xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <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 xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <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 xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <Subscriptions xsi:nil="true" />
            <RelatedBranches xsi:nil="true" />
          </Creator>
          <Balance>double</Balance>
          <Total>double</Total>
          <Locked>boolean</Locked>
          <TaxInclusive>boolean</TaxInclusive>
          <Adjustments>
            <InvoiceAdjustment xsi:nil="true" />
            <InvoiceAdjustment xsi:nil="true" />
          </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 xsi:nil="true" />
            <TaxSummary xsi:nil="true" />
          </TaxSummariesReadOnly>
          <LeadNameReadOnly>string</LeadNameReadOnly>
          <Delete>boolean</Delete>
          <CustomFields>
            <Field xsi:nil="true" />
            <Field xsi:nil="true" />
          </CustomFields>
          <Tags>
            <Tag xsi:nil="true" />
            <Tag xsi:nil="true" />
          </Tags>
        </Invoice>
      </invs>
    </SetInvoicesFull>
  </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>
    <SetInvoicesFullResponse xmlns="http://schema.veetro.com">
      <SetInvoicesFullResult>
        <SetInvoicesResult>
          <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>
          <Success>boolean</Success>
          <Error>string</Error>
        </SetInvoicesResult>
        <SetInvoicesResult>
          <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>
          <Success>boolean</Success>
          <Error>string</Error>
        </SetInvoicesResult>
      </SetInvoicesFullResult>
    </SetInvoicesFullResponse>
  </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>
    <SetInvoicesFull xmlns="http://schema.veetro.com">
      <invs>
        <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 xsi:nil="true" />
            <InvoiceItem xsi:nil="true" />
          </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 xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <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 xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <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 xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <Subscriptions xsi:nil="true" />
            <RelatedBranches xsi:nil="true" />
          </Creator>
          <Balance>double</Balance>
          <Total>double</Total>
          <Locked>boolean</Locked>
          <TaxInclusive>boolean</TaxInclusive>
          <Adjustments>
            <InvoiceAdjustment xsi:nil="true" />
            <InvoiceAdjustment xsi:nil="true" />
          </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 xsi:nil="true" />
            <TaxSummary xsi:nil="true" />
          </TaxSummariesReadOnly>
          <LeadNameReadOnly>string</LeadNameReadOnly>
          <Delete>boolean</Delete>
          <CustomFields>
            <Field xsi:nil="true" />
            <Field xsi:nil="true" />
          </CustomFields>
          <Tags>
            <Tag xsi:nil="true" />
            <Tag xsi:nil="true" />
          </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 xsi:nil="true" />
            <InvoiceItem xsi:nil="true" />
          </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 xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <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 xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <AlternateWebsites xsi:nil="true" />
            <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 xsi:nil="true" />
            <CustomFields xsi:nil="true" />
            <Tags xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <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 xsi:nil="true" />
            <Subscriptions xsi:nil="true" />
            <RelatedBranches xsi:nil="true" />
          </Creator>
          <Balance>double</Balance>
          <Total>double</Total>
          <Locked>boolean</Locked>
          <TaxInclusive>boolean</TaxInclusive>
          <Adjustments>
            <InvoiceAdjustment xsi:nil="true" />
            <InvoiceAdjustment xsi:nil="true" />
          </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 xsi:nil="true" />
            <TaxSummary xsi:nil="true" />
          </TaxSummariesReadOnly>
          <LeadNameReadOnly>string</LeadNameReadOnly>
          <Delete>boolean</Delete>
          <CustomFields>
            <Field xsi:nil="true" />
            <Field xsi:nil="true" />
          </CustomFields>
          <Tags>
            <Tag xsi:nil="true" />
            <Tag xsi:nil="true" />
          </Tags>
        </Invoice>
      </invs>
    </SetInvoicesFull>
  </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>
    <SetInvoicesFullResponse xmlns="http://schema.veetro.com">
      <SetInvoicesFullResult>
        <SetInvoicesResult>
          <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>
          <Success>boolean</Success>
          <Error>string</Error>
        </SetInvoicesResult>
        <SetInvoicesResult>
          <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>
          <Success>boolean</Success>
          <Error>string</Error>
        </SetInvoicesResult>
      </SetInvoicesFullResult>
    </SetInvoicesFullResponse>
  </soap12:Body>
</soap12:Envelope>