[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... sorry |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]