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,
you need to think a TaxTotal as a container for TaxSubtotals within the
same TaxScheme (e.g. VAT)

Use a TaxTotal for VAT, another for GST, so on...

The TaxTotal has a TaxAmount information item that is representing the
total of all TaxSubtotals and it has to be related to a single TaxScheme.

Best regards

Roberto

> 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]