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.
Please note that there is a validation rule verifying that when Strd occurrence includes both CdtNotAmt and RmtdAmt, their values have to match the value given in InstdAmt. Following error is given if they do not:
The amount specified in 'InstdAmt' does not match with amounts given in 'RmtInf/Strd'. InstdAmt has to be the result of arithmetic sum of 'RmtdAmt' subtracted by arithmetic sum of 'CdtNoteAmt'.
When CdtrRefInf is given, both Tp and Ref is mandatory.
In addition, when CdtrRefInf is given, either 'RmtdAmt' or 'CdtNoteAmt' is required.