The following JSON example shows how to transfer the opening balance to the RetailForce Fiscal Client.
The example is based on the client included in the Fiscal Service Sample Client {c1062c55-57c4-4ed2-9c53-aff1762326a4} (select via drop down menu).
Attention: 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": "0cbd8a25-634a-475a-be11-6a7902e53043", "DocumentId": "20210423T0637319874638+0200", "CreateDate": "2021-04-23T06:37:31.9874638+02:00", "BookDate": "2021-04-23T06:37:31.9884583+02:00", "DocumentNumber": null, "CancellationDocument": false, "DocumentReference": null, "IsTraining": false, "DocumentType": 90, "DocumentTypeCaption": null, "User": { "Id": "123", "Caption": "TestUser" }, "AllocationGroups": [], "Partner": null, "FiscalResponse": null, "FiscalDocumentNumber": 0, "FiscalDocumentRevision": 0, "Positions": [ { "Type": 3, "Caption": "", "Identifier": null, "BusinessTransactionType": 11, "VatIdentification": 5, "VatPercent": 0.0, "NetValue": 150.0, "GrossValue": 150.00, "TaxValue": 0.00, "AccountingIdentifier": null, "PositionNumber": 0, "PositionReference": null, "CancellationPosition": false } ], "Payments": [ { "Amount": 150.00, "PaymentType": "cash", "CurrencyIsoCode": "EUR", "Caption": null, "UniqueReadablePaymentIdentifier": null, "ForeignAmount": 0.0, "ForeignAmountExchangeRate": 0.0 } ] }
Comments
0 comments
Please sign in to leave a comment.