The following JSON example shows the business case of an "in-house" consumption, which is paid for in cash by the customer.
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": "04af5c46-d5bc-46d6-8b91-232159d4a88b", "DocumentId": "20210428T0631077324801+0200", "CreateDate": "2021-04-28T06:31:07.7324801+02:00", "BookDate": "2021-04-28T06:31:07.7324801+02:00", "ProcessStartDate": null, "DocumentNumber": null, "CancellationDocument": false, "DocumentReference": null, "IsTraining": false, "DocumentType": 0, "DocumentTypeCaption": null, "User": { "Id": "123", "Caption": "TestUser" }, "AllocationGroups": null, "Partner": null, "FiscalResponse": null, "FiscalDocumentNumber": 0, "FiscalDocumentRevision": 0, "FiscalDocumentStartTime": null, "Positions": [ { "ItemCaption": "Chocolate", "ItemShortCaption": null, "Discounts": [], "Type": 0, "UseSubItemVatCalculation": true, "SubItems": null, "InHouse": true, "Quantity": 2.0, "QuantityUnit": null, "ItemId": "003145", "BaseNetValue": 6.36, "BaseGrossValue": 6.8, "BaseTaxValue": 0.44, "GTIN": "7622300429331", "BusinessTransactionType": 0, "VatIdentification": 2, "VatPercent": 7.0, "NetValue": 6.36, "GrossValue": 6.8, "TaxValue": 0.44, "AccountingIdentifier": null, "PositionNumber": 0, "PositionReference": null, "CancellationPosition": false } ], "Payments": [ { "Amount": 6.8, "PaymentType": "cash", "CurrencyIsoCode": "EUR", "Caption": null, "UniqueReadablePaymentIdentifier": null, "ForeignAmount": 0.0, "ForeignAmountExchangeRate": 0.0 } ] }
Comments
0 comments
Please sign in to leave a comment.