Xentral icon

Xentral

Interact with Xentral ERP API

Actions196

Credit Note → Get Many

AI-generated

Summary

Fetch multiple credit notes from Xentral with optional filters and control over the number of results returned.

Inputs

  • Return All — When true, retrieves all available credit notes; otherwise, limits the results to a specified number.
  • Limit — Maximum number of credit notes to return when 'Return All' is false; defaults to 50 with a range of 1 to 100.
  • Filters — Optional parameters to filter credit notes by status, customer ID, and creation date after a specific date.
  • Max Pages — Maximum number of API pages to fetch when returning all credit notes; each page may contain between 50 and 150 records. Defaults to 1000, adjustable to increase or limit API calls.

Output shape

a list of credit note records

The output includes credit notes matching the applied filters up to the limit or all available within the max pages. Each credit note contains its standard fields as defined by the Xentral API.

Examples

Example 1: Retrieve all released credit notes for a specific customer created since a given date.

Set 'Return All' to true, apply filters for 'Status' as 'Released', set 'Customer ID' to target customer, and 'Created After' date accordingly.

Example 2: Fetch up to 50 credit notes without filters.

Set 'Return All' to false and 'Limit' to 50 (default).

Links

Discussion