The Payee name (BT-59) shall be provided in the Invoice, if the Payee (BG-10) is different from the Seller (BG-4).
The payee’s name ram:Name is missing even though the payee does not match the seller by name, identifier ram:ID, or the identifier in ram:SpecifiedLegalOrganization/ram:ID.
If the payee differs from the seller based on the details checked, the invoice must include the payee’s name. This identifies the payee as a separate party.
The invoice contains a payee who differs from the seller, but no name for that payee. Add the name so the party is identified.
- Add the name in
ram:PayeeTradeParty/ram:Name. - Check the payee’s
Namevalue, then regenerate the invoice and check it again.
<ram:PayeeTradeParty> <ram:ID>PAYEE-1</ram:ID> </ram:PayeeTradeParty>
<ram:PayeeTradeParty> <ram:ID>PAYEE-1</ram:ID> <ram:Name>Autre bénéficiaire</ram:Name> </ram:PayeeTradeParty>
FacturXInvoice.SetSeller(name, postcode, city, street, street2, country, id, globalID, legalOrganization, description, countrySubdivisonName, addressLine3)(BG-4)FacturXInvoice.Seller(BG-4)Party.Name(PayeeTradeParty: BT-59)
Technical details
The test requires ram:Name when none of the payee’s name, ram:ID, or ram:SpecifiedLegalOrganization/ram:ID matches the corresponding seller value.
The rule applies to ram:PayeeTradeParty and compares its details with those of the seller, ram:SellerTradeParty.
rule/@context)assert/@test)