This article explains which elements of the RetailForce Document Model (DOM) correspond to the necessary document elements of the daily closing report, also known as Report (Z), in Lithuania and where these can be found in the DOM.
The information in this article can also be applied to the elements for the interim report (Report (X)). Any deviations are described in the table.
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 Daily closing report (Report (Z)) in the article linked above.
Some of the values listed in the table are only available if the upstream system (cash register, accounting software, etc.) calls the endpoint GET /api/v1/closing/{clientId}/ endofdayDocument) and the end-of-day report is generated by the fiscal middleware.
| No. | Designation | RetailForce DOM |
Notes | |
| Elements | Place | |||
| 1 | Header Report |
CompanyName CompanyAddress{} CompanyVatNumber |
FiscalClients | Information is stored in the client configuration (fiscalService.config.json). |
| 2 | Title | Np_EndOfDay | FiscalResponse. PrintingFields | Title of the document. |
| 3 | Document identification | ClosingReportNumber | FiscalResponse. AdditionalFields | Sequential number of the daily closing. |
| 4 | Tax details | TaxChangeNumber | FiscalResponse. AdditionalFields | Number of VAT changes |
| 4 | Tax details | LastTaxChangeDateTime | FiscalResponse. AdditionalFields | Date of last change in VAT rates |
| 4 | Tax details | Positions | Document | For each VAT rate, we list one item of type 3 / "[3] = Booking" in the EndOfDay document. If there is no item for a VAT rate, no sales have been posted with this VAT rate since the last daily closing. |
| 5 | Daily revenues |
GrossValue per position with positive values! TaxValue |
Document.Positions | Daily turnover per VAT rate in each position of type 3 / "[3] = Booking". |
| 6 | Daily sales counter |
DayTotalSalesAmount DayTotalSalesTaxAmount |
FiscalResponse. AdditionalFields | Sales for the current day/shift. |
| 7 | Sales counter | GrandTotalOfSales | FiscalResponse. AdditionalFields | Total sales counter since commissioning. |
| 8 | Tax counter | GrandTotalOfSalesTax | FiscalResponse. AdditionalFields | Total tax counter since commissioning. |
| Purchases - currently not supported | ||||
| 9 | Total purchases | - | - | currently not supported |
| 10 | Counter purchases | - | - | currently not supported |
| 11 | Number of fiscal receipts | DayFiscalDocNr | FiscalResponse. AdditionalFields | Number of fiscal receipts issued in current day/shift. |
| 11.1 | Number of non-fiscal receipts | DayNonFiscalDocNr | FiscalResponse. AdditionalFields | Number of non-fiscal receipts issued in current day/shift. |
| 11.2 | Number of cash drawer openings | DayCashDrawerOpenings | FiscalResponse. AdditionalFields |
Number of cash drawer openings in current day/shift. Note: Technical events Lithuania. |
| 12 | Payment amounts | Amount | Document.Payments |
A payments array is generated for each payment method. Attention: Please note the Summation in reports Lithuania! |
| 13 | Returns | GrossValue per VAT-rate | Document | Returns are shown as separate items in the EndOfDay document. These have negative values and a caption with the value ‘Returns XY’, where XY represents the VAT rate. |
| 14 | Discount / surcharges |
DayDiscountsAmount DaySurchargesAmount DayDiscountsNumber DaySurchargesNumber |
Document. AdditionalFields | Returned in the EndOfDay document. |
| 15 | Cancellations |
DayCanceledReceiptsDocumentsQuantity DayCanceledReceiptsDocumentsAmount |
FiscalResponse. AdditionalFields |
Number of calls to the endpoint POST /api/v1/transactions/cancelDocument. Note: Technical events Lithuania. |
| 16 | Customer cancellations | - | - | The fiscalisation service does not currently distinguish who initiated the termination. |
| 17 | Payins and Payouts | GrossValue | Document.Positions |
For total deposits:
For total withdrawals:
Attention: Please note the Summation in reports Lithuania! |
| 18 | Other deposits and withdrawals | GrossValue | Document.Positions |
For total other deposits:
For total other withdravals:
|
| 19 | Balance | Amount | Document.Payments |
A payments array is generated for each payment method. To calculate the cash balance, payments with the following UniqueReadablePaymentIdentifier must be taken into account:
Attention: Please note the Summation in reports Lithuania! |
| 20 | Period |
From: PreviousClosingDateTime To: CurrentClosingDateTime |
FiscalResponse. AdditionalFields |
Reporting period covered by the report (Z). Note: For CashCheck documents (Report X), no value is returned in the CurrentClosingDateTime property, as the X report does not represent a ‘closing’. Use Document.BookDate instead. |
| 21 | Cash Register ID | EKA_Nr | FiscalResponse. PrintingFields | iEKA cash register number is returned in the fiscalResponse. |
| 22 | Security module ID | Saugos_modulio_ID | FiscalResponse. PrintingFields | Security module number assigned by iEKA. |
Comments
0 comments
Please sign in to leave a comment.