Skip to navigation

Post Invoice

View as Markdown

Posts an approved invoice to the ledger.

Requires the can_post_sales_invoice permission on the key owner’s role.

Keys: secret key only.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

identitystring
The identity for the active workspace.

Path parameters

idstringRequired
Invoice ID.

Request

This endpoint expects an object.
due_datedatetimeOptional
debit_account_idstringOptionalformat: "uuid"

Response

OK
dataobject
statusboolean
messagestring

Errors

401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error