Skip to main content
POST
Add an additional charge to an invoice

Authorizations

X-API-KEY
string
header
required

API Key Authentication.

Path Parameters

invoiceId
string<uuid>
required

The unique identifier of the invoice in our system.

Body

application/json

The additional charge to add to the invoice. Leave itemId out, or send null, when the additional charge names no catalog item.

productId
string<uuid>
required

The unique identifier of the product that the additional charge belongs to.

name
string
required

The name of the additional charge, as the invoice shows it.

Example:

"Taxa de entrega extra"

amount
integer
required

The amount that the additional charge bills, in cents.

Required range: x >= 1
startDate
string<date>
required

The first day of the period that the additional charge bills.

endDate
string<date>
required

The last day of the period that the additional charge bills.

itemId
string<uuid> | null

The unique identifier of the catalog item that the additional charge bills. Null when the additional charge names no item.

Response

A line item, not a plan charge, that a user adds by hand to an invoice.

lineItemId
string<uuid>
required

The unique identifier of the line item of the additional charge in our system.

productId
string<uuid>
required

The unique identifier of the product that the additional charge belongs to.

itemId
string<uuid> | null
required

The unique identifier of the catalog item that the additional charge bills. Null when the additional charge names no item.

name
string
required

The name of the additional charge, as the invoice shows it.

Example:

"Taxa de entrega extra"

amount
integer
required

The amount that the additional charge bills, in cents.

Required range: x >= 1
startDate
string<date>
required

The first day of the period that the additional charge bills.

endDate
string<date>
required

The last day of the period that the additional charge bills.