/ubl:Statement/cac:AccountingCustomerParty

Statement Buyer Group

France | VRBL-Transactions-FR-1p0
Context ID STM0112
Usage C
Usage Description

Required when reporting purchase invoices. Otherwise, you must provide an empty cac:AccountingSupplierParty element to satisfy VRBL schema requirements.

Mandate Business Term Code TG-5
Final Format Path /Report/ReportDocument/Issuer

Description

The accounting customer party.

In France, this identifies the party (declarant) issuing the report when submitting purchase invoices. All child elements will be mapped to the corresponding TG-5 child elements.

Child elements
Usage Element Description Cardinality
M cac:Party Statement Buyer Party Group

The customer party itself.

0..1
Details

vrbl-txs-fr-1p0

In the final format, the issuer group (TG-5) requires a role code from the UNCL 3035 code list depending on the report covering SALES or PURCHASES:

  • BY (Buyer): Assigned when the declarant is the buyer (used for purchase reporting). Used in this case.
  • SE (Seller): Assigned when the declarant is the seller (used for sales reporting).

This value is automatically derived during mapping based on the party populated in the VRBL input:
If /ubl:Statement/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID is populated, the role maps to BY."
If /ubl:Statement/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID is populated, the role maps to SE.

Example: VRBL-Statement-Transactions_Purchases_IN_multiple.xml

<ubl:Statement>
  <!-- ... omitted for readability -->
  <cac:AccountingCustomerParty>
    <cac:Party>
      <cac:PartyName>
        <cbc:Name>ACHETEUR NOM</cbc:Name>
      </cac:PartyName>
      <cac:PartyLegalEntity>
        <cbc:CompanyID schemeID="0002">100000009</cbc:CompanyID>
      </cac:PartyLegalEntity>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <!-- ... omitted for readability -->
</ubl:Statement>