POST
Create invoice line

Authorizations

Authorization
string
header
required

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

Path Parameters

invoice_id
string<uuid>
required

Invoice ID

Body

application/json

Invoice lifecycle or line-item fields used to update invoice totals and status.

Request payload for create invoice line.

line_type
enum<string>
required

Invoice line classification used for totals.

Available options:
rent,
electricity,
water,
recurring_fee,
other_charge,
discount
description
string
required

Human-readable description for the resource or line item.

Required string length: 1 - 255
quantity
string
required

2-dp decimal string; validated >= 0 in the service.

Example:

"1"

unit_price
string
required

Unit price used for invoice line calculations.

Example:

"1500000"

metadata
any

Additional structured metadata attached to the record.

Response

Invoice with created line

data
object
required

Endpoint-specific response payload. See the referenced schema for the resource fields.

request_id
string
required

Request correlation identifier returned from X-Request-Id or generated by the API.

meta
object

Optional response metadata such as pagination limits, counts, or export context.