UBL-DT-01

Amounts shall be decimal up to two fraction digits

Targeted Semantic Element

  1. BT-092-Document level allowance amount: The amount of an allowance, without VAT. Must be rounded to maximum 2 decimals.
  2. BT-093-Document level allowance base amount: The base amount that may be used, in conjunction with the document level allowance percentage, to calculate the document level allowance amount. Must be rounded to maximum 2 decimals.
  3. BT-099-Document level charge amount: The amount of an charge, without VAT. Must be rounded to maximum 2 decimals.
  4. BT-100-Document level charge base amount: The base amount that may be used, in conjunction with the document level charge percentage, to calculate the document level charge amount. Must be rounded to maximum 2 decimals.
  5. BT-106-Sum of Invoice line net amount: Sum of all Document/Invoice line net amounts in the Invoice. Must be rounded to maximum 2 decimals.
  6. BT-107-Sum of allowances on document level: Sum of all allowances on document level in the Invoice. Must be rounded to maximum 2 decimals.
  7. BT-108-Sum of charges on document level: Sum of all charges on document level in the Invoice. Must be rounded to maximum 2 decimals.
  8. BT-109-Invoice total amount without VAT: The total amount of the Invoice without VAT. Must be rounded to maximum 2 decimals.
  9. BT-110-Invoice total VAT amount in document currency: The total VAT amount for the Invoice.
  10. BT-111-Invoice total TAX amount in tax accounting currency: The TAX total amount expressed in the accounting currency accepted or required in the country of the Seller.
  11. BT-112-Invoice total amount with VAT: The total amount of the Invoice with VAT. Must be rounded to maximum 2 decimals.
  12. BT-113-Paid amount: The sum of amounts which have been paid in advance. Must be rounded to maximum 2 decimals.
  13. BT-114-Rounding amount: The amount to be added to the invoice total to round the amount to be paid. Must be rounded to maximum 2 decimals.
  14. BT-115-Amount due for payment: The outstanding amount that is requested to be paid. Must be rounded to maximum 2 decimals.
  15. BT-116-VAT category taxable amount: Sum of all taxable amounts subject to a specific VAT category code and VAT category rate (if the VAT category rate is applicable). Must be rounded to maximum 2 decimals.
  16. BT-117-VAT category tax amount: The total VAT amount for a given VAT category. Must be rounded to maximum 2 decimals.
  17. BT-131-Document line net amount: The total amount of the Document line. The amount is β€œnet” without VAT, i.e. inclusive of line level allowances and charges as well as other relevant taxes. Must be rounded to maximum 2 decimals.
  18. BT-136-Line level allowance amount: The amount of an allowance or a charge, without VAT. Must be rounded to maximum 2 decimals.
  19. BT-137-Line level allowance base amount: The base amount that may be used, in conjunction with the line level allowance percentage, to calculate the line level allowance amount. Must be rounded to maximum 2 decimals.
  20. BT-141-Line level charge amount: The amount of a charge, without VAT. Must be rounded to maximum 2 decimals.
  21. BT-142-Line level charge base amount: The base amount that may be used, in conjunction with the line level charge percentage, to calculate the line level charge amount. Must be rounded to maximum 2 decimals.

Schematron Rules

  1. UBL-DT-01
    Flag
    fatal
    Context
    //*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)]
    Message
    Amounts shall be decimal up to two fraction digits