Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BR-O-03 CII doesn't check absence of BT-48 field #414

Open
jaramend opened this issue Jan 7, 2025 · 0 comments
Open

BR-O-03 CII doesn't check absence of BT-48 field #414

jaramend opened this issue Jan 7, 2025 · 0 comments

Comments

@jaramend
Copy link

jaramend commented Jan 7, 2025

The rule BR-O-03 for CII format is incorrect.
The XPath for BT-48 field is incorrect in the test and so the check that this field is absent doesn't work (always true).

Actual implementation (for BT-48 field only) :
not (/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = 'VA'])

Solution :
not (//ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = 'VA'])

@phax phax added the Format CII label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants