Comments (3)
ok, code list 4451
from einvoicing-en16931.
Can you please show a complete example of how to use BT-21?
Accoring to the TS is is stated "...for the following textual note".
How to interpret this?
Is the first variant correct:
<cbc:Note>#AAA#Human readable description line one</cbc:Note>
<cbc:Note>#AAA#Human readable description line two</cbc:Note>
<cbc:Note>No subject code</cbc:Note>
<cbc:Note>#BBB#Human readable description other subject code</cbc:Note>
or the second one?
<cbc:Note>#AAA#</cbc:Note>
<cbc:Note>Human readable description line one</cbc:Note>
<cbc:Note>Human readable description line two</cbc:Note>
<cbc:Note>##</cbc:Note> <!-- this should bring an error, but how to -deactivate- subject code again -->
<cbc:Note>No subject code</cbc:Note>
<cbc:Note>#BBB#</cbc:Note>
<cbc:Note>Human readable description other subject code</cbc:Note>
from einvoicing-en16931.
Even if the cardinality of cbc:Note in UBL is 0..n, this is just for translation purposes: UBL has unbounded textual elements to allow for translating the text in different languages, but not to provide for an unbounded set of data elements.
In this case, there is a cardinality mismatch with the Norm: the Norm allows for a group of unbounded notes and in UBL you shall group them into a single cbc:Note element.
Regading your examples, the one that would fit is:
<cbc:Note>#AAA#Textual note</cbc:Note>
in case there is a code
or
<cbc:Note>Textual note</cbc:Note>
when there is no code.
from einvoicing-en16931.
Related Issues (20)
- Typos in rule texts and xpath (UBL)
- README.md is not up to date HOT 2
- Include new publication adres for iso6523 HOT 2
- Redundant/broken rule in release v.1.3.9 HOT 5
- BR_IC_08 incorrect fail? HOT 9
- CII Validation artefact - rounding issue on BR-E-08 HOT 1
- CII - Xsd validation - Coupled schemas - ReasonCode - clm64465AllowanceChargeReasonCode:AllowanceChargeReasonCodeContentType HOT 2
- Typos in rule texts (CII)
- BR-51 check in UBL is bogus
- Codes
- CII - missing cardinality check for SpecifiedTradePaymentTerms HOT 1
- BR-17 rule checks too hard? HOT 4
- Typo in rule-text UBL-CR-583, UBL-CR-577 and UBL-CR-572 (UBL) HOT 1
- Typo in rule-text UBL-CR-282, UBL-CR-247 and UBL-CR-183 (UBL) HOT 1
- UBL-SR-51 does not check cac:DeliveryLocation HOT 1
- Error in Validation of Rule BR-E-08 HOT 1
- CII - missing cardinality check for ApplicableTradeTax (BG-30) HOT 1
- Validate line total HOT 1
- `UBL-SR-43` using attribute `scheme` instead of `schemeID` HOT 1
- CII BT-17 and BT-18 checks to be improved HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from einvoicing-en16931.