DocumentPosition (object)
| Feld | Typ | Beschreibung |
|---|---|---|
| chart_of_accounts | string | Chart of accounts snapshot (receipt positions) string
|
| description | string | — |
| discount_rate | number | — |
| discount_value | integer | — |
| is_optional | boolean | — |
| ledger_account_name | string | Ledger account name snapshot (receipt positions) |
| ledger_account_number | string | Ledger account number (receipt positions) |
| position* | string | — |
| price_unit | integer | — |
| product_sku | string | — |
| quantity | number | — |
| tax_rate | number | — |
| title* | string | — |
| unit_code | string | UN/CEFACT unit of measure code (Recommendation 20/21). Null allowed for optional positions.
Code meanings:
- C62: unit (piece)
- HUR: hour
- DAY: day
- KGM: kilogram
- GRM: gram
- LTR: litre
- CMT: centimetre
- MTR: metre
- MTK: square metre
- MTQ: cubic metre
- KMT: kilometre
- TNE: tonne (metric)
- PAC: package
- PR: pair
- BOX: box
- RO: roll
- SET: set
- PCE: page
- MIN: minute
- SEC: second
- MLT: millilitre
- MMT: millimetre
- P1: percent
- ZZ: lump sum (generic / no unit)
string
|
Beispiel (JSON)
{
"position": "string",
"product_sku": "string",
"title": "string",
"description": "string",
"quantity": 0,
"unit_code": "C62"
}