Release CompanyID
What is changing?
This release updates the information used to populate the following section of the generated UBL invoice:
<cac:PartyLegalEntity>
<cbc:RegistrationName></cbc:RegistrationName>
<cbc:CompanyID schemeID="0208">XXXX</cbc:CompanyID>
</cac:PartyLegalEntity>
Previously, the CompanyID field was always populated using the vatNumber value from the unified JSON.
We will now use the enterpriseNumber value when it is available. When enterpriseNumber is not provided, the existing behavior remains unchanged and vatNumber will be used as the fallback value.
Why are we making this change?
Some country-specific invoice flows, particularly in the Netherlands and Germany, expect this field to contain an enterprise or company registration number rather than a VAT number.
Using the VAT number systematically could therefore result in data-consistency or validation issues for these flows.
Impact
No action is required from customers who already provide the appropriate enterpriseNumber value in the unified JSON.
This update does not affect:
- Peppol participant reachability
- The Endpoint ID used for Peppol routing
- Participant identification on the Peppol network
- Invoice-routing logic
The change applies exclusively to the content of the generated UBL invoice document.