|
2562 | 2562 | "items" : {
|
2563 | 2563 | "$ref" : "#/components/schemas/ValidationError"
|
2564 | 2564 | }
|
| 2565 | + }, |
| 2566 | + "InvoiceAddresses" : { |
| 2567 | + "type" : "array", |
| 2568 | + "description" : "An array of addresses used to auto calculate sales tax", |
| 2569 | + "items" : { |
| 2570 | + "$ref" : "#/components/schemas/InvoiceAddress" |
| 2571 | + } |
2565 | 2572 | }
|
2566 | 2573 | },
|
2567 | 2574 | "description" : "",
|
|
3257 | 3264 | "items" : {
|
3258 | 3265 | "$ref" : "#/components/schemas/ValidationError"
|
3259 | 3266 | }
|
| 3267 | + }, |
| 3268 | + "InvoiceAddresses" : { |
| 3269 | + "type" : "array", |
| 3270 | + "description" : "An array of addresses used to auto calculate sales tax", |
| 3271 | + "items" : { |
| 3272 | + "$ref" : "#/components/schemas/InvoiceAddress" |
| 3273 | + } |
3260 | 3274 | }
|
3261 | 3275 | },
|
3262 | 3276 | "description" : "",
|
3263 | 3277 | "externalDocs" : {
|
3264 | 3278 | "url" : "http://developer.xero.com/documentation/api/invoices/"
|
3265 | 3279 | }
|
| 3280 | +}; |
| 3281 | + defs["InvoiceAddress"] = { |
| 3282 | + "title" : "", |
| 3283 | + "type" : "object", |
| 3284 | + "properties" : { |
| 3285 | + "InvoiceAddressType" : { |
| 3286 | + "type" : "string", |
| 3287 | + "description" : "Indicates whether the address is defined as origin (FROM) or destination (TO)", |
| 3288 | + "enum" : [ "FROM", "TO" ] |
| 3289 | + }, |
| 3290 | + "AddressLine1" : { |
| 3291 | + "type" : "string", |
| 3292 | + "description" : "First line of a physical address" |
| 3293 | + }, |
| 3294 | + "AddressLine2" : { |
| 3295 | + "type" : "string", |
| 3296 | + "description" : "Second line of a physical address" |
| 3297 | + }, |
| 3298 | + "AddressLine3" : { |
| 3299 | + "type" : "string", |
| 3300 | + "description" : "Third line of a physical address" |
| 3301 | + }, |
| 3302 | + "AddressLine4" : { |
| 3303 | + "type" : "string", |
| 3304 | + "description" : "Fourth line of a physical address" |
| 3305 | + }, |
| 3306 | + "City" : { |
| 3307 | + "type" : "string", |
| 3308 | + "description" : "City of a physical address" |
| 3309 | + }, |
| 3310 | + "Region" : { |
| 3311 | + "type" : "string", |
| 3312 | + "description" : "Region or state of a physical address" |
| 3313 | + }, |
| 3314 | + "PostalCode" : { |
| 3315 | + "type" : "string", |
| 3316 | + "description" : "Postal code of a physical address" |
| 3317 | + }, |
| 3318 | + "Country" : { |
| 3319 | + "type" : "string", |
| 3320 | + "description" : "Country of a physical address" |
| 3321 | + } |
| 3322 | + }, |
| 3323 | + "description" : "" |
3266 | 3324 | };
|
3267 | 3325 | defs["InvoiceReminder"] = {
|
3268 | 3326 | "title" : "",
|
|
3658 | 3716 | "description" : "The Xero identifier for a Repeating Invoice",
|
3659 | 3717 | "format" : "uuid",
|
3660 | 3718 | "example" : "00000000-0000-0000-0000-000000000000"
|
| 3719 | + }, |
| 3720 | + "Taxability" : { |
| 3721 | + "type" : "string", |
| 3722 | + "description" : "The type of taxability", |
| 3723 | + "enum" : [ "TAXABLE", "NON_TAXABLE", "EXEMPT", "PART_TAXABLE", "NOT_APPLICABLE" ] |
| 3724 | + }, |
| 3725 | + "SalesTaxCodeId" : { |
| 3726 | + "type" : "number", |
| 3727 | + "description" : "The ID of the sales tax code" |
| 3728 | + }, |
| 3729 | + "TaxBreakdown" : { |
| 3730 | + "type" : "array", |
| 3731 | + "description" : "An array of tax components defined for this line item", |
| 3732 | + "items" : { |
| 3733 | + "$ref" : "#/components/schemas/TaxBreakdownComponent" |
| 3734 | + } |
3661 | 3735 | }
|
3662 | 3736 | },
|
3663 | 3737 | "description" : "",
|
|
5697 | 5771 | "externalDocs" : {
|
5698 | 5772 | "url" : "https://developer.xero.com/documentation/api-guides/conversions"
|
5699 | 5773 | }
|
| 5774 | +}; |
| 5775 | + defs["TaxBreakdownComponent"] = { |
| 5776 | + "title" : "", |
| 5777 | + "type" : "object", |
| 5778 | + "properties" : { |
| 5779 | + "TaxComponentId" : { |
| 5780 | + "type" : "string", |
| 5781 | + "description" : "The unique ID number of this component", |
| 5782 | + "format" : "uuid" |
| 5783 | + }, |
| 5784 | + "Type" : { |
| 5785 | + "type" : "string", |
| 5786 | + "description" : "The type of the jurisdiction", |
| 5787 | + "enum" : [ "SYSGST/USCOUNTRY", "SYSGST/USSTATE", "SYSGST/USCOUNTY", "SYSGST/USCITY", "SYSGST/USSPECIAL" ] |
| 5788 | + }, |
| 5789 | + "Name" : { |
| 5790 | + "type" : "string", |
| 5791 | + "description" : "The name of the jurisdiction" |
| 5792 | + }, |
| 5793 | + "TaxPercentage" : { |
| 5794 | + "type" : "number", |
| 5795 | + "description" : "The percentage of the tax" |
| 5796 | + }, |
| 5797 | + "TaxAmount" : { |
| 5798 | + "type" : "number", |
| 5799 | + "description" : "The amount of the tax" |
| 5800 | + }, |
| 5801 | + "TaxableAmount" : { |
| 5802 | + "type" : "number", |
| 5803 | + "description" : "The amount that is taxable" |
| 5804 | + }, |
| 5805 | + "NonTaxableAmount" : { |
| 5806 | + "type" : "number", |
| 5807 | + "description" : "The amount that is not taxable" |
| 5808 | + }, |
| 5809 | + "ExemptAmount" : { |
| 5810 | + "type" : "number", |
| 5811 | + "description" : "The amount that is exempt" |
| 5812 | + }, |
| 5813 | + "StateAssignedNo" : { |
| 5814 | + "type" : "string", |
| 5815 | + "description" : "The state assigned number of the jurisdiction" |
| 5816 | + }, |
| 5817 | + "JurisdictionRegion" : { |
| 5818 | + "type" : "string", |
| 5819 | + "description" : "Name identifying the region within the country" |
| 5820 | + } |
| 5821 | + }, |
| 5822 | + "description" : "" |
5700 | 5823 | };
|
5701 | 5824 | defs["TaxComponent"] = {
|
5702 | 5825 | "title" : "",
|
|
6212 | 6335 | <nav id="scrollingNav">
|
6213 | 6336 | <ul class="sidenav nav nav-list">
|
6214 | 6337 | <li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
|
6215 |
| - <li class="nav-header" data-group="Accounting"><strong>VSN: </strong>8.2.0</li> |
| 6338 | + <li class="nav-header" data-group="Accounting"><strong>VSN: </strong>8.3.0</li> |
6216 | 6339 | <li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
|
6217 | 6340 | <li data-group="Accounting" data-name="createAccount" class="">
|
6218 | 6341 | <a href="#api-Accounting-createAccount">createAccount</a>
|
|
0 commit comments