InvoiceService


Click here for a complete list of operations.

UpdateInvoices

Updates an InvoiceOrder that has been Invoiced, valid update properties: InvoiceTitle, ReferenceNumber

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 /Economy/InvoiceOrder/V001/InvoiceService.asmx HTTP/1.1
Host: api.24sevenoffice.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://24sevenOffice.com/webservices/UpdateInvoices"

<?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>
    <UpdateInvoices xmlns="http://24sevenOffice.com/webservices">
      <invoices>
        <InvoiceOrder>
          <OrderId>int</OrderId>
          <CustomerId>int</CustomerId>
          <CustomerName>string</CustomerName>
          <CustomerDeliveryName>string</CustomerDeliveryName>
          <CustomerDeliveryPhone>string</CustomerDeliveryPhone>
          <Addresses>
            <Post xsi:nil="true" />
            <Delivery xsi:nil="true" />
            <Visit xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Addresses>
          <OrderStatus>None or Offer or Pack or Invoiced or Web or Repeating or CollectingOrder or Return or Distribution or Rest or ForInvoicing or OvertimeRent or Confirmed or OrderState_Sent or Production or PaymentReminder or OnAccount or Lending or InvoicedCashAccount or InvoicedPack or Inactive or Hours or OrderState_SuperStore or Draft</OrderStatus>
          <InvoiceId>int</InvoiceId>
          <DateOrdered>dateTime</DateOrdered>
          <DateInvoiced>dateTime</DateInvoiced>
          <DateChanged>dateTime</DateChanged>
          <PaymentTime>int</PaymentTime>
          <CustomerReferenceNo>string</CustomerReferenceNo>
          <ProjectId>int</ProjectId>
          <OurReference>int</OurReference>
          <IncludeVAT>boolean</IncludeVAT>
          <YourReference>string</YourReference>
          <OrderTotalIncVat>decimal</OrderTotalIncVat>
          <OrderTotalVat>decimal</OrderTotalVat>
          <InvoiceTitle>string</InvoiceTitle>
          <InvoiceText>string</InvoiceText>
          <Paid>dateTime</Paid>
          <OCR>string</OCR>
          <CustomerOrgNo>string</CustomerOrgNo>
          <Currency>
            <Rate>decimal</Rate>
            <Unit>short</Unit>
            <Symbol>string</Symbol>
          </Currency>
          <PaymentMethodId>int</PaymentMethodId>
          <PaymentAmount>decimal</PaymentAmount>
          <ProductionManagerId>int</ProductionManagerId>
          <SalesOpportunityId>int</SalesOpportunityId>
          <TypeOfSaleId>int</TypeOfSaleId>
          <Distributor>Default or Manual or Auto</Distributor>
          <DistributionMethod>Unchanged or Print or EMail or ElectronicInvoice</DistributionMethod>
          <DepartmentId>int</DepartmentId>
          <ExternalStatus>int</ExternalStatus>
          <InvoiceEmailAddress>string</InvoiceEmailAddress>
          <InvoiceRows>
            <InvoiceRow xsi:nil="true" />
            <InvoiceRow xsi:nil="true" />
          </InvoiceRows>
          <APIException>
            <Type>string</Type>
            <Message>string</Message>
            <StackTrace>string</StackTrace>
          </APIException>
          <ProductionNumber>string</ProductionNumber>
          <DeliveryDate>dateTime</DeliveryDate>
          <ReferenceInvoiceId>int</ReferenceInvoiceId>
          <ReferenceOrderId>int</ReferenceOrderId>
          <ReferenceNumber>string</ReferenceNumber>
          <SkipStock>boolean</SkipStock>
          <AccrualDate>dateTime</AccrualDate>
          <AccrualLength>int</AccrualLength>
          <RoundFactor>decimal</RoundFactor>
          <InvoiceTemplateId>guid</InvoiceTemplateId>
          <VippsNumber>string</VippsNumber>
          <DeliveryMethod>
            <Id>int</Id>
            <Description>string</Description>
          </DeliveryMethod>
          <DeliveryAlternative>string</DeliveryAlternative>
          <SendToFactoring>boolean</SendToFactoring>
          <Commission>decimal</Commission>
        </InvoiceOrder>
        <InvoiceOrder>
          <OrderId>int</OrderId>
          <CustomerId>int</CustomerId>
          <CustomerName>string</CustomerName>
          <CustomerDeliveryName>string</CustomerDeliveryName>
          <CustomerDeliveryPhone>string</CustomerDeliveryPhone>
          <Addresses>
            <Post xsi:nil="true" />
            <Delivery xsi:nil="true" />
            <Visit xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Addresses>
          <OrderStatus>None or Offer or Pack or Invoiced or Web or Repeating or CollectingOrder or Return or Distribution or Rest or ForInvoicing or OvertimeRent or Confirmed or OrderState_Sent or Production or PaymentReminder or OnAccount or Lending or InvoicedCashAccount or InvoicedPack or Inactive or Hours or OrderState_SuperStore or Draft</OrderStatus>
          <InvoiceId>int</InvoiceId>
          <DateOrdered>dateTime</DateOrdered>
          <DateInvoiced>dateTime</DateInvoiced>
          <DateChanged>dateTime</DateChanged>
          <PaymentTime>int</PaymentTime>
          <CustomerReferenceNo>string</CustomerReferenceNo>
          <ProjectId>int</ProjectId>
          <OurReference>int</OurReference>
          <IncludeVAT>boolean</IncludeVAT>
          <YourReference>string</YourReference>
          <OrderTotalIncVat>decimal</OrderTotalIncVat>
          <OrderTotalVat>decimal</OrderTotalVat>
          <InvoiceTitle>string</InvoiceTitle>
          <InvoiceText>string</InvoiceText>
          <Paid>dateTime</Paid>
          <OCR>string</OCR>
          <CustomerOrgNo>string</CustomerOrgNo>
          <Currency>
            <Rate>decimal</Rate>
            <Unit>short</Unit>
            <Symbol>string</Symbol>
          </Currency>
          <PaymentMethodId>int</PaymentMethodId>
          <PaymentAmount>decimal</PaymentAmount>
          <ProductionManagerId>int</ProductionManagerId>
          <SalesOpportunityId>int</SalesOpportunityId>
          <TypeOfSaleId>int</TypeOfSaleId>
          <Distributor>Default or Manual or Auto</Distributor>
          <DistributionMethod>Unchanged or Print or EMail or ElectronicInvoice</DistributionMethod>
          <DepartmentId>int</DepartmentId>
          <ExternalStatus>int</ExternalStatus>
          <InvoiceEmailAddress>string</InvoiceEmailAddress>
          <InvoiceRows>
            <InvoiceRow xsi:nil="true" />
            <InvoiceRow xsi:nil="true" />
          </InvoiceRows>
          <APIException>
            <Type>string</Type>
            <Message>string</Message>
            <StackTrace>string</StackTrace>
          </APIException>
          <ProductionNumber>string</ProductionNumber>
          <DeliveryDate>dateTime</DeliveryDate>
          <ReferenceInvoiceId>int</ReferenceInvoiceId>
          <ReferenceOrderId>int</ReferenceOrderId>
          <ReferenceNumber>string</ReferenceNumber>
          <SkipStock>boolean</SkipStock>
          <AccrualDate>dateTime</AccrualDate>
          <AccrualLength>int</AccrualLength>
          <RoundFactor>decimal</RoundFactor>
          <InvoiceTemplateId>guid</InvoiceTemplateId>
          <VippsNumber>string</VippsNumber>
          <DeliveryMethod>
            <Id>int</Id>
            <Description>string</Description>
          </DeliveryMethod>
          <DeliveryAlternative>string</DeliveryAlternative>
          <SendToFactoring>boolean</SendToFactoring>
          <Commission>decimal</Commission>
        </InvoiceOrder>
      </invoices>
    </UpdateInvoices>
  </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>
    <UpdateInvoicesResponse xmlns="http://24sevenOffice.com/webservices">
      <UpdateInvoicesResult>
        <InvoiceOrder>
          <OrderId>int</OrderId>
          <CustomerId>int</CustomerId>
          <CustomerName>string</CustomerName>
          <CustomerDeliveryName>string</CustomerDeliveryName>
          <CustomerDeliveryPhone>string</CustomerDeliveryPhone>
          <Addresses>
            <Post xsi:nil="true" />
            <Delivery xsi:nil="true" />
            <Visit xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Addresses>
          <OrderStatus>None or Offer or Pack or Invoiced or Web or Repeating or CollectingOrder or Return or Distribution or Rest or ForInvoicing or OvertimeRent or Confirmed or OrderState_Sent or Production or PaymentReminder or OnAccount or Lending or InvoicedCashAccount or InvoicedPack or Inactive or Hours or OrderState_SuperStore or Draft</OrderStatus>
          <InvoiceId>int</InvoiceId>
          <DateOrdered>dateTime</DateOrdered>
          <DateInvoiced>dateTime</DateInvoiced>
          <DateChanged>dateTime</DateChanged>
          <PaymentTime>int</PaymentTime>
          <CustomerReferenceNo>string</CustomerReferenceNo>
          <ProjectId>int</ProjectId>
          <OurReference>int</OurReference>
          <IncludeVAT>boolean</IncludeVAT>
          <YourReference>string</YourReference>
          <OrderTotalIncVat>decimal</OrderTotalIncVat>
          <OrderTotalVat>decimal</OrderTotalVat>
          <InvoiceTitle>string</InvoiceTitle>
          <InvoiceText>string</InvoiceText>
          <Paid>dateTime</Paid>
          <OCR>string</OCR>
          <CustomerOrgNo>string</CustomerOrgNo>
          <Currency>
            <Rate>decimal</Rate>
            <Unit>short</Unit>
            <Symbol>string</Symbol>
          </Currency>
          <PaymentMethodId>int</PaymentMethodId>
          <PaymentAmount>decimal</PaymentAmount>
          <ProductionManagerId>int</ProductionManagerId>
          <SalesOpportunityId>int</SalesOpportunityId>
          <TypeOfSaleId>int</TypeOfSaleId>
          <Distributor>Default or Manual or Auto</Distributor>
          <DistributionMethod>Unchanged or Print or EMail or ElectronicInvoice</DistributionMethod>
          <DepartmentId>int</DepartmentId>
          <ExternalStatus>int</ExternalStatus>
          <InvoiceEmailAddress>string</InvoiceEmailAddress>
          <InvoiceRows>
            <InvoiceRow xsi:nil="true" />
            <InvoiceRow xsi:nil="true" />
          </InvoiceRows>
          <APIException>
            <Type>string</Type>
            <Message>string</Message>
            <StackTrace>string</StackTrace>
          </APIException>
          <ProductionNumber>string</ProductionNumber>
          <DeliveryDate>dateTime</DeliveryDate>
          <ReferenceInvoiceId>int</ReferenceInvoiceId>
          <ReferenceOrderId>int</ReferenceOrderId>
          <ReferenceNumber>string</ReferenceNumber>
          <SkipStock>boolean</SkipStock>
          <AccrualDate>dateTime</AccrualDate>
          <AccrualLength>int</AccrualLength>
          <RoundFactor>decimal</RoundFactor>
          <InvoiceTemplateId>guid</InvoiceTemplateId>
          <VippsNumber>string</VippsNumber>
          <DeliveryMethod>
            <Id>int</Id>
            <Description>string</Description>
          </DeliveryMethod>
          <DeliveryAlternative>string</DeliveryAlternative>
          <SendToFactoring>boolean</SendToFactoring>
          <Commission>decimal</Commission>
        </InvoiceOrder>
        <InvoiceOrder>
          <OrderId>int</OrderId>
          <CustomerId>int</CustomerId>
          <CustomerName>string</CustomerName>
          <CustomerDeliveryName>string</CustomerDeliveryName>
          <CustomerDeliveryPhone>string</CustomerDeliveryPhone>
          <Addresses>
            <Post xsi:nil="true" />
            <Delivery xsi:nil="true" />
            <Visit xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Addresses>
          <OrderStatus>None or Offer or Pack or Invoiced or Web or Repeating or CollectingOrder or Return or Distribution or Rest or ForInvoicing or OvertimeRent or Confirmed or OrderState_Sent or Production or PaymentReminder or OnAccount or Lending or InvoicedCashAccount or InvoicedPack or Inactive or Hours or OrderState_SuperStore or Draft</OrderStatus>
          <InvoiceId>int</InvoiceId>
          <DateOrdered>dateTime</DateOrdered>
          <DateInvoiced>dateTime</DateInvoiced>
          <DateChanged>dateTime</DateChanged>
          <PaymentTime>int</PaymentTime>
          <CustomerReferenceNo>string</CustomerReferenceNo>
          <ProjectId>int</ProjectId>
          <OurReference>int</OurReference>
          <IncludeVAT>boolean</IncludeVAT>
          <YourReference>string</YourReference>
          <OrderTotalIncVat>decimal</OrderTotalIncVat>
          <OrderTotalVat>decimal</OrderTotalVat>
          <InvoiceTitle>string</InvoiceTitle>
          <InvoiceText>string</InvoiceText>
          <Paid>dateTime</Paid>
          <OCR>string</OCR>
          <CustomerOrgNo>string</CustomerOrgNo>
          <Currency>
            <Rate>decimal</Rate>
            <Unit>short</Unit>
            <Symbol>string</Symbol>
          </Currency>
          <PaymentMethodId>int</PaymentMethodId>
          <PaymentAmount>decimal</PaymentAmount>
          <ProductionManagerId>int</ProductionManagerId>
          <SalesOpportunityId>int</SalesOpportunityId>
          <TypeOfSaleId>int</TypeOfSaleId>
          <Distributor>Default or Manual or Auto</Distributor>
          <DistributionMethod>Unchanged or Print or EMail or ElectronicInvoice</DistributionMethod>
          <DepartmentId>int</DepartmentId>
          <ExternalStatus>int</ExternalStatus>
          <InvoiceEmailAddress>string</InvoiceEmailAddress>
          <InvoiceRows>
            <InvoiceRow xsi:nil="true" />
            <InvoiceRow xsi:nil="true" />
          </InvoiceRows>
          <APIException>
            <Type>string</Type>
            <Message>string</Message>
            <StackTrace>string</StackTrace>
          </APIException>
          <ProductionNumber>string</ProductionNumber>
          <DeliveryDate>dateTime</DeliveryDate>
          <ReferenceInvoiceId>int</ReferenceInvoiceId>
          <ReferenceOrderId>int</ReferenceOrderId>
          <ReferenceNumber>string</ReferenceNumber>
          <SkipStock>boolean</SkipStock>
          <AccrualDate>dateTime</AccrualDate>
          <AccrualLength>int</AccrualLength>
          <RoundFactor>decimal</RoundFactor>
          <InvoiceTemplateId>guid</InvoiceTemplateId>
          <VippsNumber>string</VippsNumber>
          <DeliveryMethod>
            <Id>int</Id>
            <Description>string</Description>
          </DeliveryMethod>
          <DeliveryAlternative>string</DeliveryAlternative>
          <SendToFactoring>boolean</SendToFactoring>
          <Commission>decimal</Commission>
        </InvoiceOrder>
      </UpdateInvoicesResult>
    </UpdateInvoicesResponse>
  </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 /Economy/InvoiceOrder/V001/InvoiceService.asmx HTTP/1.1
Host: api.24sevenoffice.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>
    <UpdateInvoices xmlns="http://24sevenOffice.com/webservices">
      <invoices>
        <InvoiceOrder>
          <OrderId>int</OrderId>
          <CustomerId>int</CustomerId>
          <CustomerName>string</CustomerName>
          <CustomerDeliveryName>string</CustomerDeliveryName>
          <CustomerDeliveryPhone>string</CustomerDeliveryPhone>
          <Addresses>
            <Post xsi:nil="true" />
            <Delivery xsi:nil="true" />
            <Visit xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Addresses>
          <OrderStatus>None or Offer or Pack or Invoiced or Web or Repeating or CollectingOrder or Return or Distribution or Rest or ForInvoicing or OvertimeRent or Confirmed or OrderState_Sent or Production or PaymentReminder or OnAccount or Lending or InvoicedCashAccount or InvoicedPack or Inactive or Hours or OrderState_SuperStore or Draft</OrderStatus>
          <InvoiceId>int</InvoiceId>
          <DateOrdered>dateTime</DateOrdered>
          <DateInvoiced>dateTime</DateInvoiced>
          <DateChanged>dateTime</DateChanged>
          <PaymentTime>int</PaymentTime>
          <CustomerReferenceNo>string</CustomerReferenceNo>
          <ProjectId>int</ProjectId>
          <OurReference>int</OurReference>
          <IncludeVAT>boolean</IncludeVAT>
          <YourReference>string</YourReference>
          <OrderTotalIncVat>decimal</OrderTotalIncVat>
          <OrderTotalVat>decimal</OrderTotalVat>
          <InvoiceTitle>string</InvoiceTitle>
          <InvoiceText>string</InvoiceText>
          <Paid>dateTime</Paid>
          <OCR>string</OCR>
          <CustomerOrgNo>string</CustomerOrgNo>
          <Currency>
            <Rate>decimal</Rate>
            <Unit>short</Unit>
            <Symbol>string</Symbol>
          </Currency>
          <PaymentMethodId>int</PaymentMethodId>
          <PaymentAmount>decimal</PaymentAmount>
          <ProductionManagerId>int</ProductionManagerId>
          <SalesOpportunityId>int</SalesOpportunityId>
          <TypeOfSaleId>int</TypeOfSaleId>
          <Distributor>Default or Manual or Auto</Distributor>
          <DistributionMethod>Unchanged or Print or EMail or ElectronicInvoice</DistributionMethod>
          <DepartmentId>int</DepartmentId>
          <ExternalStatus>int</ExternalStatus>
          <InvoiceEmailAddress>string</InvoiceEmailAddress>
          <InvoiceRows>
            <InvoiceRow xsi:nil="true" />
            <InvoiceRow xsi:nil="true" />
          </InvoiceRows>
          <APIException>
            <Type>string</Type>
            <Message>string</Message>
            <StackTrace>string</StackTrace>
          </APIException>
          <ProductionNumber>string</ProductionNumber>
          <DeliveryDate>dateTime</DeliveryDate>
          <ReferenceInvoiceId>int</ReferenceInvoiceId>
          <ReferenceOrderId>int</ReferenceOrderId>
          <ReferenceNumber>string</ReferenceNumber>
          <SkipStock>boolean</SkipStock>
          <AccrualDate>dateTime</AccrualDate>
          <AccrualLength>int</AccrualLength>
          <RoundFactor>decimal</RoundFactor>
          <InvoiceTemplateId>guid</InvoiceTemplateId>
          <VippsNumber>string</VippsNumber>
          <DeliveryMethod>
            <Id>int</Id>
            <Description>string</Description>
          </DeliveryMethod>
          <DeliveryAlternative>string</DeliveryAlternative>
          <SendToFactoring>boolean</SendToFactoring>
          <Commission>decimal</Commission>
        </InvoiceOrder>
        <InvoiceOrder>
          <OrderId>int</OrderId>
          <CustomerId>int</CustomerId>
          <CustomerName>string</CustomerName>
          <CustomerDeliveryName>string</CustomerDeliveryName>
          <CustomerDeliveryPhone>string</CustomerDeliveryPhone>
          <Addresses>
            <Post xsi:nil="true" />
            <Delivery xsi:nil="true" />
            <Visit xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Addresses>
          <OrderStatus>None or Offer or Pack or Invoiced or Web or Repeating or CollectingOrder or Return or Distribution or Rest or ForInvoicing or OvertimeRent or Confirmed or OrderState_Sent or Production or PaymentReminder or OnAccount or Lending or InvoicedCashAccount or InvoicedPack or Inactive or Hours or OrderState_SuperStore or Draft</OrderStatus>
          <InvoiceId>int</InvoiceId>
          <DateOrdered>dateTime</DateOrdered>
          <DateInvoiced>dateTime</DateInvoiced>
          <DateChanged>dateTime</DateChanged>
          <PaymentTime>int</PaymentTime>
          <CustomerReferenceNo>string</CustomerReferenceNo>
          <ProjectId>int</ProjectId>
          <OurReference>int</OurReference>
          <IncludeVAT>boolean</IncludeVAT>
          <YourReference>string</YourReference>
          <OrderTotalIncVat>decimal</OrderTotalIncVat>
          <OrderTotalVat>decimal</OrderTotalVat>
          <InvoiceTitle>string</InvoiceTitle>
          <InvoiceText>string</InvoiceText>
          <Paid>dateTime</Paid>
          <OCR>string</OCR>
          <CustomerOrgNo>string</CustomerOrgNo>
          <Currency>
            <Rate>decimal</Rate>
            <Unit>short</Unit>
            <Symbol>string</Symbol>
          </Currency>
          <PaymentMethodId>int</PaymentMethodId>
          <PaymentAmount>decimal</PaymentAmount>
          <ProductionManagerId>int</ProductionManagerId>
          <SalesOpportunityId>int</SalesOpportunityId>
          <TypeOfSaleId>int</TypeOfSaleId>
          <Distributor>Default or Manual or Auto</Distributor>
          <DistributionMethod>Unchanged or Print or EMail or ElectronicInvoice</DistributionMethod>
          <DepartmentId>int</DepartmentId>
          <ExternalStatus>int</ExternalStatus>
          <InvoiceEmailAddress>string</InvoiceEmailAddress>
          <InvoiceRows>
            <InvoiceRow xsi:nil="true" />
            <InvoiceRow xsi:nil="true" />
          </InvoiceRows>
          <APIException>
            <Type>string</Type>
            <Message>string</Message>
            <StackTrace>string</StackTrace>
          </APIException>
          <ProductionNumber>string</ProductionNumber>
          <DeliveryDate>dateTime</DeliveryDate>
          <ReferenceInvoiceId>int</ReferenceInvoiceId>
          <ReferenceOrderId>int</ReferenceOrderId>
          <ReferenceNumber>string</ReferenceNumber>
          <SkipStock>boolean</SkipStock>
          <AccrualDate>dateTime</AccrualDate>
          <AccrualLength>int</AccrualLength>
          <RoundFactor>decimal</RoundFactor>
          <InvoiceTemplateId>guid</InvoiceTemplateId>
          <VippsNumber>string</VippsNumber>
          <DeliveryMethod>
            <Id>int</Id>
            <Description>string</Description>
          </DeliveryMethod>
          <DeliveryAlternative>string</DeliveryAlternative>
          <SendToFactoring>boolean</SendToFactoring>
          <Commission>decimal</Commission>
        </InvoiceOrder>
      </invoices>
    </UpdateInvoices>
  </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>
    <UpdateInvoicesResponse xmlns="http://24sevenOffice.com/webservices">
      <UpdateInvoicesResult>
        <InvoiceOrder>
          <OrderId>int</OrderId>
          <CustomerId>int</CustomerId>
          <CustomerName>string</CustomerName>
          <CustomerDeliveryName>string</CustomerDeliveryName>
          <CustomerDeliveryPhone>string</CustomerDeliveryPhone>
          <Addresses>
            <Post xsi:nil="true" />
            <Delivery xsi:nil="true" />
            <Visit xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Addresses>
          <OrderStatus>None or Offer or Pack or Invoiced or Web or Repeating or CollectingOrder or Return or Distribution or Rest or ForInvoicing or OvertimeRent or Confirmed or OrderState_Sent or Production or PaymentReminder or OnAccount or Lending or InvoicedCashAccount or InvoicedPack or Inactive or Hours or OrderState_SuperStore or Draft</OrderStatus>
          <InvoiceId>int</InvoiceId>
          <DateOrdered>dateTime</DateOrdered>
          <DateInvoiced>dateTime</DateInvoiced>
          <DateChanged>dateTime</DateChanged>
          <PaymentTime>int</PaymentTime>
          <CustomerReferenceNo>string</CustomerReferenceNo>
          <ProjectId>int</ProjectId>
          <OurReference>int</OurReference>
          <IncludeVAT>boolean</IncludeVAT>
          <YourReference>string</YourReference>
          <OrderTotalIncVat>decimal</OrderTotalIncVat>
          <OrderTotalVat>decimal</OrderTotalVat>
          <InvoiceTitle>string</InvoiceTitle>
          <InvoiceText>string</InvoiceText>
          <Paid>dateTime</Paid>
          <OCR>string</OCR>
          <CustomerOrgNo>string</CustomerOrgNo>
          <Currency>
            <Rate>decimal</Rate>
            <Unit>short</Unit>
            <Symbol>string</Symbol>
          </Currency>
          <PaymentMethodId>int</PaymentMethodId>
          <PaymentAmount>decimal</PaymentAmount>
          <ProductionManagerId>int</ProductionManagerId>
          <SalesOpportunityId>int</SalesOpportunityId>
          <TypeOfSaleId>int</TypeOfSaleId>
          <Distributor>Default or Manual or Auto</Distributor>
          <DistributionMethod>Unchanged or Print or EMail or ElectronicInvoice</DistributionMethod>
          <DepartmentId>int</DepartmentId>
          <ExternalStatus>int</ExternalStatus>
          <InvoiceEmailAddress>string</InvoiceEmailAddress>
          <InvoiceRows>
            <InvoiceRow xsi:nil="true" />
            <InvoiceRow xsi:nil="true" />
          </InvoiceRows>
          <APIException>
            <Type>string</Type>
            <Message>string</Message>
            <StackTrace>string</StackTrace>
          </APIException>
          <ProductionNumber>string</ProductionNumber>
          <DeliveryDate>dateTime</DeliveryDate>
          <ReferenceInvoiceId>int</ReferenceInvoiceId>
          <ReferenceOrderId>int</ReferenceOrderId>
          <ReferenceNumber>string</ReferenceNumber>
          <SkipStock>boolean</SkipStock>
          <AccrualDate>dateTime</AccrualDate>
          <AccrualLength>int</AccrualLength>
          <RoundFactor>decimal</RoundFactor>
          <InvoiceTemplateId>guid</InvoiceTemplateId>
          <VippsNumber>string</VippsNumber>
          <DeliveryMethod>
            <Id>int</Id>
            <Description>string</Description>
          </DeliveryMethod>
          <DeliveryAlternative>string</DeliveryAlternative>
          <SendToFactoring>boolean</SendToFactoring>
          <Commission>decimal</Commission>
        </InvoiceOrder>
        <InvoiceOrder>
          <OrderId>int</OrderId>
          <CustomerId>int</CustomerId>
          <CustomerName>string</CustomerName>
          <CustomerDeliveryName>string</CustomerDeliveryName>
          <CustomerDeliveryPhone>string</CustomerDeliveryPhone>
          <Addresses>
            <Post xsi:nil="true" />
            <Delivery xsi:nil="true" />
            <Visit xsi:nil="true" />
            <Invoice xsi:nil="true" />
          </Addresses>
          <OrderStatus>None or Offer or Pack or Invoiced or Web or Repeating or CollectingOrder or Return or Distribution or Rest or ForInvoicing or OvertimeRent or Confirmed or OrderState_Sent or Production or PaymentReminder or OnAccount or Lending or InvoicedCashAccount or InvoicedPack or Inactive or Hours or OrderState_SuperStore or Draft</OrderStatus>
          <InvoiceId>int</InvoiceId>
          <DateOrdered>dateTime</DateOrdered>
          <DateInvoiced>dateTime</DateInvoiced>
          <DateChanged>dateTime</DateChanged>
          <PaymentTime>int</PaymentTime>
          <CustomerReferenceNo>string</CustomerReferenceNo>
          <ProjectId>int</ProjectId>
          <OurReference>int</OurReference>
          <IncludeVAT>boolean</IncludeVAT>
          <YourReference>string</YourReference>
          <OrderTotalIncVat>decimal</OrderTotalIncVat>
          <OrderTotalVat>decimal</OrderTotalVat>
          <InvoiceTitle>string</InvoiceTitle>
          <InvoiceText>string</InvoiceText>
          <Paid>dateTime</Paid>
          <OCR>string</OCR>
          <CustomerOrgNo>string</CustomerOrgNo>
          <Currency>
            <Rate>decimal</Rate>
            <Unit>short</Unit>
            <Symbol>string</Symbol>
          </Currency>
          <PaymentMethodId>int</PaymentMethodId>
          <PaymentAmount>decimal</PaymentAmount>
          <ProductionManagerId>int</ProductionManagerId>
          <SalesOpportunityId>int</SalesOpportunityId>
          <TypeOfSaleId>int</TypeOfSaleId>
          <Distributor>Default or Manual or Auto</Distributor>
          <DistributionMethod>Unchanged or Print or EMail or ElectronicInvoice</DistributionMethod>
          <DepartmentId>int</DepartmentId>
          <ExternalStatus>int</ExternalStatus>
          <InvoiceEmailAddress>string</InvoiceEmailAddress>
          <InvoiceRows>
            <InvoiceRow xsi:nil="true" />
            <InvoiceRow xsi:nil="true" />
          </InvoiceRows>
          <APIException>
            <Type>string</Type>
            <Message>string</Message>
            <StackTrace>string</StackTrace>
          </APIException>
          <ProductionNumber>string</ProductionNumber>
          <DeliveryDate>dateTime</DeliveryDate>
          <ReferenceInvoiceId>int</ReferenceInvoiceId>
          <ReferenceOrderId>int</ReferenceOrderId>
          <ReferenceNumber>string</ReferenceNumber>
          <SkipStock>boolean</SkipStock>
          <AccrualDate>dateTime</AccrualDate>
          <AccrualLength>int</AccrualLength>
          <RoundFactor>decimal</RoundFactor>
          <InvoiceTemplateId>guid</InvoiceTemplateId>
          <VippsNumber>string</VippsNumber>
          <DeliveryMethod>
            <Id>int</Id>
            <Description>string</Description>
          </DeliveryMethod>
          <DeliveryAlternative>string</DeliveryAlternative>
          <SendToFactoring>boolean</SendToFactoring>
          <Commission>decimal</Commission>
        </InvoiceOrder>
      </UpdateInvoicesResult>
    </UpdateInvoicesResponse>
  </soap12:Body>
</soap12:Envelope>