RmtInf / Strd
Table of contents
DNB Implementation Guide states the following for RemittanceInformation / Structured:
When the structured remittance information is used, 'RfrdDocInf' element group or 'CdtrRefInf' element group must be used.
It is recommended to specify the related amounts, though is mandatory to give the amount (either 'RmtdAmt' or 'CdtNoteAmt' when 'CdtrRefInf' is used).
Best practice for minimum usage: Populate invoice number and remitted amount or credit note amount with currency or 'CdtrRefInf'.
Below are screenshots of the schema. Please note that "NA" elements have been omitted and mandatoryness of certain elements has been added to the visualization.
So either RfrdDocInf or CdtrRefInf has to be given when Strd is used. Below is a screenshot of the usage of RfrdDocInf. Please note the Tp which is mandatory when RfrdDocInf is given. Values taken into account from Cd are CINV and CREN, to mark Commercial Invoice and Credit note, respectively.
Using the codewords CINV or CREN trigger a check verifying RmtdAmt or CdtNoteAmt is given, respectively.
Either of these amounts is mandatory when CdtrRefInf is used.