Create a new line item for a debt

Create a new line item for a debt. The line item will be applied to the debt and the debt balance will be updated.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the debt

Body Params

Line Item represents a charge or credit applied to a debt. The amount can be positive or negative. The amount is always in the currency of the debt.

The line items that are being charged to the customer, not associated with an invoice.

string | null
required
Defaults to Line item description

A description of the line item.

string
enum
required
Defaults to debt

The type of line item that is being charged to the customer.

Show Details
debtThe debt the customer needds to pay.
interestAn interest added to the debt for the customer to pay.
feeFee applied the customer needs to pay.
vatVAT line items for services provided to the customer.
creditA credit applied to the customer's account. - Should be negative amount
discountA discount applied to the customer's account. - Should be negative amount
refundA refund applied to the customer's account.
creditor_refundA refund applied to the creditor's account.
Allowed:
number
required

The amount of the line item in the currency of the customer.

string
enum

The currency in which the invoice is denominated. Currency information is critical for financial reporting, risk assessment, and ensuring appropriate handling in multinational operations.

date-time
required

The date and time when the line item was created in the system. This field is crucial for tracking the age of the line item and understanding its historical context.

metadata
object

A set of key-value pairs that you can attach to a line item object. It can be useful for storing additional information about the debt in a structured format.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*