Skip to content

getApOpenForSuppliers

READ

The open payable documents of the suppliers named, one row per supplier holding its documents, as getArOpenForCustomers reads customers'.

POST /api/v1/invoicing/getApOpenForSuppliers
curl -X POST '<your-host>/api/v1/invoicing/getApOpenForSuppliers' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "asOfDate": "string",
    "supplierIds": []
  }'
Response
{
  "results": [
    {
      "documents": "…",
      "supplierId": "string"
    }
  ],
  "count": null
}

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "asOfDate": {
      "type": "string"
    },
    "supplierIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "asOfDate",
    "supplierIds"
  ]
}