If the invoice line item free text subject code (BT-X-10) is specified, either the coded invoice line item free text (BT-X-9) or the invoice line item free text (BT-127) must be specified, or both. If both BT-X-9 and BT-127 are specified, both must have the same meaning.
Both ram:ContentCode and ram:Content are missing for the specified subject code. At least one of the two elements must be present. If both are provided, they must have the same meaning.
The subject code identifies the type of note; a code or free text provides its content. If both forms of content are present, they must agree in meaning.
A subject is provided for the invoice-line note, but its content is missing. Add a content code or free text; if you provide both, they must have the same meaning.
- In
ram:IncludedNote, provide eitherContentCodeorContent. - If you provide both, make sure they have the same meaning.
- If you use the model, check the call to
AddNote(...). - Regenerate the invoice and validate it again.
<ram:IncludedNote> <ram:SubjectCode>AAI</ram:SubjectCode> </ram:IncludedNote>
<ram:IncludedNote> <ram:SubjectCode>AAI</ram:SubjectCode> <ram:Content>Hinweis zur Rechnungsposition</ram:Content> </ram:IncludedNote>
AssociatedDocument.Notes(BT-127)TradeLineItem.AddNote(note, subjectCode, contentCode)(BT-127)
ram:ContentCode is the coded content; ram:Content is the content in free text.
Technical details
When ram:SubjectCode is present, the test requires at least one of ram:ContentCode or ram:Content. The test does not check whether both contents have the same meaning.
This rule applies to a ram:IncludedNote within ram:AssociatedDocumentLineDocument when ram:SubjectCode is provided.
rule/@context)assert/@test)