-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
501 and 502 are credited notes
502 | Self billet factored Credit Note, Credit note type, Corrected | Credit Note -- | -- | -- 503 | Prepayment credit note, credit note type, Corrected | Credit NoteBut in BR-CL-01 in UBL, they are considered as invoice kind
<assert id="BR-CL-01" flag="fatal" test="(self::cbc:InvoiceTypeCode and ((not(contains(normalize-space(.), ' ')) and contains(' 71 80 81 82 84 102 130 202 203 204 211 218 219 295 325 326 331 380 382 383 384 385 386 387 388 389 390 393 394 395 456 457 471 472 473 500 501 **502 503** 527 553 575 623 633 751 780 817 870 875 876 877 935 ', concat(' ', normalize-space(.), ' '))))) or (self::cbc:CreditNoteTypeCode and ((not(contains(normalize-space(.), ' ')) and contains(' 81 83 261 262 296 308 381 396 420 458 532 ', concat(' ', normalize-space(.), ' ')))))">[BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001.</assert>
Remove 502 502 from the first list and insert in second list
Metadata
Metadata
Assignees
Labels
No labels