Vendors are individuals or companies that you pay for goods and services.
When you create a vendor, you provide a name and a unique identifier (unless the company is configured to auto-generate identifiers).
You can also designate a credit limit, set a payment priority, establish the payment method for the vendor, and so forth. For more information, see Create a vendor in the Sage Intacct Help Center.
Returns a collection with a key, ID, and link for each vendor. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
Subscription | Accounts Payable |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Vendors |
OK
Bad Request
{- "ia::result": [
- {
- "key": "84",
- "id": "Vend-00001",
- "href": "/objects/accounts-payable/vendor/84"
}, - {
- "key": "85",
- "id": "Vend-00002",
- "href": "/objects/accounts-payable/vendor/85"
}, - {
- "key": "60",
- "id": "Vend-00003",
- "href": "/objects/accounts-payable/vendor/60"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100
}
}
Creates a new vendor. When you add a new vendor, you can provide key descriptive information about that vendor and establish how you want to pay them.
Subscription | Accounts Payable |
---|---|
User type | Business |
Permissions | List, View, Add, Edit Vendors (Bank Details permissions required to access vendor bank account.) |
id required | string Unique ID for the vendor. You must specify a unique vendor ID when creating a vendor unless document sequencing is configured, in which case the ID is auto-generated. Example: "V-00014" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
name required | string Name of the vendor as it will appear on lists and menus across your company. Example: "NCS, Inc." | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isOneTimeUse | boolean Default: false Set to Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | string Default: "active" Status of the dimension object:
Example: "active" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
state | string Default: "a" Approval state when vendor approval is enabled.
Example: "s" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Optional vendor type, which is a category of vendors used for reporting purposes. Valid values include any vendor type ID defined by the company. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object If the vendor is a subsidiary of another vendor, parent vendor of the subsidiary vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object General Ledger (GL) account group that the vendor is part of. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object AP account label associated with the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
defaultLeadTime | integer or null Lead time default (days) for inventory replenishment. This field applies only if replenishment is enabled on the Configure Inventory Control page in Sage Intacct. Example: 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
filePaymentService | string Default: "none" File payment service type. Example: "bankFile" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Required when | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
taxId | string or null The tax identification number for the vendor. Example: "192354308" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Tax payments annual report settings for Australian companies and entities. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object T5018 report settings for Canadian companies and entities. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Supporting document for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isOnHold | boolean Default: false Set to Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
doNotPay | boolean Default: false Set to Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
alwaysCreateBill | boolean Default: false If automated transaction matching for Purchasing workflows is enabled, set this field to Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
creditLimit | number Amount of credit extended by the vendor. Example: 10000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
retainagePercentage | number or null The percentage of retainage to withhold for the vendor. (For Construction subscriptions only.) Example: 20 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
notes | string or null Notes or comments about the vendor. Example: "Make sure to include on form 1099." | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Price list for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Price schedule for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Default override offset GL account for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Default GL expense account for bills for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
discountPercent | number or null Discount percentage for the vendor. Specify the percentage as a whole number, for example, specify 10 for 10%. Example: 10 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Contact list for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects or null Templates used to automate standard messages sent to multiple vendors. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Payment providers for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Enable electronic payments to be made to vendors using a local bank file format. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Account numbers associated with a vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
preferredPaymentMethod | string or null Default: null Preferred payment method when you select a bill to pay for the vendor. Example: "EFT" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mergePaymentRequests | boolean Default: true If Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sendPaymentNotification | boolean Default: false If Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
billingType | string or null Default: null Billing type to use on vendor statements.
Example: "openItem" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
paymentPriority | string or null Default: null Optional default payment priority to assign new bills from the vendor. Example: "low" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
currency | string or null Default currency. Example: "USD" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
displayTermDiscountOnCheckStub | boolean Default: true If Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object AP term or rules the vendor has established for extending credit to you. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
vendorAccountNumber | string or null The account number that the vendor has assigned to you. Example: "203" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
displayVendorAccountOnCheckStub | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
vendorRestriction | string Default: "unrestricted" Vendor visibility type. Example: "restricted" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Restricted locations for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Restricted departments for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
|
Created
Bad Request
{- "id": "Vend-00010",
- "name": "Design Works",
- "creditLimit": 40000,
- "isOnHold": false,
- "doNotPay": false,
- "billingType": "openItem",
- "paymentPriority": "normal",
- "billPayment": {
- "defaultDateOptions": "none"
}
}
{- "ia::result": {
- "key": "111",
- "href": "/objects/accounts-payable/vendor/111"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified vendor.
Subscription | Accounts Payable |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Vendors |
key required | string System-assigned key for the vendor. Example: 111 |
OK
Bad Request
{- "ia::result": {
- "key": "111",
- "id": "VEND-00010",
- "name": "Design Works",
- "status": "active",
- "state": "a",
- "taxId": "12-3456789",
- "form1099": {
- "nameOn1099": "Design Works Inc",
- "type": "MISC",
- "box": "3"
}, - "creditLimit": 40000,
- "isOnHold": true,
- "doNotPay": true,
- "alwaysCreateBill": false,
- "currency": "USD",
- "contacts": {
- "primary": {
- "id": "Doe, John",
- "key": "271",
- "href": "/objects/company-config/contact/271"
}, - "payTo": {
- "id": "Ho, Amy",
- "key": "298",
- "href": "/objects/company-config/contact/298"
}, - "returnTo": {
- "id": "Doe, John",
- "key": "271",
- "href": "/objects/company-config/contact/271"
}, - "recipient1099": {
- "id": "Ho, Amy",
- "key": "298",
- "href": "/objects/company-config/contact/298"
}
}, - "mergePaymentRequests": true,
- "sendPaymentNotification": true,
- "restriction": {
- "restrictionType": "unrestricted"
}, - "billingType": "openItem",
- "paymentPriority": "normal",
- "displayTermDiscountOnCheckStub": true,
- "billPayment": {
- "defaultDateOptions": "none"
}, - "displayVendorAccountOnCheckStub": true,
- "ach": {
- "enablePayments": false,
- "routingNumber": null,
- "accountNumber": null,
- "accountType": null,
- "remittanceType": null
}, - "audit": {
- "modifiedDateTime": "2021-03-24T21:16:54Z",
- "createdDateTime": "2021-03-24T21:16:54Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "entity": {
- "id": "1",
- "key": "1",
- "name": "United States of America"
}, - "href": "/objects/accounts-payable/vendor/111"
}, - "ia::meta": {
- "totalCount": 1
}
}
Updates an existing vendor by setting field values. Any fields not provided remain unchanged.
Subscription | Accounts Payable |
---|---|
User type | Business |
Permissions | List, View, Edit Vendors |
key required | string System-assigned key for the vendor. Example: 111 |
name | string Name of the vendor as it will appear on lists and menus across your company. Example: "NCS, Inc." | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isOneTimeUse | boolean Default: false Set to Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | string Default: "active" Status of the dimension object:
Example: "active" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
state | string Default: "a" Approval state when vendor approval is enabled.
Example: "s" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Optional vendor type, which is a category of vendors used for reporting purposes. Valid values include any vendor type ID defined by the company. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object If the vendor is a subsidiary of another vendor, parent vendor of the subsidiary vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object General Ledger (GL) account group that the vendor is part of. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object AP account label associated with the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
defaultLeadTime | integer or null Lead time default (days) for inventory replenishment. This field applies only if replenishment is enabled on the Configure Inventory Control page in Sage Intacct. Example: 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
filePaymentService | string Default: "none" File payment service type. Example: "bankFile" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Required when | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
taxId | string or null The tax identification number for the vendor. Example: "192354308" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Tax payments annual report settings for Australian companies and entities. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object T5018 report settings for Canadian companies and entities. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Supporting document for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
isOnHold | boolean Default: false Set to Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
doNotPay | boolean Default: false Set to Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
alwaysCreateBill | boolean Default: false If automated transaction matching for Purchasing workflows is enabled, set this field to Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
creditLimit | number Amount of credit extended by the vendor. Example: 10000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
retainagePercentage | number or null The percentage of retainage to withhold for the vendor. (For Construction subscriptions only.) Example: 20 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
notes | string or null Notes or comments about the vendor. Example: "Make sure to include on form 1099." | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Price list for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Price schedule for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Default override offset GL account for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Default GL expense account for bills for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
discountPercent | number or null Discount percentage for the vendor. Specify the percentage as a whole number, for example, specify 10 for 10%. Example: 10 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Contact list for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects or null Templates used to automate standard messages sent to multiple vendors. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Payment providers for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Enable electronic payments to be made to vendors using a local bank file format. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Account numbers associated with a vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
preferredPaymentMethod | string or null Default: null Preferred payment method when you select a bill to pay for the vendor. Example: "EFT" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mergePaymentRequests | boolean Default: true If Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sendPaymentNotification | boolean Default: false If Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
billingType | string or null Default: null Billing type to use on vendor statements.
Example: "openItem" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
paymentPriority | string or null Default: null Optional default payment priority to assign new bills from the vendor. Example: "low" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
currency | string or null Default currency. Example: "USD" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
displayTermDiscountOnCheckStub | boolean Default: true If Example: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object AP term or rules the vendor has established for extending credit to you. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
vendorAccountNumber | string or null The account number that the vendor has assigned to you. Example: "203" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
displayVendorAccountOnCheckStub | boolean Default: false Set to Example: false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
vendorRestriction | string Default: "unrestricted" Vendor visibility type. Example: "restricted" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Restricted locations for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects Restricted departments for the vendor. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
|
OK
Bad Request
{- "billingType": "balanceForward"
}
{- "ia::result": {
- "key": "1",
- "id": "RituDate11-21-2015",
- "href": "/objects/accounts-payable/vendor/1"
}, - "ia::meta": {
- "totalCount": 1
}
}
Deletes a vendor. You can only delete vendors that aren't tied to any transactions or payments.
Subscription | Accounts Payable |
---|---|
User type | Business |
Permissions | List, View, Delete Vendors |
key required | string System-assigned key for the vendor. Example: 111 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
When vendor approval is enabled, new and recently edited vendors are automatically submitted to an approval queue. Vendors submitted to the approval queue have a state of submitted
. Designated approvers review those vendors and either approve or decline them. When a vendor is approved, the state for that vendor changes from submitted
to approved
.
For more information, see About vendor approvals in the Sage Intacct Help Center.
Subscription | Accounts Payable |
---|---|
Configuration | Vendor approval enabled |
User type | Business, Employee |
Permissions | Approve vendors - List |
key | string System-assigned key for the vendor. Example: "518" |
notes | string Notes or comments about this vendor. Example: "Approved, ready for use" |
OK
Bad Request
{- "key": "518",
- "notes": "Approved, ready for use"
}
{- "ia::result": {
- "key": "518",
- "id": "V-00014",
- "href": "/objects/accounts-payable/vendor/518",
- "state": "approved"
}, - "ia::meta": {
- "totalCount": 3,
- "totalSuccess": 2,
- "totalError": 1
}
}
When vendor approval is enabled, new and recently edited vendors are automatically submitted to an approval queue. Vendors submitted to the approval queue have a state of submitted
. Designated approvers review those vendors and either approve or decline them. When a vendor is declined, the state for that vendor changes from submitted
to declined
.
For more information, see About vendor approvals in the Sage Intacct Help Center.
Subscription | Accounts Payable |
---|---|
Configuration | Vendor approval enabled |
User type | Business, Employee |
Permissions | Approve vendors - List |
key | string System-assigned key for the vendor. Example: "518" |
notes | string Notes or comments about this vendor. Example: "Declined, missing information" |
OK
Bad Request
{- "key": "518",
- "notes": "Declined, missing information"
}
{- "ia::result": {
- "key": "518",
- "id": "V-00014",
- "href": "/objects/accounts-payable/vendor/518",
- "state": "declined"
}, - "ia::meta": {
- "totalCount": 3,
- "totalSuccess": 2,
- "totalError": 1
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "accounts-payable/vendor" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or has (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the result set, 4000 maximum. Example: 100 |
OK
Bad Request
{- "object": "accounts-payable/vendor",
- "filters": [
- {
- "$eq": {
- "status": "active"
}
}
], - "fields": [
- "key",
- "id",
- "parent.id",
- "accountGroup.id",
- "isOnHold",
- "href"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "key": "38",
- "id": "1099 INTCA",
- "parent.id": "A100",
- "accountGroup.id": "Long Term Debt & Other",
- "isOnHold": false,
- "href": "/objects/accounts-payable/vendor/38"
}, - {
- "key": "43",
- "id": "1099 INT",
- "parent.id": "210",
- "accountGroup.id": "Equity",
- "isOnHold": false,
- "href": "/objects/accounts-payable/vendor/43"
}, - {
- "key": "47",
- "id": "1099INTTX",
- "parent.id": "213",
- "accountGroup.id": "Equity",
- "isOnHold": true,
- "href": "/objects/accounts-payable/vendor/47"
}, - {
- "key": "48",
- "id": "1099 INTGA",
- "parent.id": "210",
- "accountGroup.id": "Capital",
- "isOnHold": false,
- "href": "/objects/accounts-payable/vendor/48"
}
], - "ia::meta": {
- "totalCount": 4,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}