-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
86 additions
and
33 deletions.
There are no files selected for viewing
119 changes: 86 additions & 33 deletions
119
openapi/components/schemas/Taxes/CreditMemoTaxItem.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,86 @@ | ||
allOf: | ||
- properties: | ||
rate: | ||
readOnly: false | ||
stateAmount: | ||
readOnly: false | ||
countyAmount: | ||
readOnly: false | ||
cityAmount: | ||
readOnly: false | ||
specialDistrictAmount: | ||
readOnly: false | ||
stateRate: | ||
readOnly: false | ||
countyRate: | ||
readOnly: false | ||
cityRate: | ||
readOnly: false | ||
specialDistrictRate: | ||
readOnly: false | ||
jurisdictions: | ||
type: object | ||
readOnly: false | ||
properties: | ||
country: | ||
readOnly: false | ||
state: | ||
readOnly: false | ||
county: | ||
readOnly: false | ||
city: | ||
readOnly: false | ||
- $ref: ./TaxItem.yaml | ||
type: object | ||
required: | ||
- amount | ||
- description | ||
properties: | ||
amount: | ||
description: Amount of the tax. | ||
type: number | ||
format: double | ||
description: | ||
type: string | ||
description: Description of the tax. | ||
rate: | ||
description: Overall sales tax rate which includes state, county, city and district tax. | ||
type: number | ||
format: double | ||
nullable: true | ||
stateAmount: | ||
description: Amount of sales tax to collect for the state. | ||
type: number | ||
format: double | ||
nullable: true | ||
example: 0.94 | ||
countyAmount: | ||
description: Amount of sales tax to collect for the county. | ||
type: number | ||
format: double | ||
nullable: true | ||
example: 0.04 | ||
cityAmount: | ||
description: Amount of sales tax to collect for the city. | ||
type: number | ||
format: double | ||
nullable: true | ||
example: 0 | ||
specialDistrictAmount: | ||
description: Amount of sales tax to collect for the special district. | ||
type: number | ||
format: double | ||
nullable: true | ||
example: 0.38 | ||
stateRate: | ||
description: State sales tax rate for given location. | ||
type: number | ||
format: double | ||
nullable: true | ||
countyRate: | ||
description: County sales tax rate for given location. | ||
type: number | ||
format: double | ||
nullable: true | ||
cityRate: | ||
description: City sales tax rate for given location. | ||
type: number | ||
format: double | ||
nullable: true | ||
specialDistrictRate: | ||
description: Special district sales tax rate for given location. | ||
type: number | ||
format: double | ||
nullable: true | ||
jurisdictions: | ||
description: Jurisdiction names for the invoice. | ||
type: object | ||
nullable: true | ||
properties: | ||
country: | ||
description: Two-letter ISO country code for the provided location. | ||
type: string | ||
nullable: true | ||
example: US | ||
state: | ||
description: Postal abbreviated state name for the provided location. | ||
type: string | ||
nullable: true | ||
example: CA | ||
county: | ||
description: County name for the provided location. | ||
type: string | ||
nullable: true | ||
example: LOS ANGELES | ||
city: | ||
description: City name for the provided location. | ||
type: string | ||
nullable: true | ||
example: LOS ANGELES |