BR-FR-06_BT-21-1
Le code sujet PMT (indemnité forfaitaire pour frais de recouvrement) ne doit apparaître qu'une seule fois dans les notes (BG-3).
In English The subject code PMT (the fixed compensation for recovery costs) may appear only once in the invoice notes (BG-1).
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element
[BR-FR-06/BT-21] Le code sujet PMT (indemnité forfaitaire pour frais de recouvrement) ne doit apparaître qu'une seule fois dans les notes (BG-3).
ubl:Invoice | cn:CreditNote
count(tokenize($allNotes, '#PMT#')) - 1 le 1
Checked with France e-invoice (UBL), France e-credit note (UBL), France EXTENDED-CTC-FR (UBL)