InvoiceService


Click here for a complete list of operations.

GetInvoiceFileList

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 /WAPI/InvoiceService.asmx HTTP/1.1
Host: support.cobraconto.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.cobraconto.net/webservices/wapi/GetInvoiceFileList"

<?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>
    <GetInvoiceFileList xmlns="http://www.cobraconto.net/webservices/wapi/">
      <auth>
        <User>string</User>
        <Password>string</Password>
      </auth>
      <transactionId>string</transactionId>
      <taxYearId>int</taxYearId>
    </GetInvoiceFileList>
  </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>
    <GetInvoiceFileListResponse xmlns="http://www.cobraconto.net/webservices/wapi/">
      <GetInvoiceFileListResult>
        <TransactionId>string</TransactionId>
        <InvoiceFiles>
          <Id>int</Id>
          <timestamp>base64Binary</timestamp>
          <AvatarId>int</AvatarId>
          <Name>string</Name>
          <TaxYear>
            <Id>int</Id>
            <timestamp>base64Binary</timestamp>
            <ParentTaxYearId>int</ParentTaxYearId>
            <CurrencyId>string</CurrencyId>
            <TaxCurrencyId>string</TaxCurrencyId>
            <Name>string</Name>
            <YearNum>int</YearNum>
            <StartDate>dateTime</StartDate>
            <EndDate>dateTime</EndDate>
            <VoucherFormat>int</VoucherFormat>
            <VoucherDigits>int</VoucherDigits>
            <VoucherSepFirst>string</VoucherSepFirst>
            <VoucherSepLast>string</VoucherSepLast>
            <IsClosed>boolean</IsClosed>
            <CurrencyEvaluationMode>int</CurrencyEvaluationMode>
            <CurrencyExchangeType>int</CurrencyExchangeType>
            <SalesExchanceType>int</SalesExchanceType>
            <BookingExchangeType>int</BookingExchangeType>
          </TaxYear>
          <DivisionId>int</DivisionId>
          <BankAccountMode>int</BankAccountMode>
          <FinanceReceivableFileId>int</FinanceReceivableFileId>
          <ContinousFulfilment>boolean</ContinousFulfilment>
          <ContinousFulfilmentStrict>boolean</ContinousFulfilmentStrict>
          <PartnerBinding>int</PartnerBinding>
          <InitialCounter>int</InitialCounter>
          <CurrentCounter>int</CurrentCounter>
          <VoucherSign>string</VoucherSign>
          <NullVoucherNum>string</NullVoucherNum>
          <IsClosed>boolean</IsClosed>
          <IsPOS>int</IsPOS>
          <DomesticTaxTypeId>int</DomesticTaxTypeId>
          <OtherTaxTypeId>int</OtherTaxTypeId>
          <EUTaxTypeId>int</EUTaxTypeId>
          <DomesticAccountId>int</DomesticAccountId>
          <OtherAccountId>int</OtherAccountId>
          <EUAccountId>int</EUAccountId>
          <DefaultTransactionTypeId>int</DefaultTransactionTypeId>
        </InvoiceFiles>
        <InvoiceFiles>
          <Id>int</Id>
          <timestamp>base64Binary</timestamp>
          <AvatarId>int</AvatarId>
          <Name>string</Name>
          <TaxYear>
            <Id>int</Id>
            <timestamp>base64Binary</timestamp>
            <ParentTaxYearId>int</ParentTaxYearId>
            <CurrencyId>string</CurrencyId>
            <TaxCurrencyId>string</TaxCurrencyId>
            <Name>string</Name>
            <YearNum>int</YearNum>
            <StartDate>dateTime</StartDate>
            <EndDate>dateTime</EndDate>
            <VoucherFormat>int</VoucherFormat>
            <VoucherDigits>int</VoucherDigits>
            <VoucherSepFirst>string</VoucherSepFirst>
            <VoucherSepLast>string</VoucherSepLast>
            <IsClosed>boolean</IsClosed>
            <CurrencyEvaluationMode>int</CurrencyEvaluationMode>
            <CurrencyExchangeType>int</CurrencyExchangeType>
            <SalesExchanceType>int</SalesExchanceType>
            <BookingExchangeType>int</BookingExchangeType>
          </TaxYear>
          <DivisionId>int</DivisionId>
          <BankAccountMode>int</BankAccountMode>
          <FinanceReceivableFileId>int</FinanceReceivableFileId>
          <ContinousFulfilment>boolean</ContinousFulfilment>
          <ContinousFulfilmentStrict>boolean</ContinousFulfilmentStrict>
          <PartnerBinding>int</PartnerBinding>
          <InitialCounter>int</InitialCounter>
          <CurrentCounter>int</CurrentCounter>
          <VoucherSign>string</VoucherSign>
          <NullVoucherNum>string</NullVoucherNum>
          <IsClosed>boolean</IsClosed>
          <IsPOS>int</IsPOS>
          <DomesticTaxTypeId>int</DomesticTaxTypeId>
          <OtherTaxTypeId>int</OtherTaxTypeId>
          <EUTaxTypeId>int</EUTaxTypeId>
          <DomesticAccountId>int</DomesticAccountId>
          <OtherAccountId>int</OtherAccountId>
          <EUAccountId>int</EUAccountId>
          <DefaultTransactionTypeId>int</DefaultTransactionTypeId>
        </InvoiceFiles>
      </GetInvoiceFileListResult>
    </GetInvoiceFileListResponse>
  </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 /WAPI/InvoiceService.asmx HTTP/1.1
Host: support.cobraconto.net
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>
    <GetInvoiceFileList xmlns="http://www.cobraconto.net/webservices/wapi/">
      <auth>
        <User>string</User>
        <Password>string</Password>
      </auth>
      <transactionId>string</transactionId>
      <taxYearId>int</taxYearId>
    </GetInvoiceFileList>
  </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>
    <GetInvoiceFileListResponse xmlns="http://www.cobraconto.net/webservices/wapi/">
      <GetInvoiceFileListResult>
        <TransactionId>string</TransactionId>
        <InvoiceFiles>
          <Id>int</Id>
          <timestamp>base64Binary</timestamp>
          <AvatarId>int</AvatarId>
          <Name>string</Name>
          <TaxYear>
            <Id>int</Id>
            <timestamp>base64Binary</timestamp>
            <ParentTaxYearId>int</ParentTaxYearId>
            <CurrencyId>string</CurrencyId>
            <TaxCurrencyId>string</TaxCurrencyId>
            <Name>string</Name>
            <YearNum>int</YearNum>
            <StartDate>dateTime</StartDate>
            <EndDate>dateTime</EndDate>
            <VoucherFormat>int</VoucherFormat>
            <VoucherDigits>int</VoucherDigits>
            <VoucherSepFirst>string</VoucherSepFirst>
            <VoucherSepLast>string</VoucherSepLast>
            <IsClosed>boolean</IsClosed>
            <CurrencyEvaluationMode>int</CurrencyEvaluationMode>
            <CurrencyExchangeType>int</CurrencyExchangeType>
            <SalesExchanceType>int</SalesExchanceType>
            <BookingExchangeType>int</BookingExchangeType>
          </TaxYear>
          <DivisionId>int</DivisionId>
          <BankAccountMode>int</BankAccountMode>
          <FinanceReceivableFileId>int</FinanceReceivableFileId>
          <ContinousFulfilment>boolean</ContinousFulfilment>
          <ContinousFulfilmentStrict>boolean</ContinousFulfilmentStrict>
          <PartnerBinding>int</PartnerBinding>
          <InitialCounter>int</InitialCounter>
          <CurrentCounter>int</CurrentCounter>
          <VoucherSign>string</VoucherSign>
          <NullVoucherNum>string</NullVoucherNum>
          <IsClosed>boolean</IsClosed>
          <IsPOS>int</IsPOS>
          <DomesticTaxTypeId>int</DomesticTaxTypeId>
          <OtherTaxTypeId>int</OtherTaxTypeId>
          <EUTaxTypeId>int</EUTaxTypeId>
          <DomesticAccountId>int</DomesticAccountId>
          <OtherAccountId>int</OtherAccountId>
          <EUAccountId>int</EUAccountId>
          <DefaultTransactionTypeId>int</DefaultTransactionTypeId>
        </InvoiceFiles>
        <InvoiceFiles>
          <Id>int</Id>
          <timestamp>base64Binary</timestamp>
          <AvatarId>int</AvatarId>
          <Name>string</Name>
          <TaxYear>
            <Id>int</Id>
            <timestamp>base64Binary</timestamp>
            <ParentTaxYearId>int</ParentTaxYearId>
            <CurrencyId>string</CurrencyId>
            <TaxCurrencyId>string</TaxCurrencyId>
            <Name>string</Name>
            <YearNum>int</YearNum>
            <StartDate>dateTime</StartDate>
            <EndDate>dateTime</EndDate>
            <VoucherFormat>int</VoucherFormat>
            <VoucherDigits>int</VoucherDigits>
            <VoucherSepFirst>string</VoucherSepFirst>
            <VoucherSepLast>string</VoucherSepLast>
            <IsClosed>boolean</IsClosed>
            <CurrencyEvaluationMode>int</CurrencyEvaluationMode>
            <CurrencyExchangeType>int</CurrencyExchangeType>
            <SalesExchanceType>int</SalesExchanceType>
            <BookingExchangeType>int</BookingExchangeType>
          </TaxYear>
          <DivisionId>int</DivisionId>
          <BankAccountMode>int</BankAccountMode>
          <FinanceReceivableFileId>int</FinanceReceivableFileId>
          <ContinousFulfilment>boolean</ContinousFulfilment>
          <ContinousFulfilmentStrict>boolean</ContinousFulfilmentStrict>
          <PartnerBinding>int</PartnerBinding>
          <InitialCounter>int</InitialCounter>
          <CurrentCounter>int</CurrentCounter>
          <VoucherSign>string</VoucherSign>
          <NullVoucherNum>string</NullVoucherNum>
          <IsClosed>boolean</IsClosed>
          <IsPOS>int</IsPOS>
          <DomesticTaxTypeId>int</DomesticTaxTypeId>
          <OtherTaxTypeId>int</OtherTaxTypeId>
          <EUTaxTypeId>int</EUTaxTypeId>
          <DomesticAccountId>int</DomesticAccountId>
          <OtherAccountId>int</OtherAccountId>
          <EUAccountId>int</EUAccountId>
          <DefaultTransactionTypeId>int</DefaultTransactionTypeId>
        </InvoiceFiles>
      </GetInvoiceFileListResult>
    </GetInvoiceFileListResponse>
  </soap12:Body>
</soap12:Envelope>