Bill
Totals
Totals contains the summaries of all calculations for the invoice.
Schema ID
https://gobl.org/draft-0/bill/invoice#/$defs/Totals
Properties
Title | Property | Type | Req. | Description |
---|---|---|---|---|
Sum | sum | num.Amount | true | Sum of all line item sums |
Discount | discount | num.Amount | Sum of all document level discounts | |
Charge | charge | num.Amount | Sum of all document level charges | |
Tax Included | tax_included | num.Amount | If prices include tax, this is the total tax included in the price. | |
Total | total | num.Amount | true | Sum of all line sums minus the discounts, plus the charges, without tax. |
Tax Totals | taxes | tax.Total | Summary of all the taxes included in the invoice. | |
Tax | tax | num.Amount | Total amount of tax to apply to the invoice. | |
Total with Tax | total_with_tax | num.Amount | true | Grand total after all taxes have been applied. |
Rounding | rounding | num.Amount | Rounding amount to apply to the invoice in case the total and payable amounts don’t quite match. | |
Outlay Totals | outlays | num.Amount | Total paid in outlays that need to be reimbursed | |
Payable | payable | num.Amount | true | Total amount to be paid after applying taxes and outlays. |
Advance | advance | num.Amount | Total amount already paid in advance. | |
Due | due | num.Amount | How much actually needs to be paid now. |