Skip to main content

A single line item as submitted by the POS. Provide the undiscounted unit_price_gross and any line-level discounts. Cart-level discounts are declared separately on the operation and allocated by OpenFiskal.

description
string
required
Example:

"Wiener Schnitzel"

quantity
number<double>
required
Example:

2

unit_price_gross
integer
required

Undiscounted unit price including tax, in minor currency units. This is the original shelf/menu price before any discounts.

Example:

1800

tax
object
required
unit
string
default:piece
Example:

"piece"

line_discounts
object[]

Discounts applied directly to this line item (e.g. happy hour, manual price override, product-specific promotion). Distinct from cart-level discounts which are declared at the operation level.

product_ref
string | null

Your SKU, product ID, or barcode

flags
enum<string>[]
Available options:
deposit,
gift_card,
service_charge,
tip