Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Mation committed Dec 20, 2023
1 parent 8f05884 commit de39b32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api-specs/api/types/cart/ExternalTaxRateDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ properties:
subRates?:
type: SubRate[]
description: |
For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes).
For countries (such as the US) where the total tax is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate `amount`.
4 changes: 2 additions & 2 deletions api-specs/api/types/tax-category/TaxRate.raml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ properties:
minimum: 0
maximum: 1
description: |
Tax rate. If subrates are used, the amount must be the sum of all subrates.
Tax rate. If subrates are used, the amount is the sum of all rates in `subRates`.
includedInPrice:
type: boolean
description: |
Expand All @@ -42,4 +42,4 @@ properties:
subRates?:
type: SubRate[]
description: |
Used to calculate the [taxPortions](/../api/projects/carts#taxedprice) field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
Used to calculate the [taxPortions](/../api/projects/carts#taxedprice) field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates equals the TaxRate `amount`.
2 changes: 1 addition & 1 deletion api-specs/api/types/tax-category/TaxRateDraft.raml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ properties:
subRates?:
type: SubRate[]
description: |
Used to calculate the [taxPortions](/../api/projects/carts#taxedprice) field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes).
Used to calculate the [taxPortions](/../api/projects/carts#taxedprice) field in a Cart or Order. It is useful if the total tax of a country (such as the US) is a combination of multiple taxes (such as state and local taxes). The total of all subrates must equal the TaxRate `amount`.
key?:
type: string
description: |
Expand Down

0 comments on commit de39b32

Please sign in to comment.