Taxes
November 13, 2025 ยท View on GitHub
The tax details.
Structure
Taxes
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
Percentage | String | Required | The percentage, as a fixed-point, signed decimal number. For example, define a 19.99% interest rate as 19.99.Constraints: Pattern: ^((-?[0-9]+)|(-?([0-9]+)?[.][0-9]+))$ | String getPercentage() | setPercentage(String percentage) |
Inclusive | Boolean | Optional | Indicates whether the tax was already included in the billing amount. Default: true | Boolean getInclusive() | setInclusive(Boolean inclusive) |
Example (as JSON)
{
"percentage": "percentage6",
"inclusive": true
}