Sljedeći JSON primjer prikazuje poslovni slučaj u kojem se više dijelova artikla unosi i plaća gotovinom od strane kupca.
Primjer se temelji na klijentu uključenom u primjer klijenta usluge Fiscal Service {c1062c55-57c4-4ed2-9c53-aff1762326a4} (odaberite putem padajućeg izbornika).
Napomena:
sljedeći primjer možda je izrađen pomoću starije verzije fiskalnog klijenta. Kako biste osigurali da dokument odgovara trenutnom modelu dokumenta, upotrijebite ažurirani primjer klijenta fiskalne usluge
u kombinaciji s najnovijom verzijom fiskalne usluge i na taj način generirajte JSON primjer!
{
"UniqueClientId": "c1062c55-57c4-4ed2-9c53-aff1762326a4",
"AdditionalFields": {},
"DocumentGuid": "7d91fbc7-ad32-4e6b-8ce0-dd61681f4305",
"DocumentId": "20210416T1042054081023+0200",
"CreateDate": "2021-04-16T10:42:05.4081023+02:00",
"BookDate": "2021-04-16T10:42:05.4090974+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": 7.0,
"QuantityUnit": null,
"ItemId": "000322",
"BaseNetValue": 46.90,
"BaseGrossValue": 46.90,
"BaseTaxValue": 0.00,
"GTIN": null,
"BusinessTransactionType": 0,
"VatIdentification": 5,
"VatPercent": 0.0,
"NetValue": 46.90,
"GrossValue": 46.90,
"TaxValue": 0.00,
"AccountingIdentifier": null,
"PositionNumber": 0,
"PositionReference": null,
"CancellationPosition": false
}
],
"Payments": [
{
"Amount": 46.90,
"PaymentType": "cash",
"CurrencyIsoCode": "EUR",
"Caption": null,
"UniqueReadablePaymentIdentifier": null,
"ForeignAmount": 0.0,
"ForeignAmountExchangeRate": 0.0
}
]
}
Ovaj je članak automatski preveden.
Komentari
0 komentara
Molimo Prijavite se kako bi ostavili komentar.