Lines

Beta: Add a custom line to an invoice

post

Add a custom line to an existing draft invoice.

The invoice must be in draft status. If the invoicing method requires mandatory invoice items, an invoice_item_uid must be provided.

Authorizations
AuthenticationstringRequired

Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.

Example of authenticated request

$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Path parameters
uidstring Β· uuidRequired
Body
descriptionstringOptional

Description of the invoice line.

Example: Custom service fee
quantitystring Β· decimalRequired

Quantity (up to 3 decimal places).

Example: 1.000
unit_pricestring Β· decimalRequired

Unit price (up to 4 decimal places).

Example: 25.0000
invoice_item_uidstring Β· uuid Β· nullableOptional

UID of the invoice item to associate with this line. Required when the invoicing method mandates invoice items.

Example: 687cddac-dbd2-11ea-9024-0242ac130006
Responses
post
/invoices/{uid}/lines/

No content

Last updated

Was this helpful?