Copy PageReport a debit note posthttps://api.wafeq.com/v1/zatca/debit-notes/report/Reports a single debit note. Optionally, send the debit note using specified channels.Body ParamsThe payload to report a standard debit note to ZATCA and optionally send it to its recipients.channelsarray of objectslength ≤ 1The channels to send the documentAdd objectdocumentobjectrequiredThe document datadocument objectlanguagestringenumDefaults to enThe language of the document View the enum referencearenAllowed:arenmetadataobjectThe metadata of the document. Keys cannot contain . or start with $.metadata objectreferencestringThe reference of the documenttemplateobjectThe template of the document. Without an id, the PDF uses the default template set on the Templates page, or the standard template when there is none.template objectHeadersX-Wafeq-OrganizationstringThe id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.X-ZATCA-BranchstringIf the account is under a Group VAT, then it is required to be the TIN of the instance under the Group VAT. Otherwise it is optional and can be used as a branch nameX-ZATCA-Connected-Account-IdstringThe unique identifier of the connected account you're operating on behalf of. Connected accounts should be used only for Platforms and White Label integrations that onboard customers and report documents on their behalf. Omit the X-ZATCA-Connected-Account-Id header when registering devices or reporting documents for your own organization. See the Platforms and White Label guide. Connected accounts are part of the E-invoicing Platform Enterprise plan. Without it, production requests for a connected account are refused with enterprise_plan_required, and only a simulation API key can create or change a connected account, so you can build and test your integration before you contact sales.X-ZATCA-EnvironmentstringThe ZATCA environment to use, one of ['production', 'simulation']. A ZATCA API key (starting with zatca_live_ or zatca_sim_) already names its environment, so the header is optional with it and must match it when sent. Other API keys and OAuth tokens need it.Response201The document was created and reported/cleared to ZATCA successfully400The request was invalid or did not pass ZATCA validation rules403No active device found, environment header is missing or invalid424The request for reporting/clearing to ZATCA failed500Unexpected error occurred while processing the requestUpdated about 2 months agoBulk validate debit notes Validate a debit note