Skip to content

Commit

Permalink
Merge pull request #625 from cristian-azocar/master
Browse files Browse the repository at this point in the history
[UST-4371] Add USST fields to Invoices and Credit Notes endpoints
  • Loading branch information
sangeet-joy-tw authored Sep 16, 2024
2 parents 26e07b6 + b06bcfd commit 7b219fe
Showing 1 changed file with 100 additions and 0 deletions.
100 changes: 100 additions & 0 deletions xero_accounting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24383,6 +24383,23 @@ components:
example: "00000000-0000-0000-0000-000000000000"
type: string
format: uuid
Taxability:
description: The type of taxability
type: string
enum:
- TAXABLE
- NON_TAXABLE
- EXEMPT
- PART_TAXABLE
- NOT_APPLICABLE
SalesTaxCodeId:
description: The ID of the sales tax code
type: number
TaxBreakdown:
description: An array of tax components defined for this line item
type: array
items:
$ref: '#/components/schemas/TaxBreakdownComponent'
type: object
LineItemItem:
properties:
Expand Down Expand Up @@ -25309,6 +25326,11 @@ components:
type: array
items:
$ref: '#/components/schemas/ValidationError'
InvoiceAddresses:
description: An array of addresses used to auto calculate sales tax
type: array
items:
$ref: '#/components/schemas/InvoiceAddress'
type: object
Allocations:
type: object
Expand Down Expand Up @@ -26101,6 +26123,11 @@ components:
type: array
items:
$ref: '#/components/schemas/ValidationError'
InvoiceAddresses:
description: An array of addresses used to auto calculate sales tax
type: array
items:
$ref: '#/components/schemas/InvoiceAddress'
type: object
OnlineInvoices:
type: object
Expand Down Expand Up @@ -29036,3 +29063,76 @@ components:
description: Validation error message
type: string
type: object
InvoiceAddress:
properties:
InvoiceAddressType:
description: Indicates whether the address is defined as origin (FROM) or destination (TO)
type: string
enum:
- FROM
- TO
AddressLine1:
description: First line of a physical address
type: string
AddressLine2:
description: Second line of a physical address
type: string
AddressLine3:
description: Third line of a physical address
type: string
AddressLine4:
description: Fourth line of a physical address
type: string
City:
description: City of a physical address
type: string
Region:
description: Region or state of a physical address
type: string
PostalCode:
description: Postal code of a physical address
type: string
Country:
description: Country of a physical address
type: string
type: object
TaxBreakdownComponent:
properties:
TaxComponentId:
description: The unique ID number of this component
type: string
format: uuid
Type:
description: The type of the jurisdiction
type: string
enum:
- SYSGST/USCOUNTRY
- SYSGST/USSTATE
- SYSGST/USCOUNTY
- SYSGST/USCITY
- SYSGST/USSPECIAL
Name:
description: The name of the jurisdiction
type: string
TaxPercentage:
description: The percentage of the tax
type: number
TaxAmount:
description: The amount of the tax
type: number
TaxableAmount:
description: The amount that is taxable
type: number
NonTaxableAmount:
description: The amount that is not taxable
type: number
ExemptAmount:
description: The amount that is exempt
type: number
StateAssignedNo:
description: The state assigned number of the jurisdiction
type: string
JurisdictionRegion:
description: Name identifying the region within the country
type: string
type: object

0 comments on commit 7b219fe

Please sign in to comment.