Documents

Generate an invoice PDF

Generate a print-ready invoice PDF using the currently supported Ledger template. The beta supports invoice documents only.

post/api/v1/documents/pdf

Request

  • Base URL: https://invoicecraftly.com
  • URL: https://invoicecraftly.com/api/v1/documents/pdf
  • Auth: HTTP bearer

Request body

type'invoice' required

Only invoice is currently supported.

numberstring
issueDatestring date required
dueDatestring date
currencystring required
localestring
template'ledger'

Only Ledger is currently supported.

notesstring

Example request

{
  "currency": "USD",
  "locale": "en-US"
}

Response

Print-ready invoice PDF.

Changes

No recorded changes to this operation across all 1 revision of this API.