Invoicing

Create a draft invoice

Creates a draft invoice in the company base currency. Numbering and due-date defaulting are automatic; the invoice posts to the books only when sent.

post/invoices

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/invoices
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Request body

ensureCatalogItemsboolean

Create/reuse active catalog items with revenue accounts atomically with the draft

contactIdstring uuid required
issueDatestring date required
dueDatestring date

Defaults from the customer's payment terms

referencestring nullable
notesstring nullable
currencyCodestring

Must equal the company base currency

Response

Created draft invoice

Changes

No recorded changes to this operation across all 5 revisions of this API.