Skip to content

Commit 7b219fe

Browse files
Merge pull request #625 from cristian-azocar/master
[UST-4371] Add USST fields to Invoices and Credit Notes endpoints
2 parents 26e07b6 + b06bcfd commit 7b219fe

File tree

1 file changed

+100
-0
lines changed

1 file changed

+100
-0
lines changed

xero_accounting.yaml

+100
Original file line numberDiff line numberDiff line change
@@ -24383,6 +24383,23 @@ components:
2438324383
example: "00000000-0000-0000-0000-000000000000"
2438424384
type: string
2438524385
format: uuid
24386+
Taxability:
24387+
description: The type of taxability
24388+
type: string
24389+
enum:
24390+
- TAXABLE
24391+
- NON_TAXABLE
24392+
- EXEMPT
24393+
- PART_TAXABLE
24394+
- NOT_APPLICABLE
24395+
SalesTaxCodeId:
24396+
description: The ID of the sales tax code
24397+
type: number
24398+
TaxBreakdown:
24399+
description: An array of tax components defined for this line item
24400+
type: array
24401+
items:
24402+
$ref: '#/components/schemas/TaxBreakdownComponent'
2438624403
type: object
2438724404
LineItemItem:
2438824405
properties:
@@ -25309,6 +25326,11 @@ components:
2530925326
type: array
2531025327
items:
2531125328
$ref: '#/components/schemas/ValidationError'
25329+
InvoiceAddresses:
25330+
description: An array of addresses used to auto calculate sales tax
25331+
type: array
25332+
items:
25333+
$ref: '#/components/schemas/InvoiceAddress'
2531225334
type: object
2531325335
Allocations:
2531425336
type: object
@@ -26101,6 +26123,11 @@ components:
2610126123
type: array
2610226124
items:
2610326125
$ref: '#/components/schemas/ValidationError'
26126+
InvoiceAddresses:
26127+
description: An array of addresses used to auto calculate sales tax
26128+
type: array
26129+
items:
26130+
$ref: '#/components/schemas/InvoiceAddress'
2610426131
type: object
2610526132
OnlineInvoices:
2610626133
type: object
@@ -29036,3 +29063,76 @@ components:
2903629063
description: Validation error message
2903729064
type: string
2903829065
type: object
29066+
InvoiceAddress:
29067+
properties:
29068+
InvoiceAddressType:
29069+
description: Indicates whether the address is defined as origin (FROM) or destination (TO)
29070+
type: string
29071+
enum:
29072+
- FROM
29073+
- TO
29074+
AddressLine1:
29075+
description: First line of a physical address
29076+
type: string
29077+
AddressLine2:
29078+
description: Second line of a physical address
29079+
type: string
29080+
AddressLine3:
29081+
description: Third line of a physical address
29082+
type: string
29083+
AddressLine4:
29084+
description: Fourth line of a physical address
29085+
type: string
29086+
City:
29087+
description: City of a physical address
29088+
type: string
29089+
Region:
29090+
description: Region or state of a physical address
29091+
type: string
29092+
PostalCode:
29093+
description: Postal code of a physical address
29094+
type: string
29095+
Country:
29096+
description: Country of a physical address
29097+
type: string
29098+
type: object
29099+
TaxBreakdownComponent:
29100+
properties:
29101+
TaxComponentId:
29102+
description: The unique ID number of this component
29103+
type: string
29104+
format: uuid
29105+
Type:
29106+
description: The type of the jurisdiction
29107+
type: string
29108+
enum:
29109+
- SYSGST/USCOUNTRY
29110+
- SYSGST/USSTATE
29111+
- SYSGST/USCOUNTY
29112+
- SYSGST/USCITY
29113+
- SYSGST/USSPECIAL
29114+
Name:
29115+
description: The name of the jurisdiction
29116+
type: string
29117+
TaxPercentage:
29118+
description: The percentage of the tax
29119+
type: number
29120+
TaxAmount:
29121+
description: The amount of the tax
29122+
type: number
29123+
TaxableAmount:
29124+
description: The amount that is taxable
29125+
type: number
29126+
NonTaxableAmount:
29127+
description: The amount that is not taxable
29128+
type: number
29129+
ExemptAmount:
29130+
description: The amount that is exempt
29131+
type: number
29132+
StateAssignedNo:
29133+
description: The state assigned number of the jurisdiction
29134+
type: string
29135+
JurisdictionRegion:
29136+
description: Name identifying the region within the country
29137+
type: string
29138+
type: object

0 commit comments

Comments
 (0)