The outstanding amount that is requested to be paid.
買い手が支払を要求されている差引請求金額。


About

Syntax binding
ubl:Invoice / cac:LegalMonetaryTotal / cbc:PayableAmount
Restricted Syntax Cardinality
1..1
Example
96470
Attribute(s)
@currencyID
UBL 2.1
XPath
/ Invoice / cac:LegalMonetaryTotal / cbc:PayableAmount
Occurrence
1
Datatype
AmountType
UBL Definition
The amount of the monetary total to be paid.
Namespace
cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2

Semantic

Business Term

Amount due for payment

差引請求金額
ID
ibt-115
Description
The outstanding amount that is requested to be paid.
買い手が支払を要求されている差引請求金額。
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:PayableAmount / @currencyID

VERSION 1.0 RULES

Unchanged
Same as 0.9.3

VERSION 0.9.3 RULES
JP PINT 0.9.3 Shared rules
ibr-015(fatal)
Unchanged
Same as 0.9.2
ibr-091(fatal)
Unchanged
Same as 0.9.2
ibr-co-16(fatal)
Unchanged
Same as 0.9.2

VERSION 0.9.2 RULES
JP PINT 0.9.2 Shared rules
ibr-015(fatal)
Still valid
[ibr-015]-An Invoice MUST have the Amount due for payment (ibt-115).
context
cac:LegalMonetaryTotal
test
exists(cbc:PayableAmount)
ibr-091(fatal)
Still valid
[ibr-091]-Invoice amount due for payment (ibt-115) MUST have no more than 2 decimals.
context
cac:LegalMonetaryTotal
test
string-length(substring-after(cbc:PayableAmount, '.')) <= 2
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:PayableAmount
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-015 (fatal)
[ibr-015]-An Invoice MUST have the Amount due for payment (ibt-115).
context
cac:LegalMonetaryTotal
test
exists(cbc:PayableAmount)
ibr-091 (fatal)
[ibr-091]-Invoice amount due for payment (ibt-115) MUST have no more than 2 decimals.
context
cac:LegalMonetaryTotal/cbc:PayableAmount
test
string-length(substring-after(., '.')) <= 2
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:PayableAmount
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-15(fatal)
[ibr-15]-An Invoice shall have the Amount due for payment (ibt-115).
context
cac:LegalMonetaryTotal
test
exists(cbc:PayableAmount)

PEPPOL BIS BILLING 3.0 RULES
EN16931 model bound to UBL rules
BR-15 (fatal)
An Invoice shall have the Amount due for payment (BT-115).
context
cac:LegalMonetaryTotal
test
exists(cbc:PayableAmount)
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-CO-25 (fatal)
In case the Amount due for payment (BT-115) is positive, either the Payment due date (BT-9) or the Payment terms (BT-20) shall be present.
context
/ubl:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount
test
(
  (. > 0) and
  (exists(//cbc:DueDate) or
    exists(//cac:PaymentTerms/cbc:Note))) or
(. <= 0)
BR-DEC-18 (fatal)
The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2.
context
cac:LegalMonetaryTotal
test
string-length(substring-after(cbc:PayableAmount,'.'))<=2