Skip to content

BR-CL-01 in UBL to be corrected - 502 and 503 are Credit Notes - URGENT #461

@csautereau

Description

@csautereau

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 Note

But 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions