France (Txns): Seller Role Code
The role code identifies the issuer's role. The list of role codes accepted by the PPF is taken from UNCL 3035.
The accepted role codes are:
- BY, if the declarant is a Buyer
- SE, if the declarant is a Seller
This data is automatically generated in the mapping depending on the party being informed in VRBL as follows:
- If /ubl:Statement/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID is provided, then role is mapped as 'SE'
- If /ubl:Statement/cac:AccountingBuyerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID is provided, then role is mapped as 'BY'
Elements
| Path | Cardinality | Usage | Mandate Business Term | Final Format XPath |
|---|---|---|---|---|
Statement/AccountingSupplierParty/Party/PartyLegalEntity/CompanyID | 1..1 | M | TT-15 | /Report/ReportDocument/Issuer/RoleCode |
Mapping Logic: This data is automatically generated in the mapping depending on the party being informed in VRBL as follows:
- If
Statement/cac:AccountingSupplierParty/Party/PartyLegalEntity/CompanyIDis provided, then the role is mapped as 'SE' - If
Statement/AccountingCustomerParty/Party/PartyLegalEntity/CompanyIDis provided, then the role is mapped as 'BY'
Example
<ubl:Statement>
<!-- ... omitted for readability -->
<cac:AccountingSupplierParty>
<!-- ... omitted for readability -->
<cac:Party>
<!-- ... omitted for readability -->
<cac:PartyLegalEntity>
<cbc:CompanyID schemeID="0002">100000009</cbc:CompanyID>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingSupplierParty>
</ubl:Statement>
Updated about 16 hours ago
