Download an debit note Ask AIget https://api.wafeq.com/v1/zatca/debit-notes/{id}/download/Downloads a single debit note.Path ParamsidstringrequiredThe unique identifier of the document.Query ParamsregeneratebooleanDefaults to falseIf true, the document will be regenerated before downloadtruefalsetypestringenumlength ≥ 1Defaults to pdfThe type of the download format pdf - Portable Document Format (PDF) format xml - Extensible Markup Language (XML) format pdfxmlAllowed:pdfxmlHeadersX-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 ofX-ZATCA-EnvironmentstringrequiredThe zatca environment to use, available options are ['production', 'simulation']Response 200Updated 5 months ago