List credit notes

get
https://api.wafeq.com/ae/v1/credit-notes

List the taxpayer's credit notes, tax credit notes (381) and commercial credit notes (81), newest first.

Includes credit notes it sent and received. Filter and page as on GET /invoices.

Query Params
string | null

outbound for documents the taxpayer sent, inbound for ones it received.

string | null

Only documents with this status.

string | null

Only documents with this delivery_status: queued, sending, retrying, attention_required, sent, received_by_ap, delivered_confirmed, forwarded, rejected, failed or not_applicable.

string | null

Only documents issued on or after this date, YYYY-MM-DD.

string | null

Only documents issued on or before this date, YYYY-MM-DD.

integerbetween 1 and 200Defaults to 50

How many documents to return: 1 to 200. Defaults to 50.

integer≥ 0Defaults to 0

How many documents to skip, for paging.

Headers
string | null
stringrequired

Taxpayer ID (txpay_…). Required with an organization API key (pk_…) for this taxpayer-specific operation, even for one taxpayer. Not a TIN. Optional with a taxpayer access token, which already names its taxpayer.

string | null

Grant ID (tgr_…) to act through, with an organization API key. The request then has exactly that grant's scopes and fails once the grant is revoked. Without it, the key acts through all of the organization's active grants on the taxpayer.

Response