[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Draft 5 of UBL 2 Invoice Calculation Model Rules
Please would somebody especially review rules 6 and 8 where PrepaidAmount is concerned. I have tried to avoid issues around PrepaidAmount and taxes. Also, I have not much experience with rounding amounts to know whether, if declared in the invoice, it affects these rules. --- Stephen D Green 2009/10/8 Stephen Green <stephengreenubl@gmail.com>: > Draft 5 of UBL 2 Invoice Calculation Model Rules > > > > The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL > NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and > "OPTIONAL" in this document are to be interpreted as described in > RFC 2119. > > http://www.ietf.org/rfc/rfc2119.txt > > > ------- > U2ICMDraft5Rule1: > > "To be a conforming UBL 2 invoice the document MUST be valid according > to a standard UBL 2 Invoice schema." > > [A prerequisite to the following rules is that all amounts concerned > are expressed in the same currency.] > > U2ICMDraft5Rule2: > > "The 'LineExtensionAmount' in the invoice 'LegalMonetaryTotal' SHOULD > equal the sum of all 'LineExtensionAmount's in all of the invoice lines." > > U2ICMDraft5Rule3: > > "The 'TaxExclusiveAmount' in the invoice 'LegalMonetaryTotal' SHOULD > equal the sum of the 'LineExtensionAmount's in all of the invoice lines > plus the sum of the invoice 'AllowanceCharge' charges minus the sum of > the invoice 'AllowanceCharge' allowances (with the exception of there > being no 'TaxExclusiveAmount' in the invoice 'LegalMonetaryTotal')." > > U2ICMDraft5Rule4: > > "The 'AllowanceTotalAmount' in the invoice 'LegalMonetaryTotal' SHOULD > equal the sum of any invoice 'AllowanceCharge' allowances." > > U2ICMDraft5Rule5: > > "The 'ChargeTotalAmount' in the invoice 'LegalMonetaryTotal' SHOULD > equal the sum of any invoice 'AllowanceCharge' charges." > > U2ICMDraft5Rule6: > > "If there are no taxes amounts in the invoice then the 'TaxExclusiveAmount' > in the invoice 'LegalMonetaryTotal' SHOULD equal the 'LineExtensionAmount' > minus any 'AllowanceTotalAmount' plus any 'ChargeTotalAmount' minus any > 'PrepaidAmount' (in the invoice 'LegalMonetaryTotal'), (with the exception > of there being no 'TaxExclusiveAmount' in the invoice 'LegalMonetaryTotal'). > If there are taxes amounts in the invoice but no PrepaidAmount then the > 'TaxExclusiveAmount' in the invoice 'LegalMonetaryTotal' SHOULD equal the > 'LineExtensionAmount' minus any 'AllowanceTotalAmount' plus any > 'ChargeTotalAmount' (in the invoice 'LegalMonetaryTotal'), (with the exception > of there being no 'TaxExclusiveAmount' in the invoice 'LegalMonetaryTotal')." > > U2ICMDraft5Rule7: > > "Any 'TaxInclusiveAmount' in the invoice 'LegalMonetaryTotal' SHOULD be > equal to the 'TaxExclusiveAmount' (in the invoice 'LegalMonetaryTotal') > plus the sum of any invoice total tax amounts (at invoice document level) > (with the exception of there being tax amounts in currencies other > than the currency of the invoice totals or there being is no > 'TaxExclusiveAmount' in the invoice 'LegalMonetaryTotal')." > > U2ICMDraft5Rule8: > > "The 'PayableAmount' in the invoice 'LegalMonetaryTotal' SHOULD be > equal to any 'TaxInclusiveAmount' (in the invoice 'LegalMonetaryTotal') > minus any 'PrepaidAmount' (in the invoice 'LegalMonetaryTotal') unless > there is no 'TaxInclusiveAmount' and there are no tax amounts in > which case the 'PayableAmount' SHOULD equal the 'TaxExclusiveAmount' > minus any 'PrepaidAmount' (in the invoice 'LegalMonetaryTotal') (with > the exception of there being no 'TaxExclusiveAmount' in the invoice > 'LegalMonetaryTotal')." > > U2ICMDraft5Rule9: > > "The sum of any invoice document level tax total amounts SHOULD equal the > sum of any document level subtotal tax amounts (with the exception of > the number of different currencies for taxes in the invoice being > greater than one)." > > U2ICMDraft5Rule10: > > "Any implementation of the UBL 2 invoice which overrides any of these rules > SHOULD make this explicit and explicitly state the overriding calculation > rules." > > > ------ > > --- > Stephen D Green >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]