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


While not disagreeing with Roberto, personally, I think the proper way to show exemption
from the tax in an Invoice (at invoice line level) is using cac:TaxExemptionReason like this...


...
<cac:InvoiceLine>
...

        <cac:TaxTotal>
            <cbc:TaxAmount currencyID="xyz">0.00</cbc:TaxAmount>
            <cbc:TaxEvidenceIndicator>true</cbc:TaxEvidenceIndicator>
            <cac:TaxSubtotal>
                <cbc:TaxableAmount currencyID="xyz">0.00</cbc:TaxableAmount>
                <cbc:TaxAmount currencyID="GBP">0.00</cbc:TaxAmount>
                <cac:TaxCategory>
                    <cbc:ID>A</cbc:ID>
                    <cbc:Percent0</cbc:Percent>
                    <cbc:TaxExemptionReason>Wholesale</cbc:TaxExemptionReason>
                    <cac:TaxScheme>
                        <cbc:ID>VAT</cbc:ID>
                        <cbc:TaxTypeCode>VAT</cbc:TaxTypeCode>
                    </cac:TaxScheme>
                </cac:TaxCategory>
            </cac:TaxSubtotal>
        </cac:TaxTotal>
        <cac:Item>
        ...

Perhaps using a code agreed with tax office for cac:TaxExemptionReasonCode

However, UBL localisation for your country, if it exists (I didn't see your locality
in the enquiry) may recommend an agreed way to do this where you are (or maybe
where your customers or trading partners are, if that is more relevant).

Personally I would not use PriceType in an invoice, only in a Catalogue or the like.
If you do use it, I would think (and maybe local tax offices would think) it would be
superfluous and should not take the place of including the details I show in the
above example (in an invoice at least). Maybe PriceType has some relevance in
a Quotation (maybe an Order too, but less relevant) as well as a Catalogue.

Best regards

Steve

--
Stephen D. Green

Document Engineering Services Ltd



http://www.biblegateway.com/passage/?search=matthew+22:37 .. and voice



2008/11/5 Roberto Cisternino <roberto@javest.com>
Hello,
you can maybe use this codelist available in CEFACT:

Search this codelist at
http://www.unece.org/cefact/xml_schemas/index.htm#2007B

UNECE_PriceTypeCode_D07B.xsd

Best regards

Roberto Cisternino


> Hi all,
>  
> I am a little new in using UBL, and I am trying to generate an XML file
> for invoice, from my application . In some cases the price for items is
> with taxes (retail) or without taxes (wholesale). I want to specify in the
> field PriceTypeCode the value for retail or taxes.
> Where I can find this list of codes for PriceType?
>  
> Thank you very much,
> Horia Demian
>
>
>


--
* Document Engineering Services Ltd. - Associate Director
* UBL Italian Localization SubCommittee (ITLSC), co-Chair
* UBL Online Community editorial board member (ubl.xml.org)
* Italian UBL Advisor
* OASIS NEWS Italian translator

 Roberto Cisternino

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

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

[UBL Italian Localization Subcommittee]
   http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=ubl-itlsc

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

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

[Gruppo Esperti UBL]   (...in avviamento)
   http://www.ublguild.org/

[Free UBL Writer @ JAVEST]
   http://www.javest.com






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