Skip to Content
Invoices

Book Invoice

Acceso

Miembro de la organización con este permiso:

  • invoices:book

Una clave API con scopes también necesita el permiso entre sus scopes.

POST
/orgs/{organizationId}/invoices/{id}/book

Books an invoice, transitioning it from draft to final state. With force: true, users with invoicing:correct may book offer-only extend-occupation lines. With ledgerBalanceOverride, users with invoicing:override-ledger-balance may take a customer's balance on a guarded ledger below zero; the motivation is recorded on the timeline.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

id*string

Request Body

application/json
  1. body
dueDateDays?integer
Range0 <= value <= 365
force?boolean
ledgerBalanceOverride?

Response Body

OK

application/json
  1. response
Example Request
curl -X POST 'https://api.tillor.eu/orgs//invoices/string/book' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
null