{
"header": {...},
"items": [
{
"lineNumber": 1,
"identifiers": [...],
"isDepositItem": false,
"isInvoicedItem": false,
"quantity": 5,
"unitOfMeasure": "EA",
"description": "Large Item",
"unitPrice": 1000,
"tax": {
"amount": 190,
"percentage": 19,
"description": "Umsatzsteuer"
},
"modificationGroups": [
{
"level": 1,
"basis": 5000,
"modifications": [
{
"type": "ALLOWANCE",
"reasonCode": "DISCOUNT",
"amount": 500
}
]
}
]
}
],
"summary": {
"subtotalAmount": 4500,
"totalCharges": 50,
"totalAllowances": 455,
"netAmount": 4095,
"grossAmount": 4873.05,
"dueAmount": 4873.05,
"tax": {...},
"modificationGroups": [
{
"level": 1,
"basis": 4500,
"modifications": [
{
"type": "CHARGE",
"reasonCode": "SHIPPING",
"amount": 50,
"tax": {
"amount": 9.5,
"percentage": 19,
"description": "Umsatzsteuer"
}
}
]
},
{
"level": 2,
"basis": 4550,
"modifications": [
{
"type": "ALLOWANCE",
"reasonCode": "DISCOUNT",
"percentage": 10,
"description": "Loyal Customer Discount"
}
]
}
]
}
}