Nasledujúci príklad v formáte JSON znázorňuje obchodný prípad, v ktorom zákazník zaplatí za tovar (bez dane z pridanej hodnoty – Vat) v hotovosti.
Príklad vychádza z klienta zahrnutého v ukážkovom kliente Fiscal Service Client Sample {c1062c55-57c4-4ed2-9c53-aff1762326a4} (vyberte z roletového menu).
Poznámka:
Nasledujúci príklad mohol byť vytvorený s historickou verziou fiskálneho klienta. Aby ste sa uistili, že dokument zodpovedá aktuálnemu modelu dokumentu, použite aktuálny vzorový klient služby Fiscal Service
v kombinácii s najnovšou verziou služby Fiscal Service a takto vygenerujte príklad v formáte JSON!
{
"UniqueClientId": "c1062c55-57c4-4ed2-9c53-aff1762326a4",
"AdditionalFields": {},
"DocumentGuid": "922820c4-6901-4b4e-9381-0bb630b63026",
"DocumentId": "20210416T0914481922979+0200",
"CreateDate": "2021-04-16T09:14:48.1922979+02:00",
"BookDate": "2021-04-16T09:14:48.1922979+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": "Rose",
"ItemShortCaption": null,
"Discounts": [],
"Type": 0,
"UseSubItemVatCalculation": true,
"SubItems": null,
"InHouse": false,
"Quantity": 1.0,
"QuantityUnit": null,
"ItemId": "000322",
"BaseNetValue": 6.70,
"BaseGrossValue": 6.70,
"BaseTaxValue": 0.00,
"GTIN": null,
"BusinessTransactionType": 0,
"VatIdentification": 5,
"VatPercent": 0.0,
"NetValue": 6.70,
"GrossValue": 6.70,
"TaxValue": 0.00,
"AccountingIdentifier": null,
"PositionNumber": 0,
"PositionReference": null,
"CancellationPosition": false
}
],
"Payments": [
{
"Amount": 6.70,
"PaymentType": "cash",
"CurrencyIsoCode": "EUR",
"Caption": null,
"UniqueReadablePaymentIdentifier": null,
"ForeignAmount": 0.0,
"ForeignAmountExchangeRate": 0.0
}
]
}
Tento článok bol preložený automaticky.
Príspevky
0 komentárov
Ak chcete napísať komentár, prihlásiť sa.