|
| 1 | +--- |
| 2 | +title: QuickBooks |
| 3 | +description: Read procurement data from QuickBooks Online |
| 4 | +--- |
| 5 | + |
| 6 | +import { BlockInfoCard } from "@/components/ui/block-info-card" |
| 7 | + |
| 8 | +<BlockInfoCard |
| 9 | + type="quickbooks" |
| 10 | + color="#2CA01C" |
| 11 | +/> |
| 12 | + |
| 13 | +## Usage Instructions |
| 14 | + |
| 15 | +Connect one QuickBooks Online company and read its company profile, vendors, purchase orders, and bills. The connected company is selected during OAuth and cannot be overridden by workflow input. |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +## Actions |
| 20 | + |
| 21 | +### `quickbooks_get_company_info` |
| 22 | + |
| 23 | +Get information about the connected QuickBooks Online company |
| 24 | + |
| 25 | +#### Input |
| 26 | + |
| 27 | +| Parameter | Type | Required | Description | |
| 28 | +| --------- | ---- | -------- | ----------- | |
| 29 | + |
| 30 | +#### Output |
| 31 | + |
| 32 | +| Parameter | Type | Description | |
| 33 | +| --------- | ---- | ----------- | |
| 34 | +| `company` | json | Verified QuickBooks CompanyInfo object, including Id, CompanyName, LegalName, addresses, contact details, NameValue settings, and MetaData when populated | |
| 35 | +| ↳ `Id` | string | Connected QuickBooks company ID | |
| 36 | +| ↳ `SyncToken` | string | CompanyInfo sync token | |
| 37 | +| ↳ `CompanyName` | string | Company display name | |
| 38 | +| ↳ `LegalName` | string | Company legal name | |
| 39 | +| ↳ `CompanyAddr` | json | Company address | |
| 40 | +| ↳ `CustomerCommunicationAddr` | json | Customer communication address | |
| 41 | +| ↳ `LegalAddr` | json | Company legal address | |
| 42 | +| ↳ `PrimaryPhone` | json | Primary phone details | |
| 43 | +| ↳ `Email` | json | Company email details | |
| 44 | +| ↳ `WebAddr` | json | Company website details | |
| 45 | +| ↳ `CompanyStartDate` | string | Company start date | |
| 46 | +| ↳ `Country` | string | Company country code | |
| 47 | +| ↳ `FiscalYearStartMonth` | string | Fiscal year starting month | |
| 48 | +| ↳ `DefaultTimeZone` | string | Company default time zone | |
| 49 | +| ↳ `NameValue` | array | QuickBooks company settings represented as name/value entries | |
| 50 | +| ↳ `MetaData` | json | CompanyInfo creation and update timestamps | |
| 51 | +| ↳ `CreateTime` | string | Entity creation timestamp | |
| 52 | +| ↳ `LastUpdatedTime` | string | Entity last-updated timestamp | |
| 53 | +| `time` | string | QuickBooks response timestamp | |
| 54 | + |
| 55 | +### `quickbooks_list_bills` |
| 56 | + |
| 57 | +List bills in the connected QuickBooks Online company |
| 58 | + |
| 59 | +#### Input |
| 60 | + |
| 61 | +| Parameter | Type | Required | Description | |
| 62 | +| --------- | ---- | -------- | ----------- | |
| 63 | +| `startPosition` | number | Yes | One-based position of the first bill to return | |
| 64 | +| `maxResults` | number | Yes | Number of bills to request \(1–100\) | |
| 65 | + |
| 66 | +#### Output |
| 67 | + |
| 68 | +| Parameter | Type | Description | |
| 69 | +| --------- | ---- | ----------- | |
| 70 | +| `startPosition` | number | One-based position of the first item in this response | |
| 71 | +| `maxResults` | number | Actual number of items reported for this response | |
| 72 | +| `nextStartPosition` | number | Position to use when explicitly requesting the next page | |
| 73 | +| `hasMore` | boolean | Conservative indication that another page may exist | |
| 74 | +| `time` | string | QuickBooks response timestamp | |
| 75 | +| `items` | array | Bill objects returned by QuickBooks | |
| 76 | +| ↳ `Id` | string | Bill ID | |
| 77 | +| ↳ `SyncToken` | string | Bill sync token | |
| 78 | +| ↳ `DocNumber` | string | Bill reference number | |
| 79 | +| ↳ `TxnDate` | string | Bill transaction date | |
| 80 | +| ↳ `DueDate` | string | Bill due date | |
| 81 | +| ↳ `VendorRef` | json | Bill vendor reference | |
| 82 | +| ↳ `value` | string | QuickBooks entity ID | |
| 83 | +| ↳ `name` | string | QuickBooks entity display name | |
| 84 | +| ↳ `APAccountRef` | json | Accounts payable account reference | |
| 85 | +| ↳ `value` | string | QuickBooks entity ID | |
| 86 | +| ↳ `name` | string | QuickBooks entity display name | |
| 87 | +| ↳ `CurrencyRef` | json | Bill currency reference | |
| 88 | +| ↳ `value` | string | QuickBooks entity ID | |
| 89 | +| ↳ `name` | string | QuickBooks entity display name | |
| 90 | +| ↳ `ExchangeRate` | number | Bill exchange rate | |
| 91 | +| ↳ `Line` | array | Bill line items and their detail objects | |
| 92 | +| ↳ `TotalAmt` | number | Bill total amount | |
| 93 | +| ↳ `Balance` | number | Unpaid bill balance | |
| 94 | +| ↳ `PrivateNote` | string | Private bill note | |
| 95 | +| ↳ `MetaData` | json | Bill creation and update timestamps | |
| 96 | +| ↳ `CreateTime` | string | Entity creation timestamp | |
| 97 | +| ↳ `LastUpdatedTime` | string | Entity last-updated timestamp | |
| 98 | + |
| 99 | +### `quickbooks_list_purchase_orders` |
| 100 | + |
| 101 | +List purchase orders in the connected QuickBooks Online company |
| 102 | + |
| 103 | +#### Input |
| 104 | + |
| 105 | +| Parameter | Type | Required | Description | |
| 106 | +| --------- | ---- | -------- | ----------- | |
| 107 | +| `startPosition` | number | Yes | One-based position of the first purchase order to return | |
| 108 | +| `maxResults` | number | Yes | Number of purchase orders to request \(1–100\) | |
| 109 | + |
| 110 | +#### Output |
| 111 | + |
| 112 | +| Parameter | Type | Description | |
| 113 | +| --------- | ---- | ----------- | |
| 114 | +| `startPosition` | number | One-based position of the first item in this response | |
| 115 | +| `maxResults` | number | Actual number of items reported for this response | |
| 116 | +| `nextStartPosition` | number | Position to use when explicitly requesting the next page | |
| 117 | +| `hasMore` | boolean | Conservative indication that another page may exist | |
| 118 | +| `time` | string | QuickBooks response timestamp | |
| 119 | +| `items` | array | PurchaseOrder objects returned by QuickBooks | |
| 120 | +| ↳ `Id` | string | Purchase order ID | |
| 121 | +| ↳ `SyncToken` | string | Purchase order sync token | |
| 122 | +| ↳ `DocNumber` | string | Purchase order number | |
| 123 | +| ↳ `TxnDate` | string | Purchase order date | |
| 124 | +| ↳ `VendorRef` | json | Purchase order vendor reference | |
| 125 | +| ↳ `value` | string | QuickBooks entity ID | |
| 126 | +| ↳ `name` | string | QuickBooks entity display name | |
| 127 | +| ↳ `CurrencyRef` | json | Purchase order currency reference | |
| 128 | +| ↳ `value` | string | QuickBooks entity ID | |
| 129 | +| ↳ `name` | string | QuickBooks entity display name | |
| 130 | +| ↳ `ExchangeRate` | number | Purchase order exchange rate | |
| 131 | +| ↳ `Line` | array | Purchase order line items and their detail objects | |
| 132 | +| ↳ `TotalAmt` | number | Purchase order total amount | |
| 133 | +| ↳ `PrivateNote` | string | Private purchase order note | |
| 134 | +| ↳ `MetaData` | json | Purchase order creation and update timestamps | |
| 135 | +| ↳ `CreateTime` | string | Entity creation timestamp | |
| 136 | +| ↳ `LastUpdatedTime` | string | Entity last-updated timestamp | |
| 137 | + |
| 138 | +### `quickbooks_list_vendors` |
| 139 | + |
| 140 | +List vendors in the connected QuickBooks Online company |
| 141 | + |
| 142 | +#### Input |
| 143 | + |
| 144 | +| Parameter | Type | Required | Description | |
| 145 | +| --------- | ---- | -------- | ----------- | |
| 146 | +| `startPosition` | number | Yes | One-based position of the first vendor to return | |
| 147 | +| `maxResults` | number | Yes | Number of vendors to request \(1–100\) | |
| 148 | + |
| 149 | +#### Output |
| 150 | + |
| 151 | +| Parameter | Type | Description | |
| 152 | +| --------- | ---- | ----------- | |
| 153 | +| `startPosition` | number | One-based position of the first item in this response | |
| 154 | +| `maxResults` | number | Actual number of items reported for this response | |
| 155 | +| `nextStartPosition` | number | Position to use when explicitly requesting the next page | |
| 156 | +| `hasMore` | boolean | Conservative indication that another page may exist | |
| 157 | +| `time` | string | QuickBooks response timestamp | |
| 158 | +| `items` | array | Vendor objects returned by QuickBooks | |
| 159 | +| ↳ `Id` | string | Vendor ID | |
| 160 | +| ↳ `SyncToken` | string | Vendor sync token | |
| 161 | +| ↳ `DisplayName` | string | Vendor display name | |
| 162 | +| ↳ `CompanyName` | string | Vendor company name | |
| 163 | +| ↳ `GivenName` | string | Vendor given name | |
| 164 | +| ↳ `FamilyName` | string | Vendor family name | |
| 165 | +| ↳ `PrintOnCheckName` | string | Name printed on checks | |
| 166 | +| ↳ `Active` | boolean | Whether the vendor is active | |
| 167 | +| ↳ `Vendor1099` | boolean | Whether the vendor is tracked for 1099 reporting | |
| 168 | +| ↳ `BillAddr` | json | Vendor billing address | |
| 169 | +| ↳ `PrimaryPhone` | json | Vendor primary phone details | |
| 170 | +| ↳ `PrimaryEmailAddr` | json | Vendor primary email details | |
| 171 | +| ↳ `Balance` | number | Vendor balance | |
| 172 | +| ↳ `CurrencyRef` | json | Vendor currency reference | |
| 173 | +| ↳ `value` | string | QuickBooks entity ID | |
| 174 | +| ↳ `name` | string | QuickBooks entity display name | |
| 175 | +| ↳ `MetaData` | json | Vendor creation and update timestamps | |
| 176 | +| ↳ `CreateTime` | string | Entity creation timestamp | |
| 177 | +| ↳ `LastUpdatedTime` | string | Entity last-updated timestamp | |
0 commit comments