GithubHelp home page GithubHelp logo

Comments (7)

phax avatar phax commented on May 28, 2024

The underlying codelist is UNTDID 1153 D16B and this one states "VA" is the correct one - https://www.unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred1153.htm

But there are other rules that still reference 'VAT':

  <param name="UBL-SR-12" value="(count(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID) &lt;= 1)"/>
  <param name="UBL-SR-13" value="(count(cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID!='VAT']/cbc:ID) &lt;= 1)"/>

from einvoicing-en16931.

oriol avatar oriol commented on May 28, 2024

from einvoicing-en16931.

oriol avatar oriol commented on May 28, 2024

We follow the UNTDID 1153 codelist that uses "VA" instead of "VAT". The SR rules need to be corrected.

from einvoicing-en16931.

phax avatar phax commented on May 28, 2024

Please close when commit is present - thx :)

from einvoicing-en16931.

oriol avatar oriol commented on May 28, 2024

Solved

from einvoicing-en16931.

sarafacchinetti avatar sarafacchinetti commented on May 28, 2024

In the EN 16931-1:2017 the UNTDID 1153 is referenced only in BT-18 and BT-128.
Is this indication only for the mapping with UBL 2.1 (TS 16931-3-2)?

UNTDID 1153 looks appropriate (VA: VAT registration number) for cac:TaxScheme/cbc:ID in the BT-31 (Seller VAT id) and BT-48 (Buyer VAT id).
Why is it also used in BG-30 (Line VAT information) and in BG-23 (VAT breakdown) where we are not talking about a VAT registration number but simply the VAT ? (UNTDID 5153 is used in some old example -> VAT: Value added tax)

from einvoicing-en16931.

oriol avatar oriol commented on May 28, 2024

cac:TaxScheme/cbc:ID is not defined in the Norm, but it is required in the UBL syntax. That's why it has been included in the syntax binding.

The use of VA instead of VAT is just for consistency with BT-18 and BT-128, avoiding people using "VA" in one place and "VAT" in another one.

from einvoicing-en16931.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.