OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-comment message

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


Subject: Draft 4 of UBL 2 Invoice Calculation Model Rules


Draft 4 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


-------
U2ICMDraft4Rule1:

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

U2ICMDraft4Rule2:

"The 'LineExtensionAmount' in the invoice 'LegalMonetaryTotal' SHOULD
equal the sum of all 'LineExtensionAmount's in all of the invoice lines."

U2ICMDraft4Rule3:

"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')."

U2ICMDraft4Rule4:

"The 'AllowanceTotalAmount' in the invoice 'LegalMonetaryTotal' SHOULD
equal the sum of any invoice 'AllowanceCharge' allowances."

U2ICMDraft4Rule5:

"The 'ChargeTotalAmount' in the invoice 'LegalMonetaryTotal' SHOULD
equal the sum of any invoice 'AllowanceCharge' charges."

U2ICMDraft4Rule6:

"The 'LineExtensionAmount' in the invoice 'LegalMonetaryTotal' SHOULD
equal the 'TaxExclusiveAmount' plus any 'AllowanceTotalAmount' minus
any 'ChargeTotalAmount' (in the invoice 'LegalMonetaryTotal'), (with the
exception of there being no 'TaxExclusiveAmount' in the invoice
'LegalMonetaryTotal')."

U2ICMDraft4Rule7:

"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')."

U2ICMDraft4Rule8:

"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' in which case the 'PayableAmount'
SHOULD equal the 'TaxExclusiveAmount' (with the exception of there being
no 'TaxExclusiveAmount' in the invoice 'LegalMonetaryTotal')."

U2ICMDraft4Rule9:

"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
there being tax amounts in currencies other than the currency of the
invoice totals)."

------

Stephen D Green


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