OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [ubl-dev] TaxTotal with several TaxScheme


Hello Pierre,

the example provided by Tradeshift is correct for the structure and is
showing a single TaxScheme, thus possibly a less complex situation
compared to your requirements.

Anyway please pay attention on the content provided that appears to be
uncorrect.

The TaxScheme ID provided is "OTH" that according Un/ECE 5153 is:

     OTH   Other taxes
              Unspecified, miscellaneous tax charges.

then they provided "VAT" as the name of the tax scheme which is a bad
practice because the 5153 code list contains a specific ID for VAT:

     VAT   Value added tax
              A tax on domestic or imported goods applied to the value
              added at each stage in the production/distribution
              cycle.

So a better example for the TaxScheme is the following:

<cac:TaxScheme>
   <cbc:ID schemeAgencyID="6" schemeID="UN/ECE 5153 Subset"
schemeVersionID="D08B">VAT</cbc:ID>
   <cbc:Name>Value Added Tax</cbc:Name>
</cac:TaxScheme>

Hope this helps,

Best regards

Roberto Cisternino

UBL ITalian Localization SubCommittee, co-chair


> Hi Pierre,
>
> Here is how we do it in Tradeshift for our French customers.
>
> <cac:TaxTotal>
> <cbc:TaxAmount currencyID="EUR">1.62</cbc:TaxAmount>
> <cac:TaxSubtotal>
> <cbc:TaxableAmount currencyID="EUR">6.00</cbc:TaxableAmount>
> <cbc:TaxAmount currencyID="EUR">1.18</cbc:TaxAmount>
> <cac:TaxCategory>
> <cbc:ID schemeAgencyID="6" schemeID="UN/ECE 5305" schemeVersionID="D08B">S
> </cbc:ID>
> <cbc:Percent>19.6</cbc:Percent>
> <cac:TaxScheme>
> <cbc:ID schemeAgencyID="6" schemeID="UN/ECE 5153 Subset" schemeVersionID="
> D08B">OTH</cbc:ID>
> <cbc:Name>VAT</cbc:Name>
> </cac:TaxScheme>
> </cac:TaxCategory>
> </cac:TaxSubtotal>
> <cac:TaxSubtotal>
> <cbc:TaxableAmount currencyID="EUR">8.00</cbc:TaxableAmount>
> <cbc:TaxAmount currencyID="EUR">0.44</cbc:TaxAmount>
> <cac:TaxCategory>
> <cbc:ID schemeAgencyID="6" schemeID="UN/ECE 5305" schemeVersionID="D08B">S
> </cbc:ID>
> <cbc:Percent>5.5</cbc:Percent>
> <cac:TaxScheme>
> <cbc:ID schemeAgencyID="6" schemeID="UN/ECE 5153 Subset" schemeVersionID="
> D08B">OTH</cbc:ID>
> <cbc:Name>VAT</cbc:Name>
> </cac:TaxScheme>
> </cac:TaxCategory>
> </cac:TaxSubtotal>
> </cac:TaxTotal>
>
> You are welcome to register an account for a French company on
> http://Tradeshift.com and experiment. You can download the invoice as UBL
> and see how we do it.
>
> Best regards,
> Mikkel
>
>
> On Thu, Mar 1, 2012 at 4:38 PM, BOURBIGOT, Pierre
> <Pierre.BOURBIGOT@sage.com
>> wrote:
>
>>  Hello,****
>>
>> ** **
>>
>> I?m working on implementation of Ubl Invoice 2.0 in France. When we have
>> several TaxScheme for an InvoiceLine or an Invoice, should I create only
>> one TaxTotal with several TaxSubTotal like this :****
>>
>> ** **
>>
>> <cac:TaxTotal>****
>>
>>  <cac:TaxSubtotal>****
>>
>>     <cac:TaxCategory>****
>>
>>       <cac:TaxScheme>****
>>
>>         <cbc:ID>VAT</cbc:ID>****
>>
>>       </cac:TaxScheme>****
>>
>>    </cac:TaxCategory>****
>>
>>   </cac:TaxSubtotal>****
>>
>>  <cac:TaxSubtotal>****
>>
>>     <cac:TaxCategory>****
>>
>>       <cac:TaxScheme>****
>>
>>         <cbc:ID>AAA</cbc:ID>****
>>
>>       </cac:TaxScheme>****
>>
>>    </cac:TaxCategory>****
>>
>>   </cac:TaxSubtotal>****
>>
>> </cac:TaxTotal>****
>>
>> ** **
>>
>> or several TaxTotal ? (one TaxTotal for each tax scheme) like this :****
>>
>> ** **
>>
>> <cac:TaxTotal>****
>>
>>  <cac:TaxSubtotal>****
>>
>>     <cac:TaxCategory>****
>>
>>       <cac:TaxScheme>****
>>
>>         <cbc:ID>VAT</cbc:ID>****
>>
>>       </cac:TaxScheme>****
>>
>>    </cac:TaxCategory>****
>>
>>   </cac:TaxSubtotal>****
>>
>> </cac:TaxTotal>****
>>
>> <cac:TaxTotal>****
>>
>>  <cac:TaxSubtotal>****
>>
>>     <cac:TaxCategory>****
>>
>>       <cac:TaxScheme>****
>>
>>         <cbc:ID>AAA</cbc:ID>****
>>
>>       </cac:TaxScheme>****
>>
>>    </cac:TaxCategory>****
>>
>>   </cac:TaxSubtotal>****
>>
>> </cac:TaxTotal>****
>>
>> ** **
>>
>> Thank you for your help.****
>>
>> ** **
>>
>> Pierre****
>>
>> ** **
>>
>


-- 
* JAVEST by Roberto Cisternino
*
* Document Engineering Services Ltd. - Alliance Member
* UBL Italian Localization SubCommittee (ITLSC), co-Chair
* UBL Online Community editorial board member (ubl.xml.org)
* Italian UBL Advisor

  Roberto Cisternino

  mobile: +39 328 2148123
  skype:  roberto.cisternino.ubl-itlsc

[UBL Technical Committee]
    http://www.oasis-open.org/committees/ubl

[UBL Online Community]
    http://ubl.xml.org

[UBL International Conferences]
    http://www.ublconference.org

[UBL Italian Localization Subcommittee]
    http://www.oasis-open.org/committees/ubl-itlsc

[Iniziativa divulgativa UBL Italia]
    http://www.ubl-italia.org




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]