71 lines
2.7 KiB
JSON
71 lines
2.7 KiB
JSON
{
|
|
"schema": { "name": "expense.canonical", "version": "1.2.0" },
|
|
"workflow_id": "WF-2026-0044",
|
|
"employee_id": "EMP-12345",
|
|
"trip": {
|
|
"start_date": "2026-10-01",
|
|
"end_date": "2026-10-03",
|
|
"destination": "Berlin",
|
|
"purpose": "Kundentermin + Workshop",
|
|
"countries_visited": [
|
|
{ "country": "DE", "city": "Berlin", "from_date": "2026-10-01", "to_date": "2026-10-03" }
|
|
]
|
|
},
|
|
"currency": "EUR",
|
|
"total_amount": "484.50",
|
|
"project_assignment": {
|
|
"project_code": "P-42",
|
|
"cost_center": "CC-100",
|
|
"source_attestation_ref": "sha256:1111000000000000000000000000000000000000000000000000000000000001"
|
|
},
|
|
"expense_items": [
|
|
{
|
|
"type": "HOTEL",
|
|
"amount": "328.50",
|
|
"incurred_on": "2026-10-01",
|
|
"description": "Hotel Berlin Mitte, 2 Nächte",
|
|
"receipt_ref": "pii://receipts/WF-2026-0044/01HFXYZ.pdf",
|
|
"receipt_content_hash": "sha256:a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2",
|
|
"receipt_attestation_ref": "sha256:deadbeefcafefeeddeadbeefcafefeeddeadbeefcafefeeddeadbeefcafefeed"
|
|
},
|
|
{
|
|
"type": "PER_DIEM_ARRIVAL",
|
|
"amount": "14.00",
|
|
"incurred_on": "2026-10-01",
|
|
"computed_from": {
|
|
"transform_attestation_ref": "sha256:2222000000000000000000000000000000000000000000000000000000000002",
|
|
"rate_query_attestation_ref": "sha256:3333000000000000000000000000000000000000000000000000000000000003",
|
|
"rate_id": "PDR-42"
|
|
}
|
|
},
|
|
{
|
|
"type": "PER_DIEM_FULL",
|
|
"amount": "28.00",
|
|
"incurred_on": "2026-10-02",
|
|
"computed_from": {
|
|
"transform_attestation_ref": "sha256:2222000000000000000000000000000000000000000000000000000000000002",
|
|
"rate_query_attestation_ref": "sha256:3333000000000000000000000000000000000000000000000000000000000003",
|
|
"rate_id": "PDR-42"
|
|
}
|
|
},
|
|
{
|
|
"type": "PER_DIEM_DEPARTURE",
|
|
"amount": "14.00",
|
|
"incurred_on": "2026-10-03",
|
|
"computed_from": {
|
|
"transform_attestation_ref": "sha256:2222000000000000000000000000000000000000000000000000000000000002",
|
|
"rate_query_attestation_ref": "sha256:3333000000000000000000000000000000000000000000000000000000000003",
|
|
"rate_id": "PDR-42"
|
|
}
|
|
},
|
|
{
|
|
"type": "TRANSPORT_RAIL",
|
|
"amount": "100.00",
|
|
"incurred_on": "2026-10-01",
|
|
"description": "ICE Hin- und Rückfahrt",
|
|
"receipt_ref": "pii://receipts/WF-2026-0044/01HFABC.pdf",
|
|
"receipt_content_hash": "sha256:b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3",
|
|
"receipt_attestation_ref": "sha256:cafefeeddeadbeefcafefeeddeadbeefcafefeeddeadbeefcafefeeddeadbeef"
|
|
}
|
|
]
|
|
}
|