Available for FR legislation only

These mandatory legal mentions are required by French law and apply only to organizations operating under the FR legislation.
They are always present on sales invoices and are exposed on invoices as BT-22 (Invoice note) using the UN/CEFACT qualifier codes AAB, PMD, and PMT.

HTTP Operation Type Object
Query organizationGlobalSetupByOrgId

Description

The organizationGlobalSetupByOrgId operation allows developers to fetch the global setup configured for a specific organization.

For French organizations, this includes the three mandatory legal mentions (mentions légales obligatoires) configured in Sage Active under Settings > Business > Legal obligations. These notes ensure compliance with French tax authority requirements and are automatically included on invoices.

Sage Active UI section API field UN/CEFACT code BT-22 purpose
Early payment conditions legalMention1 AAB Discount, or absence of discount, for early payment
Late payment conditions legalMention2 PMD Penalties in accordance with the company’s payment terms
Legal fixed compensation legalMention3 PMT Fixed penalty of 40 EUR for collection costs

Each mention is a free-text value limited to 200 alphanumeric characters. Sage Active provides French default texts when the organization is created; users can customize them in the Mandatory legal mentions section of the Legal obligations tab.

img

graphQL Query
query ($id: ID!) {
    organizationGlobalSetupByOrgId(id: $id) {
        id
        legalMention1
        legalMention2
        legalMention3
    }
}
graphQL Variables

{
    "id":"{{X-OrganizationId}}"
}

Example Response
{
    "data": {
        "organizationGlobalSetupByOrgId": {
            "id": "01234567-89ab-cdef-0123-456789abcdef",
            "legalMention1": "Les règlements reçus avant la date d'échéance ne donneront pas lieu à escompte.",
            "legalMention2": "Tout retard de paiement entraîne l'exigibilité de pénalités calculées sur la base de trois fois le taux d'intérêt légal.",
            "legalMention3": "Indemnité forfaitaire pour frais de recouvrement en cas de retard de paiement : 40 €."
        }
    }
}
Key Value
Authorization Bearer Current access Token How to find?
X-TenantId Current tenant id Why deprecated ?
X-OrganizationId Current organization Id How to find?
x-api-key Primary or secondary subscription key of your app How to find?

organizationGlobalSetupByOrgId

Fields Type Description Length
id UUID Id  
       
legalMention1 String Early payment conditions (AAB / BT-22) 200
legalMention2 String Late payment conditions (PMD / BT-22) 200
legalMention3 String Legal fixed compensation for collection costs (PMT / BT-22) 200
Info
  • legalMention1Early payment conditions
    States that no discount applies if the customer pays ahead of the due date.
    Mapped to UN/CEFACT code AAB in invoice field BT-22.
    Default value: Les règlements reçus avant la date d’échéance ne donneront pas lieu à escompte.

  • legalMention2Late payment conditions
    Describes penalties calculated from the legal interest rate published every six months (three times the legal interest rate).
    Mapped to UN/CEFACT code PMD in invoice field BT-22.
    Default value: Tout retard de paiement entraîne l’exigibilité de pénalités calculées sur la base de trois fois le taux d’intérêt légal.

  • legalMention3Legal fixed compensation
    States the fixed compensation amount (40 EUR by decree) due from the first day of late payment for collection costs.
    Mapped to UN/CEFACT code PMT in invoice field BT-22.
    Default value: Indemnité forfaitaire pour frais de recouvrement en cas de retard de paiement : 40 €.