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

XRechnung 2.0.1 UBL Credit Note examples are broken #51

Closed
phax opened this issue Dec 18, 2020 · 2 comments
Closed

XRechnung 2.0.1 UBL Credit Note examples are broken #51

phax opened this issue Dec 18, 2020 · 2 comments
Assignees
Labels
bug Something isn't working syntax/ubl-creditenote Relates to UBL CrediteNote syntax

Comments

@phax
Copy link
Collaborator

phax commented Dec 18, 2020

Hi @rkottmann, sorry to bug you again ;-)

Most of your UBL CreditNote test files from 2.0.1 trigger the error described in ConnectingEurope/eInvoicing-EN16931#257 because of the duplicate TaxTotal element:

  <cac:TaxTotal>
      <cbc:TaxAmount currencyID="EUR">2048.44</cbc:TaxAmount>
      <cac:TaxSubtotal>
         <cbc:TaxableAmount currencyID="EUR">10781.25</cbc:TaxableAmount>
         <cbc:TaxAmount currencyID="EUR">2048.44</cbc:TaxAmount>
         <cac:TaxCategory>
            <cbc:ID>S</cbc:ID>
            <cbc:Percent>19</cbc:Percent>
            <cac:TaxScheme>
               <cbc:ID>VAT</cbc:ID>
            </cac:TaxScheme>
         </cac:TaxCategory>
      </cac:TaxSubtotal>    
  </cac:TaxTotal>
  
  
  <cac:TaxTotal>
      <cbc:TaxAmount currencyID="EUR">2048.44</cbc:TaxAmount>
  </cac:TaxTotal>

After removing

  <cac:TaxTotal>
      <cbc:TaxAmount currencyID="EUR">2048.44</cbc:TaxAmount>
  </cac:TaxTotal>

other (expected or unexpected) errors occur.
Please update your test file generator accordingly.

@rkottmann
Copy link
Member

argh, forgot to inlcude them in the intgration tests..

@lkumai pls help out

@rkottmann rkottmann added bug Something isn't working syntax/ubl-creditenote Relates to UBL CrediteNote syntax labels Dec 18, 2020
@phax
Copy link
Collaborator Author

phax commented Apr 2, 2021

Fixed in EN release 1.3.5. Will be part of the next validation configuration release.
Key errror in this example: the 2 <cac:TaxTotal> elements need to use different currency IDs

@phax phax closed this as completed Apr 2, 2021
bdewein pushed a commit that referenced this issue Oct 13, 2022
Resolve "CEN Unit Test for Kosovo Country Code"

Closes #51

See merge request xrechnung/validator-configuration-xrechnung!43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working syntax/ubl-creditenote Relates to UBL CrediteNote syntax
Projects
None yet
Development

No branches or pull requests

3 participants