Skip to content

Commit 67e26af

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
docs(quickbooks): document observable bill linking
1 parent 2b4c706 commit 67e26af

4 files changed

Lines changed: 11 additions & 5 deletions

File tree

apps/docs/content/docs/en/integrations/quickbooks.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,14 +1613,14 @@ Sparse-update purchase-order header fields using the current sync token
16131613

16141614
### `quickbooks_create_bill`
16151615

1616-
Create a vendor bill without paying it
1616+
Create a vendor bill with optional Purchase Order line links without paying it
16171617

16181618
#### Input
16191619

16201620
| Parameter | Type | Required | Description |
16211621
| --------- | ---- | -------- | ----------- |
16221622
| `vendorId` | string | Yes | Bill vendor ID |
1623-
| `lines` | json | Yes | Bounded account-based or item-based expense lines |
1623+
| `lines` | json | Yes | Bounded account-based or item-based expense lines with optional paired Purchase Order and line IDs |
16241624
| `apAccountId` | string | No | Optional accounts-payable account ID |
16251625
| `transactionDate` | string | No | Bill date in YYYY-MM-DD format |
16261626
| `dueDate` | string | No | Bill due date in YYYY-MM-DD format |
@@ -1635,6 +1635,12 @@ Create a vendor bill without paying it
16351635
| `recordId` | string | ID of the created or updated QuickBooks entity |
16361636
| `syncToken` | string | Latest sync token required for a subsequent update |
16371637
| `time` | string | QuickBooks response timestamp |
1638+
| `linkingRequested` | boolean | Whether any Purchase Order line links were requested |
1639+
| `linkingSucceeded` | boolean | Whether QuickBooks returned every requested Purchase Order line link |
1640+
| `linkedLines` | array | Requested Purchase Order line links confirmed by QuickBooks |
1641+
|`billLineId` | string | Created Bill line ID carrying the confirmed link |
1642+
| `missingLinks` | array | Requested Purchase Order line links omitted by QuickBooks |
1643+
| `linkingWarning` | string | Warning that the Bill was created without every requested Purchase Order link |
16381644
| `record` | json | Created native QuickBooks Bill |
16391645
|`Id` | string | QuickBooks purchasing transaction ID |
16401646
|`SyncToken` | string | Current transaction sync token |

apps/sim/lib/integrations/integrations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14676,7 +14676,7 @@
1467614676
},
1467714677
{
1467814678
"name": "Create Bill",
14679-
"description": "Create a vendor bill without paying it"
14679+
"description": "Create a vendor bill with optional Purchase Order line links without paying it"
1468014680
},
1468114681
{
1468214682
"name": "Update Bill",

apps/sim/tools/generated/tool-metadata.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

apps/sim/tools/generated/tool-outputs.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)