# BG-22 — Document totals

> https://billhorse.com/en/terms/bg-22/

The invoice's totals: sum of lines, net, VAT, gross and the amount due. Mandatory group — the amounts must be arithmetically consistent with each other, the lines and the VAT breakdown.

## Where does it live in the XML?

- UBL: `cac:LegalMonetaryTotal`
- CII: `ram:SpecifiedTradeSettlementHeaderMonetarySummation`

## Contained fields

- [BT-106 — Sum of Invoice line net amount](https://billhorse.com/en/terms/bt-106/)
- [BT-107 — Sum of allowances on document level](https://billhorse.com/en/terms/bt-107/)
- [BT-108 — Sum of charges on document level](https://billhorse.com/en/terms/bt-108/)
- [BT-109 — Invoice total amount without VAT](https://billhorse.com/en/terms/bt-109/)
- [BT-110 — Invoice total VAT amount](https://billhorse.com/en/terms/bt-110/)
- [BT-111 — Invoice total VAT amount in accounting currency](https://billhorse.com/en/terms/bt-111/)
- [BT-112 — Invoice total with VAT](https://billhorse.com/en/terms/bt-112/)
- [BT-113 — Paid amount](https://billhorse.com/en/terms/bt-113/)
- [BT-114 — Rounding amount](https://billhorse.com/en/terms/bt-114/)
- [BT-115 — Amount due for payment](https://billhorse.com/en/terms/bt-115/)

## Checked by these rules

- [BR-12 — Sum of line amounts missing](https://billhorse.com/en/rules/br-12/)
- [BR-14 — Grand total missing](https://billhorse.com/en/rules/br-14/)
- [BR-15 — Amount due missing](https://billhorse.com/en/rules/br-15/)
- [BR-CO-10 — Line total mismatch](https://billhorse.com/en/rules/br-co-10/)
- [BR-CO-13 — Net total inconsistent](https://billhorse.com/en/rules/br-co-13/)
- [BR-CO-14 — VAT total mismatch](https://billhorse.com/en/rules/br-co-14/)
- [BR-CO-15 — Grand total inconsistent](https://billhorse.com/en/rules/br-co-15/)
- [BR-CO-16 — Amount due inconsistent](https://billhorse.com/en/rules/br-co-16/)
