The total amount of the Invoice with tax.
請求書合計金額(税込み)。


About

Syntax binding
ubl:Invoice / cac:LegalMonetaryTotal / cbc:TaxInclusiveAmount
Restricted Syntax Cardinality
1..1
Example
96470
Attribute(s)
@currencyID
UBL 2.1
XPath
/ Invoice / cac:LegalMonetaryTotal / cbc:TaxInclusiveAmount
Occurrence
0..1
Datatype
AmountType
UBL Definition
The monetary amount including taxes; the sum of payable amount and prepaid amount.
Namespace
cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2

Semantic

Business Term

Invoice total amount with TAX

請求書合計金額(税込み)
ID
ibt-112
Description
The total amount of the Invoice with tax.
請求書合計金額(税込み)。
Aligned Cardinality
1..1
Semantic datatype
Amount

Code list

ISO4217
ISO 4217 Currency codes

Child element

  ID Business term Sem. Card. Syntax Card. XPath
  1..1 1..1 / Invoice / cac:LegalMonetaryTotal / cbc:TaxInclusiveAmount / @currencyID

VERSION 1.0 RULES

Unchanged
Same as 0.9.3

VERSION 0.9.3 RULES
JP PINT 0.9.3 Shared rules
ibr-014(fatal)
Unchanged
Same as 0.9.2
ibr-125(fatal)
Unchanged
Same as 0.9.2
ibr-co-15(fatal)
Changed Test
[ibr-co-15]-Invoice total amount with Tax (ibt-112) = Invoice total amount without Tax (ibt-109) + Invoice total Tax amount (ibt-110).
context
/ubl:Invoice |
/cn:CreditNote
test
(cac:LegalMonetaryTotal/xs:decimal(cbc:TaxInclusiveAmount) =
  round(
    (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxExclusiveAmount) +
      cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=/*/cbc:DocumentCurrencyCode])
    ) * 10 * 10
  ) div 100
)
ibr-co-16(fatal)
Unchanged
Same as 0.9.2

VERSION 0.9.2 RULES
JP PINT 0.9.2 Shared rules
ibr-014(fatal)
Still valid
[ibr-014]-An Invoice MUST have the Invoice total amount with Tax (ibt-112).
context
cac:LegalMonetaryTotal
test
exists(cbc:TaxInclusiveAmount)
ibr-125(fatal)
Still valid
[ibr-125]- Invoice total amount with TAX (ibt-112) MUST have no more than 2 decimals.
context
cac:LegalMonetaryTotal
test
string-length(substring-after(cbc:TaxInclusiveAmount, '.')) <= 2
ibr-co-15(fatal)
Obsoleted
[ibr-co-15]-Invoice total amount with Tax (ibt-112) = Invoice total amount without Tax (ibt-109) + Invoice total Tax amount (ibt-110).
context
/ubl:Invoice |
/cn:CreditNote
test
every $Currency in cbc:DocumentCurrencyCode satisfies
(cac:LegalMonetaryTotal/xs:decimal(cbc:TaxInclusiveAmount) =
  round(
    (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxExclusiveAmount) +
      cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])
    ) * 10 * 10
  ) div 100
)
ibr-co-16(fatal)
Still valid
[ibr-co-16]-Amount due for payment (ibt-115) = Invoice total amount with Tax (ibt-112) - Paid amount (ibt-113) + Rounding amount (ibt-114).
context
cac:LegalMonetaryTotal
test
(
  xs:decimal(cbc:PrepaidAmount) and
  not(xs:decimal(cbc:PayableRoundingAmount)) and
  (
    xs:decimal(cbc:PayableAmount) =
    (
      round(
        (xs:decimal(cbc:TaxInclusiveAmount) -
          xs:decimal(cbc:PrepaidAmount)
        ) * 10 * 10
      ) div 100
    )
)) or
(
  not(
    xs:decimal(cbc:PrepaidAmount)) and
  not(xs:decimal(cbc:PayableRoundingAmount)) and
  xs:decimal(cbc:PayableAmount) =
  xs:decimal(cbc:TaxInclusiveAmount)) or
(
  xs:decimal(cbc:PrepaidAmount) and
  xs:decimal(cbc:PayableRoundingAmount) and
  (
    (round((xs:decimal(cbc:PayableAmount) -
          xs:decimal(cbc:PayableRoundingAmount)
        ) * 10 * 10
      ) div 100
    )
     =
    (
      round(
        (xs:decimal(cbc:TaxInclusiveAmount) -
          xs:decimal(cbc:PrepaidAmount)
        ) * 10 * 10
      ) div 100
    )
)) or
(
  not(
    xs:decimal(cbc:PrepaidAmount)) and
  xs:decimal(cbc:PayableRoundingAmount) and
  (
    (round((xs:decimal(cbc:PayableAmount) -
          xs:decimal(cbc:PayableRoundingAmount)
        ) * 10 * 10
      ) div 100
    )
     =
    xs:decimal(cbc:TaxInclusiveAmount)
  )
)
Code list rule (Shared rule)
ibr-cl-03 (fatal)
[ibr-cl-03]-currencyID MUST be coded using ISO code list 4217 alpha-3.
Context
cbc:TaxInclusiveAmount
Test
(
  (
    not(contains(normalize-space(@currencyID), ' ')) and
    contains(' AED AFN ALL AMD ANG AOA ARS AUD AWG AZN BAM BBD BDT BGN BHD BIF BMD BND BOB BOV BRL BSD BTN BWP BYR BZD CAD CDF CHE CHF CHW CLF CLP CNY COP COU CRC CUC CUP CVE CZK DJF DKK DOP DZD EGP ERN ETB EUR FJD FKP GBP GEL GHS GIP GMD GNF GTQ GYD HKD HNL HRK HTG HUF IDR ILS INR IQD IRR ISK JMD JOD JPY KES KGS KHR KMF KPW KRW KWD KYD KZT LAK LBP LKR LRD LSL LYD MAD MDL MGA MKD MMK MNT MOP MRO MUR MVR MWK MXN MXV MYR MZN NAD NGN NIO NOK NPR NZD OMR PAB PEN PGK PHP PKR PLN PYG QAR RON RSD RUB RWF SAR SBD SCR SDG SEK SGD SHP SLL SOS SRD SSP STD SVC SYP SZL THB TJS TMT TND TOP TRY TTD TWD TZS UAH UGX USD USN UYI UYU UZS VEF VND VUV WST XAF XAG XAU XBA XBB XBC XBD XCD XDR XOF XPD XPF XPT XSU XTS XUA XXX YER ZAR ZMW ZWL ',
      concat(' ', normalize-space(@currencyID), ' ')
    )
  )
)

VERSION 0.9.1 RULES
Obsoleted
Shared rules (0.9.1)
ibr-014 (fatal)
[ibr-014]-An Invoice MUST have the Invoice total amount with Tax (ibt-112).
context
cac:LegalMonetaryTotal
test
exists(cbc:TaxInclusiveAmount)
ibr-co-15 (fatal)
[ibr-co-15]-Invoice total amount with Tax (ibt-112) = Invoice total amount without Tax (ibt-109) + Invoice total Tax amount (ibt-110).
context
/ubl:Invoice |
/cn:CreditNote
test
every $Currency in cbc:DocumentCurrencyCode satisfies
(cac:LegalMonetaryTotal/xs:decimal(cbc:TaxInclusiveAmount) =
  round(
    (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxExclusiveAmount) +
      cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])
    ) * 10 * 10
  ) div 100
)
ibr-co-16 (fatal)
[ibr-co-16]-Amount due for payment (ibt-115) = Invoice total amount with Tax (ibt-112) - Paid amount (ibt-113) + Rounding amount (ibt-114).
context
cac:LegalMonetaryTotal
test
(
  xs:decimal(cbc:PrepaidAmount) and
  not(xs:decimal(cbc:PayableRoundingAmount)) and
  (
    xs:decimal(cbc:PayableAmount) =
    (
      round(
        (xs:decimal(cbc:TaxInclusiveAmount) -
          xs:decimal(cbc:PrepaidAmount)
        ) * 10 * 10
      ) div 100
    )
)) or
(
  not(
    xs:decimal(cbc:PrepaidAmount)) and
  not(xs:decimal(cbc:PayableRoundingAmount)) and
  xs:decimal(cbc:PayableAmount) =
  xs:decimal(cbc:TaxInclusiveAmount)) or
(
  xs:decimal(cbc:PrepaidAmount) and
  xs:decimal(cbc:PayableRoundingAmount) and
  (
    (round((xs:decimal(cbc:PayableAmount) -
          xs:decimal(cbc:PayableRoundingAmount)
        ) * 10 * 10
      ) div 100
    )
     =
    (
      round(
        (xs:decimal(cbc:TaxInclusiveAmount) -
          xs:decimal(cbc:PrepaidAmount)
        ) * 10 * 10
      ) div 100
    )
)) or
(
  not(
    xs:decimal(cbc:PrepaidAmount)) and
  xs:decimal(cbc:PayableRoundingAmount) and
  (
    (round((xs:decimal(cbc:PayableAmount) -
          xs:decimal(cbc:PayableRoundingAmount)
        ) * 10 * 10
      ) div 100
    )
     =
    xs:decimal(cbc:TaxInclusiveAmount)
  )
)
Code list rule (Shared rule)
ibr-cl-03 (fatal)
[ibr-cl-03]-currencyID MUST be coded using ISO code list 4217 alpha-3.
Context
cbc:TaxInclusiveAmount
Test
(
  (
    not(contains(normalize-space(@currencyID), ' ')) and
    contains(' AED AFN ALL AMD ANG AOA ARS AUD AWG AZN BAM BBD BDT BGN BHD BIF BMD BND BOB BOV BRL BSD BTN BWP BYR BZD CAD CDF CHE CHF CHW CLF CLP CNY COP COU CRC CUC CUP CVE CZK DJF DKK DOP DZD EGP ERN ETB EUR FJD FKP GBP GEL GHS GIP GMD GNF GTQ GYD HKD HNL HRK HTG HUF IDR ILS INR IQD IRR ISK JMD JOD JPY KES KGS KHR KMF KPW KRW KWD KYD KZT LAK LBP LKR LRD LSL LYD MAD MDL MGA MKD MMK MNT MOP MRO MUR MVR MWK MXN MXV MYR MZN NAD NGN NIO NOK NPR NZD OMR PAB PEN PGK PHP PKR PLN PYG QAR RON RSD RUB RWF SAR SBD SCR SDG SEK SGD SHP SLL SOS SRD SSP STD SVC SYP SZL THB TJS TMT TND TOP TRY TTD TWD TZS UAH UGX USD USN UYI UYU UZS VEF VND VUV WST XAF XAG XAU XBA XBB XBC XBD XCD XDR XOF XPD XPF XPT XSU XTS XUA XXX YER ZAR ZMW ZWL ',
      concat(' ', normalize-space(@currencyID), ' ')
    )
  )
)

JP PINT 0.9 RULES
Obsoleted
Shared Rules (0.9)
ibr-14(fatal)
[ibr-14]-An Invoice shall have the Invoice total amount with Tax (ibt-112).
context
cac:LegalMonetaryTotal
test
exists(cbc:TaxInclusiveAmount)

PEPPOL BIS BILLING 3.0 RULES
EN16931 model bound to UBL rules
BR-14 (fatal)
An Invoice shall have the Invoice total amount with VAT (BT-112).
context
cac:LegalMonetaryTotal
test
exists(cbc:TaxInclusiveAmount)
BR-CO-15 (fatal)
Invoice total amount with VAT (BT-112) = Invoice total amount without VAT (BT-109) + Invoice total VAT amount (BT-110).
context
/ubl:Invoice |
/cn:CreditNote
test
every $Currency in cbc:DocumentCurrencyCode satisfies
(count(cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])) eq 1) and
(cac:LegalMonetaryTotal/xs:decimal(cbc:TaxInclusiveAmount) =
  round(
    (cac:LegalMonetaryTotal/xs:decimal(cbc:TaxExclusiveAmount) +
      cac:TaxTotal/xs:decimal(cbc:TaxAmount[@currencyID=$Currency])
    ) * 10 * 10
  ) div 100
)
BR-CO-16 (fatal)
Amount due for payment (BT-115) = Invoice total amount with VAT (BT-112) -Paid amount (BT-113) +Rounding amount (BT-114).
context
cac:LegalMonetaryTotal
test
(exists(cbc:PrepaidAmount) and
  not(exists(cbc:PayableRoundingAmount)) and
  (
    xs:decimal(cbc:PayableAmount) =
    (
      round(
        (xs:decimal(cbc:TaxInclusiveAmount) -
          xs:decimal(cbc:PrepaidAmount)
        ) * 10 * 10
      ) div 100
    )
)) or
(
  not(
    exists(cbc:PrepaidAmount)) and
  not(exists(cbc:PayableRoundingAmount)) and
  xs:decimal(cbc:PayableAmount) =
  xs:decimal(cbc:TaxInclusiveAmount)) or
(exists(cbc:PrepaidAmount) and
  exists(cbc:PayableRoundingAmount) and
  (
    (round((xs:decimal(cbc:PayableAmount) -
          xs:decimal(cbc:PayableRoundingAmount)
        ) * 10 * 10
      ) div 100
    )
     =
    (
      round(
        (xs:decimal(cbc:TaxInclusiveAmount) -
          xs:decimal(cbc:PrepaidAmount)
        ) * 10 * 10
      ) div 100
    )
)) or
(
  not(
    exists(cbc:PrepaidAmount)) and
  exists(cbc:PayableRoundingAmount) and
  (
    (round((xs:decimal(cbc:PayableAmount) -
          xs:decimal(cbc:PayableRoundingAmount)
        ) * 10 * 10
      ) div 100
    )
     =
    xs:decimal(cbc:TaxInclusiveAmount)
  )
)
BR-DEC-14 (fatal)
The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2.
context
cac:LegalMonetaryTotal
test
string-length(substring-after(cbc:TaxInclusiveAmount,'.'))<=2