List Sales Invoices

List sales invoices

GEThttps://apione.zwapgrid.com/accounting//api/v1/consents/{consentId}/salesinvoices
Path parameters
consentId*string (uuid)

The consent for which you wish to list invoices.

Query parameters
Header parameters
Response

Returns Invoices related to specific consent.

Body
metaPagedResultMetadataDto (object)
datanullable array of SalesInvoiceSummaryDto (object)
Request
const response = await fetch('https://apione.zwapgrid.com/accounting//api/v1/consents/{consentId}/salesinvoices', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "meta": {},
  "data": [
    {
      "id": "text",
      "reference": "text",
      "dueDate": "text",
      "issueDate": "text",
      "createdDateTime": "text",
      "modifiedDateTime": "text",
      "accountingCustomerParty": {
        "supplierAssignedAccountId": {
          "id": "text",
          "schemeId": "text"
        },
        "party": {
          "partyIdentification": [
            {
              "id": "text",
              "schemeId": "text"
            }
          ],
          "partyName": {
            "name": "text",
            "languageId": "text"
          }
        }
      },
      "notes": [
        {
          "text": "text",
          "languageId": "text"
        }
      ],
      "totalBalanceAmount": {
        "amount": 0,
        "currencyId": "text"
      },
      "legalMonetaryTotal": {
        "taxInclusiveAmount": {
          "amount": 0,
          "currencyId": "text"
        },
        "prepaidAmount": {
          "amount": 0,
          "currencyId": "text"
        },
        "payableRoundingAmount": {
          "amount": 0,
          "currencyId": "text"
        },
        "payableAmount": {
          "amount": 0,
          "currencyId": "text"
        }
      }
    }
  ]
}

Last updated