-
Notifications
You must be signed in to change notification settings - Fork 55
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
Error in Test UBL-SR-43 / UBL-CR-665/666/673 for CreditNote #408
Comments
As the DocumentType code follows UNECE 1001, it cannot be https://service.unece.org/trade/untdid/d16b/tred/tred1001.htm |
Thanks for clarification @phax.
|
@AndreasPvd I only have CEN/TS 16931-3-2:2021 (not 2020) at hand, and for BT-11, Project Reference, it doesn't say anything about ATS as qualifier. Actually, I can't see that it specifies any code (though 50 has been used since start in the schematrons). However, there seems the spec has an error in the example for BT-18 (Invoiced Object) where it says ATS in the cbc:DocumentType, it should have been 130 in cbc:DocumentTypeCode. To really confuse things, the examples are using the element cbc:DocumentType for textual description of document references, but there is no syntax binding to cbc:DocumentType, only cbc:DocumentDescription. |
130 is for Invoice Object (BT-18) |
|
I'm using the English version (there is not Swedish translation) True, BT-11 (Project reference) should not have a schemeID. The rule is phrased incorrectly. And for BT-11, you are correct, the syntax binding for CreditNote says ATS. What a mess. |
I was never talking about BT-11 ;) |
UBL-CR-665, UBL-CR-666, and UBL-CR-673 need to be addressed as well. UBL-CR-665, UBL-CR-666, UBL-CR-673, and UBL-SR-43 do not match because of the same reasons described above. |
Note: |
In case of a CreditNote it assumes the cbc:DocumentTypeCode="50" . According to CEN/TS 16931-3-2:2020 for a CreditNote the DocumentTypeCode for BT-18 in a CreditNote should be "ATS" and not "50".
The text was updated successfully, but these errors were encountered: