The following JSON example shows the business case of an in-house consumption paid for by the customer via EC card.
The example is based on the client included in the Fiscal Service Sample Client {c1062c55-57c4-4ed2-9c53-aff1762326a4} (select via drop down menu).
Note: the following example may have been created with a historical version of the Fiscal Client. To ensure that the document corresponds to the current document model, use the up-to-date Fiscal Service Sample Client in combination with the latest version of the Fiscal Service and generate the JSON example in this way!
{
"ModelVersion": "1.0.4",
"UniqueClientId": "c1062c55-57c4-4ed2-9c53-aff1762326a4",
"AdditionalFields": {},
"AutomaticVatCalculation": 0,
"AllowedVatDeviation": 0.0,
"DocumentGuid": "49570d12-3382-464a-8bb3-ce791028a023",
"DocumentId": "49570d12-3382-464a-8bb3-ce791028a023",
"CreateDate": "2022-03-25T09:28:12.157357+01:00",
"BookDate": "2022-03-25T09:28:12.157357+01:00",
"ProcessStartDate": null,
"DocumentNumber": null,
"CancellationDocument": false,
"DocumentReference": null,
"IsTraining": false,
"DocumentType": 0,
"DocumentTypeCaption": null,
"User": {
"Id": "123",
"Caption": "TestUser"
},
"AllocationGroups": null,
"Partner": null,
"Notes": null,
"TaxPositions": null,
"FiscalResponse": null,
"FiscalDocumentNumber": 0,
"FiscalDocumentRevision": 0,
"FiscalDocumentStartTime": null,
"Positions": [
{
"ItemCaption": "Bread",
"ItemShortCaption": null,
"Discounts": [],
"Type": 0,
"UseSubItemVatCalculation": true,
"SubItems": null,
"InHouse": true,
"ItemGroupId": null,
"ItemGroupCaption": null,
"Quantity": 1.0,
"QuantityUnit": null,
"ItemId": "003160",
"BaseNetValue": 3.18,
"BaseGrossValue": 3.4,
"BaseTaxValue": 0.22,
"GTIN": null,
"BusinessTransactionType": 0,
"VatIdentification": 2,
"VatPercent": 7.0,
"NetValue": 3.18,
"GrossValue": 3.4,
"TaxValue": 0.22,
"AccountingIdentifier": null,
"PositionNumber": 0,
"PositionReference": null,
"CancellationPosition": false,
"AdditionalFields": {},
"ExternalIdentifier": []
}
],
"Payments": [
{
"Amount": 3.4,
"CurrencyIsoCode": "EUR",
"Caption": "EC",
"UniqueReadablePaymentIdentifier": "ECCARD",
"ForeignAmount": 0.0,
"ForeignAmountExchangeRate": 0.0,
"AdditionalFields": {},
"PaymentType": 1,
"VatIdentification": null,
"VatPercent": null,
"TaxValue": null,
"ExternalIdentifier": []
}
]
}
Comments
0 comments
Please sign in to leave a comment.