List sales invoices payments

List sales invoices payments

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

The consent for which you wish to list invoices payments.

Header parameters
Response

Returns Sales invoices payments related to specific consent.

Body
metaPagedResultMetadataDto (object)
datanullable array of InvoicePaymentDto (object)
Request
const response = await fetch('https://apione.zwapgrid.com/accounting//api/v1/consents/{consentId}/salesinvoices/payments', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "meta": {},
  "data": [
    {
      "id": "text",
      "paymentId": "text",
      "receivedDate": "text",
      "paidDate": "text",
      "bookedIndicator": false,
      "bookedDate": "text",
      "accountingAccount": {
        "id": "text",
        "accountingAccountId": "text",
        "name": "text",
        "description": {
          "text": "text",
          "languageId": "text"
        }
      },
      "billingReferences": [
        {
          "invoiceDocumentReferences": [
            {
              "id": "text",
              "schemeId": "text"
            }
          ]
        }
      ],
      "creditAmount": {
        "amount": 0,
        "currencyId": "text"
      },
      "debitAmount": {
        "amount": 0,
        "currencyId": "text"
      }
    }
  ]
}

Last updated