For the complete documentation index, see llms.txt. This page is also available as Markdown.

Order line type

Order line classification: Item, Service, and Charge lines (lineType) and optional chargeReasonCode.

Every purchase order line can be classified with an optional lineType. That tells Tradecloud and your supplier whether the line is a physical item, a service, or a standalone charge (for example freight or handling on its own line), instead of treating everything implicitly as merchandise.

Values of lineType

  • Item — The line represents goods or a physical article. This is the default if you omit lineType.

  • Service — The line represents a service (labour, subscription, fee-for-service, and similar) rather than a stock item.

  • Charge — The line is only an allowance or charge (freight, packaging, administration, and similar) as its own order line, usually with a price on that line.

Omitting lineType is backward compatible when sending an order: those lines behave like Item, so existing integrations need no change.

chargeReasonCode on the line

For Charge lines you can send an optional chargeReasonCode on the same order line (not inside nested objects). Values follow UNCL7161 (UN/CEFACT charge and allowance reason codes). Example: FC (freight).

You may also use chargeReasonCode in other combinations as your process requires; the OpenAPI spec describes allowed shapes.

Relation to deprecated chargeLines

Older integrations could attach extra costs with a nested chargeLines array on a line. That model is deprecated for new work: model a separate order line with lineType Charge, line-level pricing, and optionally chargeReasonCode.

Portal behaviour for charge lines

In the Tradecloud portal, suppliers cannot split a buyer line that is a charge line. Negotiation (accept, reject, propose) otherwise follows the same line-level flow as other lines.

Where this appears in the docs

Last updated