Home › Forums › PDF24 Creator › Factur-X: schemeID 0002 missing in the XML
- This topic has 4 replies, 3 voices, and was last updated 1 day, 12 hours ago by bp60.
-
AuthorPosts
-
2026-04-14 at 08:03 #64307bp60Participant
Hello,
schemeID 0009 is OK but
schemeID 0002 is not present in your xml
<ram:SellerTradeParty>
<ram:GlobalID schemeID="0009">12345678200001</ram:GlobalID>
<ram:Name>STE ABCDKLM</ram:Name>
<ram:SpecifiedLegalOrganization>
<ram:ID schemeID="0002">123456782</ram:ID> // schemeID 0002 not present in your xml
</ram:SpecifiedLegalOrganization>
<ram:BuyerTradeParty>
<ram:GlobalID schemeID="0009">98765432100001</ram:GlobalID>
<ram:Name>STE JACHETE</ram:Name>
<ram:SpecifiedLegalOrganization>
<ram:ID schemeID="0002">987654321</ram:ID> // schemeID 0002 not present in your xml
</ram:SpecifiedLegalOrganization>
2026-04-14 at 09:50 #64308Stefan ZieglerKeymaster<ram:ID schemeID="0002">123456782</ram:ID>
This is BT-29. According to the standard, there is no schemeId attribute here. So, you habe to use <ram:GlobalID schemeID="0002"> instead because only GlobalID has the schemeID attribute. You can add multiple globals Ids if this is required.
2026-04-14 at 10:46 #64309bp60ParticipantHello,
SIREN must be BT-30 schemeID 0002
<ram:SellerTradeParty>
<ram:ID>PRIVATE_123</ram:ID> <!-- BT-29 (Identifiant du vendeur) : PRIVATE_123 -->
<ram:GlobalID schemeID="0088">587451236587</ram:GlobalID> <!-- BT-29-0 (Identifiant du vendeur (Global ID)) : 587451236587 -->
<ram:GlobalID schemeID="0009">10000000900017</ram:GlobalID> <!-- BT-29-0 (Identifiant du vendeur (Global ID)) : 10000000900017 -->
<ram:GlobalID schemeID="0060">DUNS1235487</ram:GlobalID> <!-- BT-29-0 (Identifiant du vendeur (Global ID)) : DUNS1235487 -->
<ram:GlobalID schemeID="0231">500000005</ram:GlobalID> <!-- BT-29-0 (Identifiant du vendeur (Global ID)) : 500000005 -->
<ram:Name>LE VENDEUR</ram:Name> <!-- BT-27 (Raison sociale du vendeur) : LE VENDEUR -->
<ram:Description>SARL AU CAPITAL DE 50 000 EUROS</ram:Description> <!-- BT-33 (Informations juridiques additionnelles sur le vendeur) : SARL AU CAPITAL DE 50 000 EUROS -->
<ram:SpecifiedLegalOrganization>
<ram:ID schemeID="0002">100000009</ram:ID> <!-- BT-30 (Identifiant d’enregistrement légal du vendeur) : 100000009 -->
<ram:TradingBusinessName>VENDEUR NOM COMMERCIAL</ram:TradingBusinessName> <!-- BT-28 (Appellation commerciale du vendeur) : VENDEUR NOM COMMERCIAL -->
</ram:SpecifiedLegalOrganization>
2026-10-30 at 08:21 #64812PDF24 SupportModeratorHello,
you are right: the SIREN belongs in BT-30 (legal registration identifier of the seller) with schemeID 0002.
In the e-invoice generator enter the SIREN in the field Trade ID of the seller and choose
0002(SIRENE) in the field Type next to it. The buyer has the same fields for BT-47.In older versions the selected scheme was not written into the Factur-X/ZUGFeRD XML. This is fixed in the current version 11.31.1, please update: https://tools.pdf24.org/en/creator
The online generator writes the schemeID as well: https://tools.pdf24.org/en/create-electronic-invoice
2026-10-30 at 18:26 #65387bp60Participantok merci
-
AuthorPosts
- You must be logged in to reply to this topic.