Skip to main content

Export Vendor Credits

GET 

/api/vendor-credits/list/export

Download an Excel/CSV export of vendor credits.

Authentication: Requires Bearer token.

Response: a binary file download (xlsx or csv), NOT JSON. Columns: ID, Credit #, Supplier Ref, Supplier, PO #, Credit Date, Status, Payment Status, Warehouse, Currency, Tax Total, Total Credit, Allocated, Refunded, Remaining, Settled, Note, Created At.

Query params:

  • format: xlsx (default) or csv
  • scope: 'filtered' (default — respects the same filters as the list endpoint) or 'selected'
  • ids: comma-separated IDs (only when scope=selected)

Request

Responses

Successful response