Download a credit note PDF
GET
Byte-for-byte the document the dashboard serves. Shares the PDF rate budget with the invoice PDF.
apiToken invoices:readheader
AuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: invoices:read
id*integerThe credit note id, as returned by GET /v1/credit-notes.
The PDF.
response?fileapplication/pdfFormat
binarycurl -X GET 'https://api.deluxhost.net/v1/credit-notes/0/pdf' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"Example Response
"string"List credit notes GET
The documents that undo an invoice. **Read these if you are syncing invoices into your books**: a refund is a credit note plus a negative payment row, so an invoice list on its own counts refunded money as revenue. `totalCents` is POSITIVE — the direction is the document type, not the sign. Cursor-paginated like `/v1/invoices`.
Download an invoice PDF GET
Byte-for-byte the document the dashboard serves.