This article explains which elements of the RetailForce Document Model (DOM) correspond to the necessary receipt elements of fiscal receipts in Lithuania and where these can be found in the DOM.
Requirements for documents in Lithuania can be found in the article Document requirements Lithuania.
The information in the "No." column corresponds to each item in the section Fiscal Receipt in the article linked above.
| No. | Designation | RetailForce DOM |
Notes | |
| Elements | Place | |||
| 1 | Header fiscal receipt |
CompanyName CompanyAddress{} CompanyVatNumber |
FiscalClients | Information is stored in the client configuration (fiscalService.config.json). |
| 2 | Document identification | |||
| 2 | Document identification | Kvitas_Nr. | FiscalResponse. PrintingFields | Overall document sequence number |
| 2 | Document identification | ClosingReportNumber | FiscalResponse. AdditionalFields | Current (Z) report number (to which the document "belongs") |
| 2 | Document identification | DayFiscalDocNr | FiscalResponse. AdditionalFields | Fiscal receipt number in the (Z) report |
| 3 | Item details | ItemCaption | Document.Positions | Detailed information about items from JSON request. |
| 4 | Price | GrossValue | Document.Positions | GrossValue represents the line total (NOT the unit price!) |
| 5 | Quantity | Quantity | Document.Positions | Quantity of items. |
| 6 | Tax rate | VatIdentification | Document.Positions | Note: VatIdentification represents the RetailForce internal code for a tax rate. Ideally, a separate code (e.g. A, B, C...) should be used here. |
| 7 | Tax amount | TaxValue | Document.Positions | Tax amount for the item. |
| 8 | Payment amount | Amount | Document.Payment | Payment amount per payment type (PaymentType) |
| 9 | Discounts / Surcharges | DiscountValue | Document.Positions | Is it specified in RetailForce DOM for the individual item, or for a position of type 10 / "[10] = Total". |
| 10 | Corrections | Rounding | Document.Positions |
Rounding is specified at a position of type 10 / "[10] = Total". Note: Please note rounding of amounts! |
| 11 | Total amount due | Sum of all Elements "Amount" | Document.Payment | Individual payment amounts must be added up. |
| 12 | Amount received | - | - | Change is not managed by the fiscalisation service. |
| 13 | Returned amount | uniqueReadablePaymentIdentifier: cashMovement | Document.Payment | When change is paid out, the value "cashMovement" must be set in the "uniqueReadablePaymentIdentifier" property so that it is correctly itemised in the EndOfDay document. See Summation in reports Lithuania for more details. |
| 14 | Cash register number |
CashRegisterId oder EKA_Nr |
FiscalResponse / FiscalResponse.PrintingFields |
iEKA cash register number is returned in the fiscalResponse. |
| 14.1 | Number Security module | Saugos_modulio_ID | FiscalResponse.PrintingFields | Security module number assigned by iEKA |
| 15 | Control data | |||
| 15.1 | Document number | |||
| 15.2 | Document signature | Kvito_parašas | FiscalResponse.PrintingFields | Signature of the document (by security module). |
| 15.3 | Document code | Kvito_kodas | FiscalResponse.PrintingFields | Unique document number assigned by iEKA. |
| 15.4 | QR code | Np_QrCode | FiscalResponse.PrintingFields | The data string must be converted into a QR code. |
| 16 | Customer identification | Id | Document.Partner | Identification of the customer. If applicable, the customer's VAT ID (B2B) may be required. |
Comments
0 comments
Please sign in to leave a comment.