Skip to main content

Receipt Layout

Receipt-France

Layout

Per position the following fields are required:

#FieldFIDELE labelDescriptionESR field
13Unit price tax. exclENC-TIK-LIG-PRO-MHTnet tax modified pos pricePos.NMPri
18Total tax. exclENC-TIK-LIG-TOT-MHTnet tax modified pos amountPos.NMAmt

These fields are stored with the transaction if delivered in the ESR. When Pos.NMAmt is missing, the necessary computations are performed by ESR:

  • Modifier positions are reckoned upon item positions
  • For Pos.NMAmt Tax.Net per tax group TaxG is divided into the according positions

To assure congruence of position amounts to tax totals in TaxA, a summation according to the Kahan summation algorithm is used. To allow the frontend application to print invoices with no cent differences, the transaction positions with NMAmt are returned in the response.

Example Response

All Fis.Tag elements in the response must be printed on the receipt.

XML Response

<TraC SQ="2">
<Result RC="OK"/>
<ESR DN="1">
<TaxA>
<Tax TaxG="A" Prc="20" Net="1.66" TAmt="0.33" Amt="1.99"/>
</TaxA>
</ESR>
<Fis>
<Payload>2000:199,199,20210623092800,TIK:001/1/1,Vente,N,</Payload>
<Signature>SgXKE...</Signature>
<Tag Label="Numéro:" Value="TIK:001/1/1" Name="FN"/>
<Tag Label="Code:" Value="B0000 JowV (NF525)" Name="Sec"/>
</Fis>
</TraC>

From the response, all <Tag> elements have to be printed on the receipt to fulfill NF525. <Payload> and <Signature> are delivered only for information and don't need to be checked or stored. In the request example above, optional ESR attributes have been omitted, which are set with default values upon registration.

ESR AttributeDescriptionFIDELE LabelDefault Value
TLTransaction LocationCfg.Loc.TL
TTTransaction TerminalENC-TIK-CAI-NIDCfg.Trm.TT
DDate TimeENC-TIK-HOR-GDHSystem time
TNTransaction Number
(set for reference if available in frontend application)
lastTN + 1 (within TL/TT)
FR_OperationTypeOperation typeENC-OPE-TYPVente, Remboursement or Annulation depending on ESR.T signum and ESR.Void flag
DTDocument TypeENC-TIK-DOC-TYPTIK for "Ticket"
DNDocument NumberENC-TIK-NUMlastDN + 1 (within TL/TT/DT)

For Infocert certification, the transaction data MUST contain position details in <PosA> and payment data in <PayA>. The ESR element <TaxA> containing the tax totals is optional and computed from <PosA> on behalf.