Skip to content

Commit

Permalink
add code 532 from UNCL1001 to BR-CL-01
Browse files Browse the repository at this point in the history
  • Loading branch information
oriol committed Apr 12, 2018
1 parent ee35009 commit 8269086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubl/schematron/codelist/EN16931-UBL-codes.sch
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<pattern xmlns="http://purl.oclc.org/dsdl/schematron" id="Codesmodel">
<rule context="cbc:InvoiceTypeCode | cbc:CreditNoteTypeCode" flag="fatal">
<assert
test="((not(contains(normalize-space(.), ' ')) and contains(' 80 81 82 83 84 130 202 203 204 211 261 262 295 296 308 325 326 380 381 383 384 385 386 387 388 389 390 393 394 395 396 420 456 457 458 527 575 623 633 751 780 935 ', concat(' ', normalize-space(.), ' '))))" id="BR-CL-01"
test="((not(contains(normalize-space(.), ' ')) and contains(' 80 81 82 83 84 130 202 203 204 211 261 262 295 296 308 325 326 380 381 383 384 385 386 387 388 389 390 393 394 395 396 420 456 457 458 527 532 575 623 633 751 780 935 ', concat(' ', normalize-space(.), ' '))))" id="BR-CL-01"
flag="fatal">[BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001.</assert>
</rule>

Expand Down

2 comments on commit 8269086

@phax
Copy link
Collaborator

@phax phax commented on 8269086 Apr 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check if this needs to be done for CII and EDIFACT as well. Eventually create an issue and I do it. Thx

@phax
Copy link
Collaborator

@phax phax commented on 8269086 Apr 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created #63

Please sign in to comment.