Check sales compliance
For a branch in Morocco, CAPPS checks the identifiers of business customers and the payment term of their invoices. The Sales compliance panel shows you what will block a validation before it is refused.
What CAPPS checks
When validating an invoice or a credit note addressed to a business customer established in Morocco:
- the customer's ICE must be filled in and have exactly 15 digits;
- the customer's IF and RC, and the court city with the RC, are checked only if your company has chosen to;
- for an invoice, the due date is set at validation: term entered on the document, otherwise the term on the customer record, otherwise the default legal term (60 days). It cannot exceed the maximum agreed term (120 days by default, law 69-21).
An individual customer or a foreign customer is not concerned. A badly formed IF or RC that is not required only gives a warning.
Find the records to complete
Open the Customer Management page. The compliance badge shows Compliant sales, or the number of customers to complete. It only appears for a branch in Morocco, or when your company's ICE needs to be completed.
Click the badge to open the Sales compliance panel, then Show the list.
Each customer shows To complete followed by the fields concerned (for example ICE). Click Open the customer record.
Complete the record and save (see Create or import a customer). Once their record is complete, the customer is no longer among the customers to complete.
If the badge shows Company ICE to complete, it is your own company's ICE that is missing or invalid: it must appear on all your invoices. Click Complete the ICE to open the Legal tab of Company settings (see Configure your company and branch).
Fix a refused validation
| Message | What to do |
|---|---|
| “B2B invoice: identifiers of customer “…” incomplete or invalid: ICE missing. Complete the customer record, then validate again.” | Click Open the customer record under the message, complete the identifiers listed, save, then validate again. |
| “B2B invoice: payment term beyond the legal maximum. […] Reduce the document's term, then validate again.” | Bring the invoice's due date closer so that it stays within the maximum, then validate. |
| Same message ending with “Reduce the customer record's term, then validate again.” | Open the customer record, reduce the agreed payment term, save, then validate. |
In the editor, the reminder “The customer record must be completed before this invoice can be validated.” appears with the Open the customer record button. See also Validate an invoice or a quote.
Set the compliance settings
In the panel, click Compliance settings, or open the Compliance tab of Company settings.
Payment terms card: turn Legal due date (law 69-21) applied to business customer invoices on or off, and enter the Agreed maximum. The term without agreement is set by law and cannot be changed.
Advanced options (to be confirmed by the chartered accountant) card: select the sector exemption (maximum raised to 180 days), the requirement for the IF and RC, or for the court city with the RC, after confirmation by your chartered accountant.
Traceability card: enter a reason if you wish, then click Save. CAPPS shows “Settings saved.”
The settings are reserved for the company owner or administrator. The agreed maximum must be between 1 and 120 days (180 with the exemption): otherwise CAPPS shows “Maximum agreed term: 1 to 120 days.” and the Save button stays grayed out. For a branch outside Morocco, these rules do not apply.