E-invoicing
Download a legal file of a credit note filing
Changed onReturn a short-lived URL that downloads one legal file of the e-invoice filing of the customer credit, such as the authority PDF or XML. Read the attachment_id from files on the filing. You need the customer credit view permission.
The request fails in these cases:
- The request fails with 404 when the customer credit has no filing, or when the filing does not hold that file.
- The request fails with 402 before it checks the permission, when the organization has no e-invoicing subscription and DualEntry did not file the customer credit.
get/public/v2/e-invoicing/customer-credits/{number}/files/{attachment_id}/
Request
- Base URL: https://api.dualentry.com
- URL: https://api.dualentry.com/public/v2/e-invoicing/customer-credits/{number}/files/{attachment_id}/
- Auth: none declared
Path parameters
numberinteger required
attachment_idinteger required
Response
OK
Changes
- info
endpoint added
- info