To learn about POS features that are available to customers in all countries or regions, see Microsoft Dynamics AX 2012 R3 for Retail documentation.
The following POS localization features that are available to customers in all countries or regions can now be used specifically for France:
- Register additional events in the POS audit event log. If the Audit option in the POS functionality profile is set to Yes, the following events are registered in the POS audit event log:
- Sign-in
- Sign-out
- Printing a copy of a receipt
- Starting offline mode
- Ending offline mode
- Starting training mode
- Ending training mode
- Cleanup of transactions from the channel database
The following France-specific POS features are enabled when the ISO code field in the POS functionality profile is set to FR.
Digital signing overview
The following types of data (transactions and events) are digitally signed in POS:
- Sales transactions
- Copies of receipts
- Closed shifts/Z reports
- Audit events
The signature is created and recorded in the channel database at the same time that the transaction is finalized or the event is registered. The data that is signed is a text string that consists of several data fields. These fields vary, depending on the type of data. The general signing process consists of the following steps:
- Based on the type of data, select the next sequential number for signing purposes.
- Extract the data fields that must be signed from the record that is being signed.
- Build a string that consists of a comma-separated list of the data fields.
- Add the previous signature for the same type of data.
- Calculate a hash code of the string by using the SHA-x algorithm.
- Encrypt the resulting string by using a digital certificate.
- Do the base64url transformation for the resulting string.
- Store the string that is used for signing, the sequential number, the signature, and the thumbprint of the certificate in a fiscal response record that is linked to the transaction or event.
- Transfer the fiscal response to the enterprise resource planning (ERP) system in Retail headquarters, together with the transaction or event.
Digital signing of sales transactions
Only transactions for cash sales are signed. Here are some examples of transactions that are excluded from the signing process:
- Prepayments (customer account deposits)
- Quotations
- Prepayments for sales orders (customer order deposits)
- Issuing a gift card and adding funds to a gift card
- Non-sales transactions (float entry, tender removal, and so on)
The data that is signed for a sales transaction is a text string that consists of the following data fields:
- The total amount of sales lines. The amount includes tax per tax rate.
- The total amount of sales. The amount includes tax.
- The date and time of the transaction, in the format of YYYYMMDDHHMMSS.
- The register number.
- The sequential number of the signed sales transaction.
- The type of sales transaction.
- A value (Y/N) that indicates whether the transaction is the first signed sales transaction for the register.
- The previous signature for the same register. A blank value is used for the first signed sales transaction.
You can view the transaction signature, together with the transaction data that was used to generate it, on the Fiscal transactions fast tab of the Retail store transactions form in Retail headquarters.
Digital signing of receipt copies
When a copy of a receipt is printed, the event is registered in the POS audit event log. Only copies of receipts for signed sales transactions are signed. The data that is signed for a receipt copy event is a text string that consists of the following data fields:
- The receipt number of the original sales transaction.
- The type of retail transaction for the original sales transaction.
- The number of the receipt copy for this sales transaction.
- The staff ID of the operator who is printing the receipt copy.
- The date and time of the receipt copy event, in the format of YYYYMMDDHHMMSS.
- The sequential number of the signed receipt copy event.
- A value (Y/N) that indicates whether the transaction is the first signed receipt copy event for the register.
- The previous signature for the same register. A blank value is used for the first signed receipt copy event.
You can view the signature of the receipt copy, together with the event data that was used to generate it, on the Audit events form in Retail headquarters.
Digital signing of closed shifts
When a shift is closed, the event is registered in the POS audit event log. The data that is signed for a shift closing event is a text string that consists of the following data fields:
- The total amount of sales. The amount includes tax per tax rate.
- The total amount of sales. The amount includes tax.
- The date and time of the shift closing event, in the format of YYYYMMDDHHMMSS.
- The sequential number of the shift closing event.
- A value (Y/N) that indicates whether the transaction is the first signed shift closing event for the register.
- The previous signature for the same register. A blank value is used for the first signed shift closing event.
You can view the signature of a closed shift, together with the shift data that was used to generate it, on the Signature tab of the Shifts form in Retail headquarters.
Digital signing of events
The data that is signed for an event other than a receipt copy or shift closing event is a text string that consists of the following data fields:
- The sequential number of the signed event.
- A predefined event code.
- A description of the event.
- The date and time of the event.
- The staff ID of the operator who raised the event.
- The register number.
- A value (Y/N) that indicates whether the transaction is the first signed event for the register.
- The previous signature for the same register. A blank value is used for the first signed event.
You can view the event signature, together with the event data that was used to generate it, on the Audit events form in Retail headquarters.
Receipts
Receipts for France can include additional information that was implemented by using custom fields:
- Transaction type – You can add a field to a receipt format layout to identify the type of transaction. For example, a sales receipt will include the text "Sales".
- Sequential number of signed sales transaction – A receipt can include the sequential number of a signed sales transaction. This number is used to associate the printed receipt with a digital signature in the database.
- Extract from digital signature – A receipt can include an extract from the digital signature. This extract is used to confirm that the transaction is signed. It consists of a concatenation of the third, seventh, thirteenth, and nineteenth symbols of the signature.
- Reprint number – An original receipt or a receipt copy can include the number of the receipt copy. For an original receipt, the value is 0 (zero).
- Line count – A receipt can include the number of printed item lines on the receipt.
- Sales totals – Custom fields for receipt totals exclude non-sales amounts from the total transaction amounts. Non-sales amounts include amounts for the following operations:
- Prepayments (customer account deposits)
- Prepayments for sales orders (customer order deposits)
- Issuing a gift card
- Adding funds to a gift card
- Certification data – A receipt can include the category and number of the certificate of compliance that an authorized body issued per the NF 525 certification requirements.
- Build number – A receipt can include the POS build number.
Restricting duration of shifts
There is an option to enforce daily shift closing in POS. A shift can't last longer than the time that is specified in the Shift closing time field. Several minutes before that time, the operator will start to receive warnings that the shift must be closed. The number of minutes is determined by the value of the Shift closing interval (minutes) field.
X and Z reports
The information that is included on the X and Z reports is based on French requirements:
- Total sales for the shift. This information includes amounts only for cash sales transactions. Prepayments and operations for issuing a gift card are excluded.
- Total returns for the shift.
- Cumulative grand total. This amount is calculated as the cumulative grand total amount of the previous shift plus the total sales amount of this shift minus the absolute value of the total returns amount of this shift.
- Cumulative perpetual grand total. This amount is calculated as the cumulative perpetual grand total amount of the previous shift plus the total sales amount of this shift plus the absolute value of the total returns amount of this shift.
- Value-added tax (VAT) amounts per tax rate.
The totals are also stored in the closed shift record and transferred to Retail headquarters.
Period grand total journal
Period grand total journals summarize sales totals per store and fiscal period.
Period grand total journals are maintained in the Period grand total journal form. To create a new journal, you must specify a store. If previous journals exist for the store, the next fiscal period after the last closed journal for the store is automatically used as the new journal period. If the previous journals do not exist, you can specify the end date of the journal. In this case, the fiscal period that includes the specified date is used as the journal period.
The journal can then be calculated. Shifts that were closed during the journal period are selected, and totals are calculated for those shifts. You can view the journal's tax totals per sales tax code. You can also view the shifts that are included in the journal.
After the journal is calculated, it can be closed. A closed journal can't be modified, and another journal can't be created for a previous period, the same period, or an intersecting period. However, the last closed journal for a store can be canceled. In that case, another journal can be created for the same store and period.
A closed journal is digitally signed. You can view the journal signature, together with the journal data that was used to generate it, on the Signature details tab of the Period grand total journal form in Retail headquarters.
Archive
An archive is an XML file that can be exported from a Period grand total journal that has been closed. It includes the totals for the closed period, and also includes detailed data about sales transactions and events. The exported file is digitally signed, and the signature is contained in a separate file.