Charge represents a surchange applied to the complete document independent from the individual lines.

Schema ID$defs/Charge


UUIDuuiduuid.UUIDUnique identifying for the discount entry
Keykeycbc.KeyKey for grouping or identifying charges for tax purposes.
IndexiintegerLine number inside the list of discounts (calculated).
ReferencerefstringCode to used to refer to the this charge
Basebasenum.AmountBase represents the value used as a base for percent calculations. If not already provided, we’ll take the invoices sum before discounts.
Percentpercentnum.PercentagePercentage to apply to the invoice’s Sum
Amountamountnum.AmountAmount to apply (calculated if percent present)
Taxestaxestax.SetList of taxes to apply to the charge
Reason CodecodestringCode for why was this charge applied?
ReasonreasonstringText description as to why the charge was applied
Metametacbc.MetaAdditional semi-structured information.