The e-reporting XML file is generated from the values held in the sofactoapp__ or fiix__ fields of the Frisbii e-invoice package. If, for your business needs, you have created custom fields to store certain information, or if a default value does not suit your case, you can use the Frisbii EReporting Mappings interface to set up custom mappings. These mappings populate the tags of the e-reporting flow sent to Ecosio with your own Salesforce fields, or force a fixed value into them.
It works exactly like the EInvoicing Mappings interface (see the article Custom field mapping). The only difference: tags are identified by their TT-Code (Annex 6 of the reform's external specifications, e-reporting semantic format), not by a BT-Code.

Scope
Mapping applies to transaction data for BtoBi/GtoBi invoices (flow 10.1), reported invoice by invoice. It does not apply to:
aggregated BtoC/GtoC transactions (flow 10.3, TG-31), calculated from several invoices;
payment data (flows 10.2/10.4);
the transmission envelope (TT-1 to TT-4), generated automatically;
the transmission Sender block (TT-7 to TT-11), configured separately (see the article Configure your company (sender)).
Accessing the configuration page
From the Salesforce App Launcher, search for and open EReporting Mappings.

Prerequisites to access the mapping interface:
have a Frisbii Admin license: without it, the page is read-only and the Save button is replaced by a license warning;
be a Salesforce System Administrator of the org or have the following permissions:
at profile or permission set level, the system permission Customize Application, which requires the system permissions "View Setup and Configuration, Manage Translation, Manage Custom Permissions".
Understanding the table
Each row of the table corresponds to a tag of the e-reporting XML.
Column | Content |
|---|---|
XML Key | Technical name of the tag (e.g. |
TT/TG-Code | Code of the tag in Annex 6 (e.g. |
Magnifying glass | Opens the Salesforce field picker. Disabled when a fixed value is entered. |
Relationship Path | Mapped field. Without a custom mapping, shows greyed out the path or value used by default by Frisbii App. |
Active | Applies the row's mapping to the XML. |
Hardcoded Value | Fixed value, used as is in every report. |
How to set up a mapping
Find the tag to customize by its XML Key or its TT-Code (e.g.
TT-34for the seller's VAT number).Click the magnifying glass on the relevant row to search for your custom Salesforce field.

Search for and select the field in the results list. You can go up to 5 objects to find your custom field.
Or enter a hardcoded value: it takes precedence over the field and disables the magnifying glass.
Check "Active" to enable the mapping.
Repeat for each tag to customize.
Click Save.
Saving deploys the mappings in the background: it may take a few seconds, and a message confirms when it is done.
Application rules:
a row not checked Active is ignored: the standard Frisbii App value applies;
if the mapped field is empty on an invoice, the standard Frisbii App value applies for that invoice;
a mapping only applies to new generations: for a period already filed, generate a correction (
RE).
π‘ Only use this table for specific needs: when your data is held in custom fields, or to replace a value assigned by default by the sofactoapp__ or fiix__ fields.
Field mapping table: e-reporting β Frisbii
This table lists the 26 tags of flow 10.1 that can be mapped through EReporting Mappings. It is the reference for understanding where each piece of data in the XML file comes from, validating your tests, and setting up custom mappings. Paths start from the Invoice object (sofactoapp__Factures_Client__c), except LINE_* tags, which start from the Invoice Line (sofactoapp__Ligne_de_Facture__c).
Column legend:
Used by Frisbii: the field is mapped as standard by sofactoapp__ or fiix__ fields, or by a default value
Mapping possible: the field can be replaced by your custom fields through the EReporting Mappings page.
Duplication possible: the field can appear several times in the same XML file.
Mandatory (standard): the field is mandatory under Annex 6 of the external specifications (e-reporting semantic format).
Packaged version: version of the Frisbii e-invoice package from which mapping of the field is available.
Frisbii objects: LE = Legal Entity (Raison Sociale) Β· IL = Invoice Line
DECLARANT (ISSUER)
ID | Business term | Description | Used by Frisbii | Mapping possible | Duplication possible | Mandatory (standard) | Frisbii object | Frisbii fields | XPath | Version | Comments |
|---|---|---|---|---|---|---|---|---|---|---|---|
TT-12 | Declarant identifier type | Scheme of the declarant identifier (ISO 6523 list) | β | β | β | β | β | Default |
| 0.30 | Read once per report, from the first invoice of the batch |
TT-13 | Declarant identifier | SIREN of the declaring company | β | β | β | β | LE | SIREN: |
| 0.30 | Read once per report, from the first invoice of the batch |
TT-14 | Declarant company name | Name of the declaring company | β | β | β | β | LE | Name: |
| 0.30 | Read once per report, from the first invoice of the batch |
TT-15 | Declarant role code | Role of the declarant in the transaction | β | β | β | β | β | Default |
| 0.30 | Read once per report, from the first invoice of the batch |
TT-16 | Declarant electronic address | Electronic invoicing address of the declarant | β | β | β | β | LE | Electronic billing address: |
| 0.30 | Tag omitted if the value is empty. Field shared with e-invoicing |
INVOICE
ID | Business term | Description | Used by Frisbii | Mapping possible | Duplication possible | Mandatory (standard) | Frisbii object | Frisbii fields | XPath | Version | Comments |
|---|---|---|---|---|---|---|---|---|---|---|---|
TT-19 | Invoice number | Unique reference of the invoice | β | β | β | β | Invoice |
|
| 0.30 | |
TT-20 | Issue date | Invoice issue date | β | β | β | β | Invoice | Invoice date: |
| 0.30 | A mapped date must use the |
TT-21 | Invoice type code | Code identifying the document type (UNTDID 1001 list) | β | β | β | β | Invoice | Frisbii covers: 380: Commercial invoice / 381: Credit note / 386: Down payment invoice β derived from |
| 0.30 | |
TT-24 | VAT due date type code | Indicates that VAT is due on the invoicing date (accrual basis) | β | β | β | β | LE |
|
| 0.30 | |
TT-28 | Business process | Business process type | β | β | β | β | β | Default |
| 0.30 | |
TT-29 | Profile type | Document profile | β | β | β | β | β | Default |
| 0.30 |
SELLER
ID | Business term | Description | Used by Frisbii | Mapping possible | Duplication possible | Mandatory (standard) | Frisbii object | Frisbii fields | XPath | Version | Comments |
|---|---|---|---|---|---|---|---|---|---|---|---|
TT-33 | Seller identifier | SIREN of the seller | β | β | β | β | LE | SIREN: |
| 0.30 | |
TT-33-1 | Seller identifier scheme | Scheme identifier code (ISO 6523 list) | β | β | β | β | β | Default |
| 0.30 | |
ECOSIO | Seller company name | Name of the seller (Ecosio extension) | β | β | β | β | Invoice |
|
| 0.30 | Outside the Annex 6 standard, required by Ecosio. Written only if the configured AP is Ecosio |
TT-34 | Seller VAT number | Intra-community VAT number of the seller | β | β | β | β | Invoice |
|
| 0.30 | Prefixed with the country code (e.g. FR12345678901) |
TT-34-0 | Seller VAT number qualifier | Tax identifier qualifier | β | β | β | β | β | Default |
| 0.30 | |
TT-35 | Seller country code | 2-letter ISO 3166 country code | β | β | β | β | Invoice |
|
| 0.30 | 2-letter ISO code expected |
BUYER
ID | Business term | Description | Used by Frisbii | Mapping possible | Duplication possible | Mandatory (standard) | Frisbii object | Frisbii fields | XPath | Version | Comments |
|---|---|---|---|---|---|---|---|---|---|---|---|
TT-36 | Buyer identifier | Buyer identifier (SIREN/TIN) | β | β | β | β | Invoice |
|
| 0.30 | Scheme ( |
ECOSIO | Buyer company name | Name of the buyer (Ecosio extension) | β | β | β | β | Invoice |
|
| 0.30 | Outside the Annex 6 standard, required by Ecosio. Written only if the configured AP is Ecosio |
TT-38 | Buyer VAT number | Intra-community VAT number of the buyer | β | β | β | β | Invoice |
|
| 0.30 | Prefixed with the country code (e.g. DE123456789) |
TT-38-0 | Buyer VAT number qualifier | Tax identifier qualifier | β | β | β | β | β | Default |
| 0.30 | |
TT-39 | Buyer country code | 2-letter ISO 3166 country code | β | β | β | β | Invoice |
|
| 0.30 | 2-letter ISO code expected |
AMOUNTS AND VAT
Line tags are aggregated by VAT rate on the invoice: the XML does not contain the line details, but one subtotal per VAT type/rate pair.
ID | Business term | Description | Used by Frisbii | Mapping possible | Duplication possible | Mandatory (standard) | Frisbii object | Frisbii fields | XPath | Version | Comments |
|---|---|---|---|---|---|---|---|---|---|---|---|
TT-202 | VAT amount currency | Currency code of the total VAT amount | β | β | β | β | β | Default |
| 0.30 | |
TT-54 | Taxable amount | Amount excl. VAT subject to the VAT rate | β | β | β | β | IL | Total amount excl. VAT: |
| 0.30 | Also feeds TT-51 (total excl. VAT). A mapping changes the VAT subtotals of the whole invoice |
TT-56 | VAT type code | VAT category (e.g. exemption) | β | β | β | β | IL | VAT exemption: |
| 0.30 | Also feeds TT-58/TT-59 (exemption reason). A mapping changes the VAT subtotals of the whole invoice |
TT-57 | VAT rate | Applicable VAT rate | β | β | β | β | IL | VAT rate: |
| 0.30 | Also feeds TT-54/TT-55. A mapping changes the VAT subtotals of the whole invoice |