[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl-dev] Representing taxable freight charges in an Invoice
Thanks for the response. I'd ruled out FreightInvoice earlier as for my
purposes, freight is treated as just another line item. Looks like neither OIOUBL nor NESUBL use it either. Here is the updated example as per your other suggestions: <cac:AllowanceCharge> <cbc:ChargeIndicator>true</cbc:ChargeIndicator> <cbc:AllowanceChargeReason>Freight</cbc:AllowanceChargeReason> <cbc:Amount currencyID="AUD">10.00</cbc:Amount> <!-- amount excludes tax --> <cac:TaxCategory> <cbc:Percent>10.00</cbc:Percent> <cac:TaxScheme> <cbc:ID>GST</cbc:ID> </cac:TaxScheme> </cac:TaxCategory> <cac:TaxTotal> <cbc:TaxAmount currencyID="AUD">1.00</cbc:TaxAmount> </cac:TaxTotal> </cac:AllowanceCharge> <cac:AllowanceCharge> <cbc:ChargeIndicator>true</cbc:ChargeIndicator> <cbc:AllowanceChargeReason>Untaxed freight</cbc:AllowanceChargeReason> <cbc:Amount currencyID="AUD">10.00</cbc:Amount> <cac:TaxCategory> <cbc:Percent>00.00</cbc:Percent> <cac:TaxScheme> <cbc:ID>GST</cbc:ID> </cac:TaxScheme> </cac:TaxCategory> <cac:TaxTotal> <cbc:TaxAmount currencyID="AUD">0.00</cbc:TaxAmount> </cac:TaxTotal> </cac:AllowanceCharge> Also, whats the rationale behind including TaxCategory in AllowanceCharge but not on InvoiceLine? On InvoiceLine it looks like it must be specified via the TaxSubtotal, requiring elements to be duplicated. From the UBL-Invoice-2.0-Example.xml: <cac:InvoiceLine> <cbc:LineExtensionAmount currencyID="GBP">100.00</cbc:LineExtensionAmount> <cac:TaxTotal> <cbc:TaxAmount currencyID="GBP">17.50</cbc:TaxAmount> <cbc:TaxEvidenceIndicator>true</cbc:TaxEvidenceIndicator> <cac:TaxSubtotal> <cbc:TaxableAmount currencyID="GBP">100.00</cbc:TaxableAmount> <cbc:TaxAmount currencyID="GBP">17.50</cbc:TaxAmount> <cac:TaxCategory> <cbc:ID>A</cbc:ID> <cac:TaxScheme> <cbc:ID>UK VAT</cbc:ID> <cbc:TaxTypeCode>VAT</cbc:TaxTypeCode> </cac:TaxScheme> </cac:TaxCategory> </cac:TaxSubtotal> </cac:TaxTotal> ..... Thanks, Tim Roberto Cisternino wrote: 4066.82.58.182.164.1288278236.squirrel@mail.javest.com" type="cite">please remove the 2nd row of my answer... sorryHello, as the TaxAmount is separated by th 1st of all I believe you are using an UBL-FreightInvoice-2.0 The FreightInvoice is exaclty an UBL Invoice with an additional aggregate called "Shipment" where you can find a specific "FreightAllowanceCharge" data structure. GST is a scheme of tax, so you have to explode the TaxTotal and specify the TaxCategory where you can put a percentage and expand the TaxScheme to specify "GST" on its ID. You can further fill up the TaxCategory with further information related to the GST category use case. Hope this helps, Roberto CisterninoHi all, how is freight typically represented in an Invoice? I want to represent freight costs which may or may not attract 10% GST. E.g: <cac:AllowanceCharge> <cbc:ChargeIndicator>true</cbc:ChargeIndicator> <cbc:AllowanceChargeReason>Freight with GST</cbc:AllowanceChargeReason> <cbc:Amount currencyID="AUD">10.00</cbc:Amount> <cac:TaxTotal> <cbc:TaxAmount currencyID="AUD">1.00</cbc:TaxAmount> </cac:TaxTotal> </cac:AllowanceCharge> <cac:AllowanceCharge> <cbc:ChargeIndicator>true</cbc:ChargeIndicator> <cbc:AllowanceChargeReason>Freight without GST</cbc:AllowanceChargeReason> <cbc:Amount currencyID="AUD">50.00</cbc:Amount> </cac:AllowanceCharge> I'm assuming that the AllowanceCharge/Amount and Invoice/LegalMonetaryTotal/ChargeTotalAmount exclude tax. Is this valid? Thanks, Tim --------------------------------------------------------------------- To unsubscribe, e-mail: ubl-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: ubl-dev-help@lists.oasis-open.org-- * 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 2148123begin_of_the_skype_highlighting +39 328 2148123 end_of_the_skype_highlighting begin_of_the_skype_highlighting +39328 2148123 end_of_the_skype_highlighting 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]