France
Frequently Asked Questions
General
How are periodic reports (month/year) generated?
POS-Software triggers the daily closure with a nonfiscal transaction NFS="CLO" as described in 0 Periodic Closing / . EFR automatically generates a closure report (stored in the transaction journal /EFR/rn/def/jou/.jou). In case of a new month automatically period reports (month/year) are generated. Export (download) of month/year reports:
- use the web interface http://localhost:5618/control "total.xml"
- web automation with http://localhost:5618/control/total
- from the EFSTA cloud portal Retrieve daily closure records:
- GET http://localhost:5618/find?_=Tra&ESR.NFS=CLO to fetch the daily closure records from the journal
- GET http://localhost:5618/control/bal to retrieve the current balance totals
How is 'Return of Goods' registered?
Returns are handled as positions with negative sign for <Pos>
fields quantity Qty and amount
Amt. This can be registered separately (with the consequence of a negative total amount in
combination e.g. with cash refund) or along with the sale of other items. Negative amounts
will be regarded in Grand Totals (and field Grand Total absolue according to the rules NF525)
. Returns are distinguished from voids by the fields Pos.Void and ESR.Void.
Transaction examples:
<Tra>
<ESR D="2021-06-23T09:35:00" TL="001" TT="1" TN="2091" T="-1.99" FR_OperationType="remboursement">
<PosA>
<Pos PN="1" IN="4012345678901" Dsc="Test Item" TaxG="A" Qty="-1" Amt="-1.99"/>
</PosA>
<PayA>
<Pay Dsc="Cash" Amt="-1.99"/>
</PayA>
</ESR>
</Tra>
<Tra>
<ESR D="2021-06-23T09:35:00" TL="001" TT="1" TN="2091" T="1.00" FR_OperationType="vente">
<PosA>
<Pos PN="1" IN="4012345678901" Dsc="Test Item" TaxG="A" Qty="-1" Amt="-1.99"/>
<Pos PN="2" IN="1234" Dsc="Exchange Item" TaxG="A" Amt="2.99"/>
</PosA>
<PayA>
<Pay Dsc="Cash" Amt="1.00"/>
</PayA>
</ESR>
</Tra>