View as Markdown

llms.txt

The API reference isn't available right now

This instance couldn't load its API specification. The reference returns as soon as the specification is readable again.

Back to the API reference

No such model

This instance publishes no model under that name. It may have been renamed, or no operation this installation serves uses it.

Back to the API reference

This reference may be out of date

This instance couldn't reach its API specification on the last attempt, so this page shows the copy fetched before that. Anything added or changed since then is missing here, and the reference updates itself as soon as the specification is readable again. Last fetched 2026-10-22 22:52 UTC.

API reference Models

InvoiceLineItemInputDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Input DTO for creating or updating a line item on an invoice. Computed fields (GrossAmount, DiscountAmount, NetAmount, TaxableAmount, TaxAmount, LineTotal) are calculated server-side and should not be provided by the caller.

Values

Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.

Fields

Field Type Description
parentLineItemId required string (uuid) Parent line item ID for bundle/discount/tax line hierarchies. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
name required string Product name snapshot (formal product name). nullablemax length 200
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
description required string Line item description shown on PDF and HPP. nullablemax length 500
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
notes required string Per-line notes visible to the biller only. nullablemax length 500
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
productId required string (uuid) Optional link to the product catalog. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
productCode required string SKU or product code. nullablemax length 50
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
unitOfMeasure required string Unit of measure (e.g., "each", "hour", "GB"). nullablemax length 50
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
commodityCode required string Commodity code sent as enhanced (Level 3) card data when the invoice is paid by card. At most 25 characters. nullablemax length 25
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
quantity required number (double) Quantity (default 1). greater than 0
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
unitPrice required number (double) Unit price. min 0
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
cost required number (double) Cost for margin tracking. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
pricingSource required PricingSource PricingSource How the unit price was determined. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Catalog Price taken from the product catalog at time of invoicing.
Override Price manually overridden by the user.
Promotion Price determined by a promotion or coupon.
Contract Price from a negotiated contract or quote.
discountType required DiscountType DiscountType Type of discount applied to this line item. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Percent Percentage discount (e.g., 10%).
Flat Flat dollar amount discount (e.g., $5.00).
discountValue required number (double) Discount value (percentage or flat amount). nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
taxRateId required string (uuid) Reference to a reusable tax rate definition. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
taxRatePercent required number (double) Snapshot of the tax rate percentage. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
taxJurisdiction required string Tax jurisdiction (state/country). nullablemax length 100
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
taxRateSource required InvoiceTaxRateSource InvoiceTaxRateSource Optional. Where `taxRatePercent` came from. Provider is stored only when `taxRateProviderName` is supplied and `taxRateId` is not; any other combination is stored as Catalog when a rate id is named, otherwise Manual. Provenance is recorded as supplied, like the percentage: the platform does not verify that a lookup ran. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Manual The operator typed the percentage, or nothing recorded where it came from.
Catalog The percentage was snapshotted from one of the biller's named tax rates.
Provider The percentage was sourced from the merchant's bound tax provider.
taxRateProviderName required string Optional. The tax provider that sourced the percentage; meaningful only with a Provider source. nullablemax length 50
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
taxCode required string Tax code snapshotted from product or overridden. nullablemax length 50
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
isTaxable required boolean Whether tax applies to this line. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
isDiscountLine required boolean Indicates this is a discount adjustment line. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
isSystemGenerated required boolean Indicates this line was auto-generated. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
isOptional required boolean For quotes-to-invoices flow: whether this line is optional. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
revenueAccount required string GL account for revenue recognition. nullablemax length 100
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
recognitionStartDate required string (date-time) Revenue recognition start date. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
recognitionEndDate required string (date-time) Revenue recognition end date. nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
attributes required object Extensibility metadata (key-value pairs). nullable
Values: Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.

This model has no documented fields.

Reconnecting to the server

Could not reconnect

This session has ended

Attempt 1

Your work on this page is still here. Retrying keeps it; reloading starts the page again.

The server no longer holds this page's state, so it has to be loaded again.