An Invoice shall contain the Buyer name (BT-44).
The invoice contains no non-empty ram:Name for ram:BuyerTradeParty. The buyer name (BT-44) is therefore missing.
The name identifies the buyer as a party to the invoice and associates the buyer details with that party.
The buyer’s name is missing from the invoice. Add it to complete the buyer details.
- Add a non-empty
ram:Nameinsideram:BuyerTradePartyin the XML. - Check that
Party.Namesets the buyer’s name. - Generate the invoice again and validate it once more.
<ram:BuyerTradeParty> <ram:Name/> </ram:BuyerTradeParty>
<ram:BuyerTradeParty> <ram:Name>Beispiel AG</ram:Name> </ram:BuyerTradeParty>
Party.Name(BuyerTradeParty: BT-44)
Technical details
The test requires ram:BuyerTradeParty/ram:Name to contain a value other than the empty string.
The rule applies to the name in ram:BuyerTradeParty within the document-level trade agreement.
rule/@context)assert/@test)