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
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7605,6 +7605,7 @@ paths:
7605
7605
- $ref: "#/components/parameters/summarizeErrors"
7606
7606
- $ref: "#/components/parameters/unitdp"
7607
7607
- $ref: "#/components/parameters/idempotencyKey"
7608
+
- $ref: "#/components/parameters/allowBackorders"
7608
7609
responses:
7609
7610
"200":
7610
7611
description: Success - return response of type Invoices array with newly created Invoice
@@ -8217,6 +8218,7 @@ paths:
8217
8218
- $ref: "#/components/parameters/InvoiceID"
8218
8219
- $ref: "#/components/parameters/unitdp"
8219
8220
- $ref: "#/components/parameters/idempotencyKey"
8221
+
- $ref: "#/components/parameters/allowBackorders"
8220
8222
responses:
8221
8223
"200":
8222
8224
description: Success - return response of type Invoices array with updated Invoice
@@ -8730,6 +8732,28 @@ paths:
8730
8732
IsTrackedAsInventory: false
8731
8733
IsSold: true
8732
8734
IsPurchased: true
8735
+
- ItemID: 5a70a272-a481-4bcf-a8ca-efffd923ab48
8736
+
Code: fg78Ac
8737
+
Description: Fender Stratocaster Sunburst
8738
+
PurchaseDescription: Fender Stratocaster Sunburst
8739
+
UpdatedDateUTC: /Date(1552331874000+0000)/
8740
+
PurchaseDetails:
8741
+
UnitPrice: 1500.0000
8742
+
COGSAccountCode: "500"
8743
+
TaxType: ""
8744
+
SalesDetails:
8745
+
UnitPrice: 5000.0000
8746
+
AccountCode: "200"
8747
+
TaxType: OUTPUT2
8748
+
Name: Fender Stratocaster
8749
+
IsTrackedAsInventory: true
8750
+
InventoryAssetAccountCode: "140"
8751
+
TotalCostPool: 0.00
8752
+
QuantityOnHand: 0.0000
8753
+
QuantityAvailable: 0.0000
8754
+
QuantityOnBackOrder: 0.0000
8755
+
IsSold: true
8756
+
IsPurchased: true
8733
8757
put:
8734
8758
security:
8735
8759
- OAuth2:
@@ -8977,6 +9001,8 @@ paths:
8977
9001
InventoryAssetAccountCode: "630"
8978
9002
TotalCostPool: 25000.00
8979
9003
QuantityOnHand: 10.0000
9004
+
QuantityAvailable: 10.0000
9005
+
QuantityOnBackOrder: 0.0000
8980
9006
IsSold: true
8981
9007
IsPurchased: true
8982
9008
ValidationErrors: []
@@ -19577,6 +19603,14 @@ components:
19577
19603
example: KEY_VALUE
19578
19604
schema:
19579
19605
type: string
19606
+
allowBackorders:
19607
+
in: query
19608
+
name: allowBackorders
19609
+
x-snake: allow_backorders
19610
+
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
0 commit comments