TransactionService


Click here for a complete list of operations.

GetTransactions

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/Accounting/V001/TransactionService.asmx HTTP/1.1
Host: api.24sevenoffice.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://24sevenoffice.com/webservices/economy/accounting/GetTransactions"

<?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>
    <GetTransactions xmlns="http://24sevenoffice.com/webservices/economy/accounting/">
      <searchParams>
        <DateSearchParameters>EntryDate or DateChangedUTC</DateSearchParameters>
        <ShowOpenEntries>boolean</ShowOpenEntries>
        <LinkId>int</LinkId>
        <DateStart>dateTime</DateStart>
        <DateEnd>dateTime</DateEnd>
        <ProjectId>int</ProjectId>
        <CustomerId>int</CustomerId>
        <DepartmentId>int</DepartmentId>
        <AccountNoStart>short</AccountNoStart>
        <AccountNoEnd>short</AccountNoEnd>
        <TransactionNoStart>int</TransactionNoStart>
        <TransactionNoEnd>int</TransactionNoEnd>
        <TransactionTypeId>int</TransactionTypeId>
        <SystemType>InvoiceCustomer or CreditnoteCustomer or DifferenceOutbound or Disbursment or InvoiceSupplier or CreditnoteSupplier or Payment or DifferenceInbound or Miscellaneous or CashSale or ReminderFee or ReminderNote</SystemType>
        <RegisteredAfter>dateTime</RegisteredAfter>
        <HasInvoiceId>boolean</HasInvoiceId>
        <InvoiceNo>string</InvoiceNo>
        <VatCode>short</VatCode>
      </searchParams>
    </GetTransactions>
  </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>
    <GetTransactionsResponse xmlns="http://24sevenoffice.com/webservices/economy/accounting/">
      <GetTransactionsResult>
        <Transaction>
          <Date>dateTime</Date>
          <AccountNo>short</AccountNo>
          <Currency>string</Currency>
          <CurrencyRate>decimal</CurrencyRate>
          <CurrencyUnit>short</CurrencyUnit>
          <Amount>decimal</Amount>
          <StampNo>int</StampNo>
          <Period>unsignedByte</Period>
          <TransactionTypeId>int</TransactionTypeId>
          <Comment>string</Comment>
          <TransactionNo>int</TransactionNo>
          <VatCode>short</VatCode>
          <Id>guid</Id>
          <LinkId>int</LinkId>
          <InvoiceNo>string</InvoiceNo>
          <SequenceNo>short</SequenceNo>
          <SystemType>InvoiceCustomer or CreditnoteCustomer or DifferenceOutbound or Disbursment or InvoiceSupplier or CreditnoteSupplier or Payment or DifferenceInbound or Miscellaneous or CashSale or ReminderFee or ReminderNote</SystemType>
          <DueDate>dateTime</DueDate>
          <Dimensions>
            <Dimension xsi:nil="true" />
            <Dimension xsi:nil="true" />
          </Dimensions>
          <RegistrationDate>dateTime</RegistrationDate>
          <DateChanged>dateTime</DateChanged>
          <Hidden>boolean</Hidden>
          <Open>boolean</Open>
          <OCR>string</OCR>
          <VatDividend>decimal</VatDividend>
          <HasVatDividend>boolean</HasVatDividend>
          <PeriodDate>date</PeriodDate>
        </Transaction>
        <Transaction>
          <Date>dateTime</Date>
          <AccountNo>short</AccountNo>
          <Currency>string</Currency>
          <CurrencyRate>decimal</CurrencyRate>
          <CurrencyUnit>short</CurrencyUnit>
          <Amount>decimal</Amount>
          <StampNo>int</StampNo>
          <Period>unsignedByte</Period>
          <TransactionTypeId>int</TransactionTypeId>
          <Comment>string</Comment>
          <TransactionNo>int</TransactionNo>
          <VatCode>short</VatCode>
          <Id>guid</Id>
          <LinkId>int</LinkId>
          <InvoiceNo>string</InvoiceNo>
          <SequenceNo>short</SequenceNo>
          <SystemType>InvoiceCustomer or CreditnoteCustomer or DifferenceOutbound or Disbursment or InvoiceSupplier or CreditnoteSupplier or Payment or DifferenceInbound or Miscellaneous or CashSale or ReminderFee or ReminderNote</SystemType>
          <DueDate>dateTime</DueDate>
          <Dimensions>
            <Dimension xsi:nil="true" />
            <Dimension xsi:nil="true" />
          </Dimensions>
          <RegistrationDate>dateTime</RegistrationDate>
          <DateChanged>dateTime</DateChanged>
          <Hidden>boolean</Hidden>
          <Open>boolean</Open>
          <OCR>string</OCR>
          <VatDividend>decimal</VatDividend>
          <HasVatDividend>boolean</HasVatDividend>
          <PeriodDate>date</PeriodDate>
        </Transaction>
      </GetTransactionsResult>
    </GetTransactionsResponse>
  </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/Accounting/V001/TransactionService.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>
    <GetTransactions xmlns="http://24sevenoffice.com/webservices/economy/accounting/">
      <searchParams>
        <DateSearchParameters>EntryDate or DateChangedUTC</DateSearchParameters>
        <ShowOpenEntries>boolean</ShowOpenEntries>
        <LinkId>int</LinkId>
        <DateStart>dateTime</DateStart>
        <DateEnd>dateTime</DateEnd>
        <ProjectId>int</ProjectId>
        <CustomerId>int</CustomerId>
        <DepartmentId>int</DepartmentId>
        <AccountNoStart>short</AccountNoStart>
        <AccountNoEnd>short</AccountNoEnd>
        <TransactionNoStart>int</TransactionNoStart>
        <TransactionNoEnd>int</TransactionNoEnd>
        <TransactionTypeId>int</TransactionTypeId>
        <SystemType>InvoiceCustomer or CreditnoteCustomer or DifferenceOutbound or Disbursment or InvoiceSupplier or CreditnoteSupplier or Payment or DifferenceInbound or Miscellaneous or CashSale or ReminderFee or ReminderNote</SystemType>
        <RegisteredAfter>dateTime</RegisteredAfter>
        <HasInvoiceId>boolean</HasInvoiceId>
        <InvoiceNo>string</InvoiceNo>
        <VatCode>short</VatCode>
      </searchParams>
    </GetTransactions>
  </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>
    <GetTransactionsResponse xmlns="http://24sevenoffice.com/webservices/economy/accounting/">
      <GetTransactionsResult>
        <Transaction>
          <Date>dateTime</Date>
          <AccountNo>short</AccountNo>
          <Currency>string</Currency>
          <CurrencyRate>decimal</CurrencyRate>
          <CurrencyUnit>short</CurrencyUnit>
          <Amount>decimal</Amount>
          <StampNo>int</StampNo>
          <Period>unsignedByte</Period>
          <TransactionTypeId>int</TransactionTypeId>
          <Comment>string</Comment>
          <TransactionNo>int</TransactionNo>
          <VatCode>short</VatCode>
          <Id>guid</Id>
          <LinkId>int</LinkId>
          <InvoiceNo>string</InvoiceNo>
          <SequenceNo>short</SequenceNo>
          <SystemType>InvoiceCustomer or CreditnoteCustomer or DifferenceOutbound or Disbursment or InvoiceSupplier or CreditnoteSupplier or Payment or DifferenceInbound or Miscellaneous or CashSale or ReminderFee or ReminderNote</SystemType>
          <DueDate>dateTime</DueDate>
          <Dimensions>
            <Dimension xsi:nil="true" />
            <Dimension xsi:nil="true" />
          </Dimensions>
          <RegistrationDate>dateTime</RegistrationDate>
          <DateChanged>dateTime</DateChanged>
          <Hidden>boolean</Hidden>
          <Open>boolean</Open>
          <OCR>string</OCR>
          <VatDividend>decimal</VatDividend>
          <HasVatDividend>boolean</HasVatDividend>
          <PeriodDate>date</PeriodDate>
        </Transaction>
        <Transaction>
          <Date>dateTime</Date>
          <AccountNo>short</AccountNo>
          <Currency>string</Currency>
          <CurrencyRate>decimal</CurrencyRate>
          <CurrencyUnit>short</CurrencyUnit>
          <Amount>decimal</Amount>
          <StampNo>int</StampNo>
          <Period>unsignedByte</Period>
          <TransactionTypeId>int</TransactionTypeId>
          <Comment>string</Comment>
          <TransactionNo>int</TransactionNo>
          <VatCode>short</VatCode>
          <Id>guid</Id>
          <LinkId>int</LinkId>
          <InvoiceNo>string</InvoiceNo>
          <SequenceNo>short</SequenceNo>
          <SystemType>InvoiceCustomer or CreditnoteCustomer or DifferenceOutbound or Disbursment or InvoiceSupplier or CreditnoteSupplier or Payment or DifferenceInbound or Miscellaneous or CashSale or ReminderFee or ReminderNote</SystemType>
          <DueDate>dateTime</DueDate>
          <Dimensions>
            <Dimension xsi:nil="true" />
            <Dimension xsi:nil="true" />
          </Dimensions>
          <RegistrationDate>dateTime</RegistrationDate>
          <DateChanged>dateTime</DateChanged>
          <Hidden>boolean</Hidden>
          <Open>boolean</Open>
          <OCR>string</OCR>
          <VatDividend>decimal</VatDividend>
          <HasVatDividend>boolean</HasVatDividend>
          <PeriodDate>date</PeriodDate>
        </Transaction>
      </GetTransactionsResult>
    </GetTransactionsResponse>
  </soap12:Body>
</soap12:Envelope>