You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xero_accounting.yaml
+46-1Lines changed: 46 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7820,6 +7820,7 @@ paths:
7820
7820
- $ref: "#/components/parameters/summarizeErrors"
7821
7821
- $ref: "#/components/parameters/unitdp"
7822
7822
- $ref: "#/components/parameters/idempotencyKey"
7823
+
- $ref: "#/components/parameters/allowBackorders"
7823
7824
responses:
7824
7825
"200":
7825
7826
description: Success - return response of type Invoices array with newly created Invoice
@@ -8133,6 +8134,7 @@ paths:
8133
8134
- $ref: "#/components/parameters/summarizeErrors"
8134
8135
- $ref: "#/components/parameters/unitdp"
8135
8136
- $ref: "#/components/parameters/idempotencyKey"
8137
+
- $ref: "#/components/parameters/allowBackorders"
8136
8138
responses:
8137
8139
"200":
8138
8140
description: Success - return response of type Invoices array with newly created Invoice
@@ -8435,6 +8437,7 @@ paths:
8435
8437
- $ref: "#/components/parameters/InvoiceID"
8436
8438
- $ref: "#/components/parameters/unitdp"
8437
8439
- $ref: "#/components/parameters/idempotencyKey"
8440
+
- $ref: "#/components/parameters/allowBackorders"
8438
8441
responses:
8439
8442
"200":
8440
8443
description: Success - return response of type Invoices array with updated Invoice
@@ -8949,6 +8952,28 @@ paths:
8949
8952
IsTrackedAsInventory: false
8950
8953
IsSold: true
8951
8954
IsPurchased: true
8955
+
- ItemID: 5a70a272-a481-4bcf-a8ca-efffd923ab48
8956
+
Code: fg78Ac
8957
+
Description: Fender Stratocaster Sunburst
8958
+
PurchaseDescription: Fender Stratocaster Sunburst
8959
+
UpdatedDateUTC: /Date(1552331874000+0000)/
8960
+
PurchaseDetails:
8961
+
UnitPrice: 1500.0000
8962
+
COGSAccountCode: "500"
8963
+
TaxType: ""
8964
+
SalesDetails:
8965
+
UnitPrice: 5000.0000
8966
+
AccountCode: "200"
8967
+
TaxType: OUTPUT2
8968
+
Name: Fender Stratocaster
8969
+
IsTrackedAsInventory: true
8970
+
InventoryAssetAccountCode: "140"
8971
+
TotalCostPool: 0.00
8972
+
QuantityOnHand: 0.0000
8973
+
QuantityAvailable: 0.0000
8974
+
QuantityOnBackOrder: 0.0000
8975
+
IsSold: true
8976
+
IsPurchased: true
8952
8977
put:
8953
8978
security:
8954
8979
- OAuth2:
@@ -9196,6 +9221,8 @@ paths:
9196
9221
InventoryAssetAccountCode: "630"
9197
9222
TotalCostPool: 25000.00
9198
9223
QuantityOnHand: 10.0000
9224
+
QuantityAvailable: 10.0000
9225
+
QuantityOnBackOrder: 0.0000
9199
9226
IsSold: true
9200
9227
IsPurchased: true
9201
9228
ValidationErrors: []
@@ -19828,6 +19855,14 @@ components:
19828
19855
example: KEY_VALUE
19829
19856
schema:
19830
19857
type: string
19858
+
allowBackorders:
19859
+
in: query
19860
+
name: allowBackorders
19861
+
x-snake: allow_backorders
19862
+
description: Allows an invoice to be created even when one or more line items contain tracked inventory where the invoice quantity would cause the available quantity to go negative
19863
+
example: true
19864
+
schema:
19865
+
type: boolean
19831
19866
includeOnline:
19832
19867
in: query
19833
19868
name: IncludeOnline
@@ -22649,10 +22684,20 @@ components:
22649
22684
format: double
22650
22685
x-is-money: true
22651
22686
QuantityOnHand:
22652
-
description: The quantity of the item on hand
22687
+
description: The quantity of the item on hand. This will be 0 if `QuantityOnBackOrder` is greater than 0.
22653
22688
type: number
22654
22689
format: double
22655
22690
x-is-money: true
22691
+
QuantityAvailable:
22692
+
description: The quantity of the item available. This is equal to `QuantityOnHand` - `QuantityOnBackOrder`. This value will be negative if `QuantityOnBackOrder` is greater than 0.
22693
+
type: number
22694
+
format: double
22695
+
readOnly: true
22696
+
QuantityOnBackOrder:
22697
+
description: The quantity of the item on backorder. This will be 0 if `QuantityOnHand` is greater than 0.
0 commit comments