GET api_v2/invoices?accountId={accountId}

Получить список счетов на оплату

Request Information

Parameters

NameDescriptionAdditional information
accountId
ID аккаунта запрашиваемых инвойсов

Define this parameter in the request URI.

query
Настройки пагинации, фильтрации и сортировки

Define this parameter in the request URI.

Response Information

Список счетов на оплату

Response body formats

application/xml, text/xml

Sample:
<SelectDataResultCommonDtoOfInvoiceInfoApiModel>
  <Records>
    <InvoiceInfoApiModel>
      <Id>646d0c7c-6e90-4335-91cd-28615b1a79f4</Id>
      <InvoiceDate>2022-05-22T06:42:32.2492273+03:00</InvoiceDate>
      <InvoiceSum>3</InvoiceSum>
      <Description>sample string 4</Description>
      <State>Processing</State>
      <ActDescription>sample string 5</ActDescription>
      <ActId>dec88c16-0208-4aa3-92c4-91195aed97dd</ActId>
      <IsNewInvoice>true</IsNewInvoice>
      <ReceiptFiscalNumber>sample string 7</ReceiptFiscalNumber>
      <Uniq>sample string 8</Uniq>
    </InvoiceInfoApiModel>
    <InvoiceInfoApiModel>
      <Id>646d0c7c-6e90-4335-91cd-28615b1a79f4</Id>
      <InvoiceDate>2022-05-22T06:42:32.2492273+03:00</InvoiceDate>
      <InvoiceSum>3</InvoiceSum>
      <Description>sample string 4</Description>
      <State>Processing</State>
      <ActDescription>sample string 5</ActDescription>
      <ActId>dec88c16-0208-4aa3-92c4-91195aed97dd</ActId>
      <IsNewInvoice>true</IsNewInvoice>
      <ReceiptFiscalNumber>sample string 7</ReceiptFiscalNumber>
      <Uniq>sample string 8</Uniq>
    </InvoiceInfoApiModel>
    <InvoiceInfoApiModel>
      <Id>646d0c7c-6e90-4335-91cd-28615b1a79f4</Id>
      <InvoiceDate>2022-05-22T06:42:32.2492273+03:00</InvoiceDate>
      <InvoiceSum>3</InvoiceSum>
      <Description>sample string 4</Description>
      <State>Processing</State>
      <ActDescription>sample string 5</ActDescription>
      <ActId>dec88c16-0208-4aa3-92c4-91195aed97dd</ActId>
      <IsNewInvoice>true</IsNewInvoice>
      <ReceiptFiscalNumber>sample string 7</ReceiptFiscalNumber>
      <Uniq>sample string 8</Uniq>
    </InvoiceInfoApiModel>
  </Records>
  <Pagination>
    <CurrentPage>1</CurrentPage>
    <Page>2</Page>
    <Size>3</Size>
    <TotalCount>4</TotalCount>
    <PageSize>5</PageSize>
    <FirstNumber>6</FirstNumber>
    <LastNumber>7</LastNumber>
    <PageCount>8</PageCount>
  </Pagination>
</SelectDataResultCommonDtoOfInvoiceInfoApiModel>

application/json, text/json

Sample:
{
  "Records": [
    {
      "Id": "646d0c7c-6e90-4335-91cd-28615b1a79f4",
      "InvoiceDate": "2022-05-22T06:42:32.2492273+03:00",
      "InvoiceSum": 3.0,
      "Description": "sample string 4",
      "State": 0,
      "ActDescription": "sample string 5",
      "ActId": "dec88c16-0208-4aa3-92c4-91195aed97dd",
      "IsNewInvoice": true,
      "ReceiptFiscalNumber": "sample string 7",
      "Uniq": "sample string 8"
    },
    {
      "Id": "646d0c7c-6e90-4335-91cd-28615b1a79f4",
      "InvoiceDate": "2022-05-22T06:42:32.2492273+03:00",
      "InvoiceSum": 3.0,
      "Description": "sample string 4",
      "State": 0,
      "ActDescription": "sample string 5",
      "ActId": "dec88c16-0208-4aa3-92c4-91195aed97dd",
      "IsNewInvoice": true,
      "ReceiptFiscalNumber": "sample string 7",
      "Uniq": "sample string 8"
    },
    {
      "Id": "646d0c7c-6e90-4335-91cd-28615b1a79f4",
      "InvoiceDate": "2022-05-22T06:42:32.2492273+03:00",
      "InvoiceSum": 3.0,
      "Description": "sample string 4",
      "State": 0,
      "ActDescription": "sample string 5",
      "ActId": "dec88c16-0208-4aa3-92c4-91195aed97dd",
      "IsNewInvoice": true,
      "ReceiptFiscalNumber": "sample string 7",
      "Uniq": "sample string 8"
    }
  ],
  "Pagination": {
    "CurrentPage": 1,
    "Page": 2,
    "Size": 3,
    "TotalCount": 4,
    "PageSize": 5,
    "FirstNumber": 6,
    "LastNumber": 7,
    "PageCount": 8
  }
}