Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 4 Next »

Objectif

L'objectif de cet article est de décrire la logique sous-jacente des signatures électroniques générées et de clarifier la manière dont les entrées de signature sont mises en correspondance avec les concepts MXT.

Introduction

Conformément aux exigences de la norme NF, les signatures électroniques sont créées lors de l'enregistrement :

  • GTT (recettes des tickets)

  • GTF (recettes des factures)

  • GTP (clôture quotidienne)

  • GTM (clôture mensuelle)

  • GTA (clôture annuelle)

  • Entrées du journal des événements (Eventlog entries)

Une signature électronique codée en base 64url est créée et enregistrée pour les GTT, GTF, GTP, GTM, GTA, eventlog conformément aux exigences du standard. Ainsi, un extrait de signature à 4 chiffres est imprimé sur le ticket ou la facture (positions 3, 7, 13, 19 de la signature).

Un exemple de chaîne de caractères pour la signature électronique est fourni pour GTT :

2000:750|1000:1999|0550:100,2849,20200419152534,18,SALE,N

GTT signature


ParameterData
Amounts (tax incl) brokendown per VAT rateFetch amounts per VAT rate from nf525_reservation_tax
Total Tax. incl amount of the ticketFetch total amount from nf525_reservation_tax_total
Operation timestampFetch from nf525_reservation_tax_total column ENTRYDATE 
Document number (unique) Fetch from nf525_reservation_tax_total column DOCUMENT_ID
Operation type (SALE / REFUND)Fetch from nf525_reservation_tax_total column DOCUMENT_TYPE
Previous signature Y/NPopulate based on presence previous signature
Previous signature (if present)Fetch from nf525_reservation_tax_total column PREVIOUS_SIGNATURE


GTF signature


ParameterData
Amounts (tax incl) brokendown per VAT rateFetch amounts per VAT rate from nf525_reservation_tax
Total amount of the invoiceFetch total amount from nf525_reservation_tax_total
Timestamp of the operationFetch from nf525_reservation_tax_total column ENTRYDATE 
Invoice numberFetch from nf525_reservation_tax_total column DOCUMENT_ID
Document typeFetch from nf525_reservation_tax_total column DOCUMENT_TYPE
Company name (B2B) or customer name (B2C)For Customer bill: fetch customer lastname
For Paying Customer bill: fetch companyname if populated, otherwise customer name
For Agent bill: fetch DC name
Customer zip codeFor Customer bill: fetch customer zipcode
For Paying Customer bill: fetch PC zipcode
For Agent bill: fetch fetch DC zipcode
VAT number of customerFor Customer bill: do not fetch
For Paying Customer bill: fetch from Paying Customer details
For Agent bill: fetch from DC
Previous signature Y/NPopulate based on presence previous signature
Previous signature (in case present)Fetch from nf525_reservation_tax_total column PREVIOUS_SIGNATURE


Grand Total signature


ParameterData
Amounts (tax incl) brokendown per VAT rateFetch from nf525_reservation_tax table based on RESERVATION_TAX_TOTAL_ID for created closing total
Cumulative Grand Total of periodFetch from nf525_reservation_tax_total table column ABSOLUTE_TOTAL for grand total created
Cumulative Perpetual Grand Total (real value)Fetch from nf525_reservation_tax_total table column RELATIVE_TOTAL for grand total created
Timestamp of the operationFetch from nf525_reservation_tax_total table column ENTRY_DATE
Unique ID of periodFetch from nf525_reservation_tax_total table column DOCUMENT_ID
Previous signature Y/NCheck for previous signature for grand_total_type
Previous signature (if present)Use grand_total_type previous signature, if present 
Document typeFetch from nf525_reservation_tax_total table column DOCUMENT_TYPE


Eventlog entry signature


ParameterData
Continuous IDNew DB column in nf525_eventlog table, to be implemented via this ticket.
Event codeIn nf525_eventlog table, fetch from column EVENT_TYPE
Additional informationIn nf525_eventlog table, fetch from column NEW_VALUE_DESCRIPTION
TimestampIn nf525_eventlog table, fetch from column EVENT_TIME
Operator codeIn nf525_eventlog table, fetch from column EMPLOYEE
POS codeIn nf525_eventlog table, fetch from column CONCERN_ID
Previous signature Y/NCheck if previous entry with electronic signature is present
Previous signatureIn nf525_eventlog table, fetch from column PREVIOUS_SIGNATURE

Fiscal Archive signature


ParameterData
Tax incl. amounts brokendown per vat rateFrom table nf525_reservation_tax, use total sum of column RESOURCE_AMOUNT_INCL_TAX, separated per value in column TAX_PERCENTAGE (using a pipe | as separator)
Tax incl. amounts of the periodFrom table nf525_reservation_tax_total, use total sum of GRAND_TOTAL column for selected data range
Operation timestampTimestamp of Fiscal Archive creation
Terminal/POS codeUse AO code
Operation typeHardcoded 'archiving'
Previous signature Y/NCheck if signature is present
If present, previous electronic signature Previous Fiscal Archive electronic signature
  • No labels