The following JSON example shows a voucher sale, which is paid for by the customer in cash.
The voucher in this example has got a value of EUR 10.00.
More information on different types of vouchers.
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!
{ "UniqueClientId": "c1062c55-57c4-4ed2-9c53-aff1762326a4", "AdditionalFields": {}, "DocumentGuid": "fc8a438d-bc26-48a8-b067-922a2cdce827", "DocumentId": "20210416T1050300514582+0200", "CreateDate": "2021-04-16T10:50:30.0514582+02:00", "BookDate": "2021-04-16T10:50:30.0514582+02:00", "DocumentNumber": null, "CancellationDocument": false, "DocumentReference": null, "IsTraining": false, "DocumentType": 0, "DocumentTypeCaption": null, "User": { "Id": "123", "Caption": "TestUser" }, "AllocationGroups": [], "Partner": null, "FiscalResponse": null, "FiscalDocumentNumber": 0, "FiscalDocumentRevision": 0, "Positions": [ { "ItemCaption": "Voucher 10 EUR", "ItemShortCaption": null, "Discounts": [], "Type": 0, "UseSubItemVatCalculation": true, "SubItems": null, "InHouse": false, "Quantity": 1.0, "QuantityUnit": null, "ItemId": "900001", "BaseNetValue": 10.0, "BaseGrossValue": 10.0, "BaseTaxValue": 0.0, "GTIN": null, "BusinessTransactionType": 4, "VatIdentification": 5, "VatPercent": 0.0, "NetValue": 10.0, "GrossValue": 10.0, "TaxValue": 0.0, "AccountingIdentifier": null, "PositionNumber": 0, "PositionReference": null, "CancellationPosition": false } ], "Payments": [ { "Amount": 10.0, "PaymentType": "cash", "CurrencyIsoCode": "EUR", "Caption": null, "UniqueReadablePaymentIdentifier": null, "ForeignAmount": 0.0, "ForeignAmountExchangeRate": 0.0 } ] }
Comments
0 comments
Please sign in to leave a comment.