UUID | uuid | string | | Universally Unique Identifier. |
Index | i | integer | | Line number inside the list of discounts (calculated) |
Key | key | cbc.Key | | Key for identifying the type of discount being applied. |
Code | code | cbc.Code | | Code to used to refer to the this discount by the issuer |
Reason | reason | string | | Text description as to why the discount was applied |
Base | base | num.Amount | | Base represents the value used as a base for percent calculations instead of the invoice’s sum of lines. |
Percent | percent | num.Percentage | | Percentage to apply to the base or invoice’s sum. |
Amount | amount | num.Amount | | Amount to apply (calculated if percent present). |
Taxes | taxes | tax.Set | | List of taxes to apply to the discount |
Extensions | ext | tax.Extensions | | Extension codes that apply to the discount |
Meta | meta | cbc.Meta | | Additional semi-structured information. |