Skip to content
New issue

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

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

Already on GitHub? # to your account

Recommendation N°21 not implemented? #26

Open
JoeyL-pf opened this issue Nov 4, 2019 · 1 comment
Open

Recommendation N°21 not implemented? #26

JoeyL-pf opened this issue Nov 4, 2019 · 1 comment

Comments

@JoeyL-pf
Copy link

JoeyL-pf commented Nov 4, 2019

if unitcode from Rec. N°21 is used for quantity code

<ram:IncludedSupplyChainTradeLineItem>
    <ram:SpecifiedLineTradeDelivery>
          <ram:PackageQuantity unitCode="CT">4.0000</ram:PackageQuantity>

ZUV returns:

 <error type="4" location="/*[local-name()='CrossIndustryInvoice']/*[local-name()='SupplyChainTradeTransaction']/*[local-name()='IncludedSupplyChainTradeLineItem'][1]/*[local-name()='SpecifiedLineTradeDelivery']/*[local-name()='PackageQuantity']" criterion="document('zugferd2p0_extended_codedb.xml')//cl[@id=9]/enumeration[@value=$codeValue9]">
>         Wert von '@unitCode' ist unzulässig.</error>

Maybe Rec. N°21 isn't implemented?
I used a official example from ZUGFeRD

zugferd_2p0_EXTENDED_Warenrechnung.pdf

@jstaerk
Copy link
Contributor

jstaerk commented Nov 5, 2019

Hi,
there are codes from both rec 20 and 21 in the codelists (e.g. XPP should work) but I am not sure if all from 21 are allowed, neither https://ec.europa.eu/cefdigital/wiki/display/CEFDIGITAL/Code+lists nor the (official ZUGFeRD) codelist xml files list CT.
I contacted whom I consider responsible for the sample files, when I hear anything I'll let you know.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants