Component items in a stockable kit are assembled together to make it an inventoried item. Stockable kit documents provide a record of stockable kit build and disassembly transactions.
When stockable kits are built, the inventory of the components added to the stockable kit is reduced and the number of stockable kits is increased. When stockable kits are disassembled, the inventory of the components removed from the stockable kit is increased and the number of stockable kits is decreased.
For more information, see Kits in the Sage Intacct Help Center.
Returns a collection with a key, ID, and link for each stockable kit document. 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 | Inventory |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Inventory documents |
OK
Bad Request
{- "ia::result": [
- {
- "key": "118",
- "id": "Disassemble Kits-SK-000311",
- "href": "/objects/inventory-control/stockable-kit-document/118"
}, - {
- "key": "161",
- "id": "Build Kits-SM002",
- "href": "/objects/inventory-control/stockable-kit-document/161"
}, - {
- "key": "130",
- "id": "Disassemble Kits-US1",
- "href": "/objects/inventory-control/stockable-kit-document/130"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new stockable kit document.
Subscription | Inventory |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View, Add Inventory documents |
transactionDate required | string <date> Date that the transaction occurred. Example: "2024-01-01" | ||||||||||||||||||||||||||
required | object Transaction definition associated with this transaction. | ||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
documentNumber | string If a numbering sequence is not configured for Inventory Control documents, you must specify a document number. Example: "BldKit-000906-doc" | ||||||||||||||||||||||||||
state | string Default: "draft" Status of the transaction. Example: "pending" | ||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||||||||
referenceNumber | string User-assigned reference number for the stockable kit document. Example: "BUILD-1002" | ||||||||||||||||||||||||||
memo | string Stockable kit document notes. Example: "2024-01-10 assembly" | ||||||||||||||||||||||||||
object Exchange rate details used to calculate the base amount. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
lastPrintedDate | string or null <date> Date that the document was last printed. Example: "24-01-15" | ||||||||||||||||||||||||||
baseCurrency | string Base currency for the transaction. Example: "USD" | ||||||||||||||||||||||||||
txnCurrency | string Currency used for the transaction. Example: "USD" | ||||||||||||||||||||||||||
object The source transaction from which the inventory document was created. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object Supporting document for this inventory transaction. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object The last user who printed this document | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Array of objects Lines of the stockable kit document. | |||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||
Array of objects Lines of the stockable kit document history. | |||||||||||||||||||||||||||
Array |
Created
Bad Request
{- "txnDefinition": {
- "id": "Build Kits"
}, - "state": "pending",
- "transactionDate": "2025-02-05",
- "documentNumber": "SM001",
- "referenceNumber": "REFF NUM",
- "lines": [
- {
- "unitOfMeasure": {
- "id": "Each"
}, - "unitQuantity": "1",
- "trackingDetail": [
- {
- "item": {
- "id": "HAMMER16-KIT"
}, - "quantity": "1",
- "serialNumber": "L1232",
- "lotNumber": "L33",
- "expirationDate": "2025-12-31"
}
], - "dimensions": {
- "item": {
- "id": "HAMMER16-KIT"
}, - "warehouse": {
- "id": "15"
}, - "location": {
- "id": "1"
}
}
}
]
}
{- "ia::result": {
- "key": "159",
- "id": "Build Kits-SM001",
- "href": "/objects/inventory-control/stockable-kit-document/159"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified stockable kit document.
Subscription | Inventory |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Inventory documents |
key required | string System-assigned unique key for the stockable kit document. Example: 118 |
OK
Bad Request
{- "ia::result": {
- "key": "119",
- "documentNumber": "BldKit-000879-doc",
- "id": "Build Kits-BldKit-000879-doc",
- "sourceDocument": {
- "id": null,
- "key": null
}, - "state": "pending",
- "transactionDate": "2024-03-12",
- "audit": {
- "createdDateTime": "2024-03-12T20:21:07Z",
- "createdByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "createdBy": "1",
- "modifiedByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "modifiedBy": "1",
- "modifiedDateTime": "2024-03-12T20:21:27Z"
}, - "referenceNumber": "ESC15738925-02-StockableKit",
- "documentType": "Build Kits",
- "txnDefinition": {
- "documentType": "Build Kits",
- "id": "Build Kits",
- "key": "127",
- "txnDefinitionTemplateClass": "INVOICE",
- "updatesInventory": "quantityAndValue",
- "increaseOrDecreaseInventory": "increase",
- "href": "/objects/inventory-control/txn-definition::Build%20Kits/127"
}, - "memo": null,
- "lineDescription": "ESC15738925-02-StockableKit",
- "postingSummary": {
- "id": "29",
- "key": "29",
- "href": "/objects/inventory-control/posting-summary/29"
}, - "journalEntry": {
- "id": "1055",
- "key": "1055",
- "href": "/objects/inventory-control/journal-entry/1055"
}, - "isPrinted": false,
- "subTotal": "0.00",
- "total": "0.00",
- "txnCurrency": "USD",
- "exchangeRate": {
- "date": "2024-03-12",
- "rate": "1.0000",
- "typeId": null,
- "typeName": null
}, - "subtotalInTxnCurrency": "0.00",
- "totalInTxnCurrency": "0.00",
- "baseCurrency": "USD",
- "lastPrintedDate": null,
- "printedBy": {
- "key": null,
- "id": null
}, - "buildState": "built",
- "entity": {
- "key": null,
- "id": null,
- "name": null
}, - "lines": [
- {
- "id": "118",
- "key": "118",
- "documentHeader": {
- "documentNumber": "119",
- "key": "119",
- "id": "Build Kits-BldKit-000879-doc",
- "documentType": "Build Kits",
- "href": "/objects/inventory-control/stockable-kit-document/119"
}, - "documentType": "Build Kits",
- "lineNumber": 0,
- "dimensions": {
- "item": {
- "key": "307",
- "id": "0713F-ALT--Finished Fields",
- "name": "Finished Fields",
- "href": "/objects/inventory-control/item/307"
}, - "warehouse": {
- "id": "BWH01",
- "key": "10",
- "href": "/objects/inventory-control/warehouse/10"
}, - "location": {
- "id": "Belize",
- "key": "1020",
- "href": "/objects/company-config/location/1020"
}, - "department": {
- "id": null,
- "key": null
}, - "project": {
- "key": null,
- "id": null
}, - "task": {
- "key": null,
- "id": null
}, - "customer": {
- "key": null,
- "id": null,
- "name": null
}, - "vendor": {
- "key": null,
- "id": null,
- "name": null
}, - "employee": {
- "key": null,
- "id": null,
- "name": null
}, - "class": {
- "key": null,
- "id": null,
- "name": null
}
}, - "unitOfMeasure": {
- "id": "Each",
- "key": "3",
- "href": "/objects/inventory-control/unit-of-measure/3"
}, - "memo": null,
- "quantity": "10.0000000000",
- "quantityConverted": "0.0000000000",
- "cost": "0.0000000000",
- "audit": {
- "modifiedDateTime": "2024-03-12T20:21:28Z",
- "createdDateTime": "2024-03-12T20:21:07Z",
- "createdByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "createdBy": "1",
- "modifiedByUser": {
- "key": "1",
- "href": "/objects/company-config/user/1"
}, - "modifiedBy": "1"
}, - "status": "active",
- "costMethod": "FIFO",
- "unitQuantity": "10.0000000000",
- "unitCost": "0.0000000000",
- "extendedCost": "0.0000000000",
- "sourceDocument": {
- "key": null,
- "id": null,
- "documentType": null
}, - "sourceDocumentLine": {
- "id": null,
- "key": null,
- "documentType": "Build Kits"
}, - "txnCurrency": "USD",
- "baseCurrency": "USD",
- "quantityRemaining": "10.0000000000",
- "trackingDetail": [
- {
- "item": {
- "id": "HAMMER16-KIT",
- "quantity": "1",
- "serialNumber": "L1232",
- "lotNumber": "L33",
- "expirationDate": "2025-12-31"
}
}
], - "href": "/objects/inventory-control/stockable-kit-document-line/118"
}
], - "history": [
- {
- "id": "87",
- "key": "87",
- "convertedTo": {
- "key": "119",
- "id": "Build Kits-BldKit-000879-doc",
- "documentType": "Build Kits",
- "href": "/objects/inventory-control/document::Build%20Kits/119"
}, - "convertedFrom": {
- "id": null,
- "documentType": null,
- "key": null
}, - "inventoryDocument": {
- "key": "119",
- "id": "Build Kits-BldKit-000879-doc",
- "documentType": "Build Kits",
- "href": "/objects/inventory-control/document::Build%20Kits/119"
}, - "href": "/objects/inventory-control/document-history/87"
}
], - "attachment": {
- "id": null,
- "key": null
}, - "href": "/objects/inventory-control/stockable-kit-document/119"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing stockable kit document by setting field values. Any fields not provided remain unchanged.
Subscription | Inventory |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View, Edit Inventory documents |
key required | string System-assigned unique key for the stockable kit document. Example: 118 |
state | string Default: "draft" Status of the transaction. Example: "pending" | ||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||||||||
referenceNumber | string User-assigned reference number for the stockable kit document. Example: "BUILD-1002" | ||||||||||||||||||||||||||
memo | string Stockable kit document notes. Example: "2024-01-10 assembly" | ||||||||||||||||||||||||||
object Exchange rate details used to calculate the base amount. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
transactionDate | string <date> Date that the transaction occurred. Example: "2024-01-01" | ||||||||||||||||||||||||||
lastPrintedDate | string or null <date> Date that the document was last printed. Example: "24-01-15" | ||||||||||||||||||||||||||
baseCurrency | string Base currency for the transaction. Example: "USD" | ||||||||||||||||||||||||||
txnCurrency | string Currency used for the transaction. Example: "USD" | ||||||||||||||||||||||||||
object Transaction definition associated with this transaction. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object Supporting document for this inventory transaction. | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
object The last user who printed this document | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Array of objects Lines of the stockable kit document. | |||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||
Array of objects Lines of the stockable kit document history. | |||||||||||||||||||||||||||
Array |
OK
Bad Request
{- "referenceNumber": "AddNewLine-02",
- "lines": [
- {
- "unitOfMeasure": {
- "id": "Each"
}, - "unitQuantity": "1",
- "trackingDetail": [
- {
- "item": {
- "id": "HAMMER17-KIT"
}, - "quantity": "1",
- "serialNumber": "L2321",
- "lotNumber": "L32",
- "expirationDate": "2025-12-31"
}
], - "dimensions": {
- "item": {
- "id": "HAMMER17-KIT"
}, - "warehouse": {
- "id": "BWH01"
}, - "location": {
- "id": "1"
}
}
}
]
}
{- "ia::result": {
- "key": "161",
- "id": "Build Kits-SM002",
- "href": "/objects/inventory-control/stockable-kit-document/161"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a stockable kit document.
Subscription | Inventory |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View, Delete Inventory documents |
key required | string System-assigned unique key for the stockable kit document. Example: 118 |
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
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "inventory-control/stockable-kit-document" | ||||||||
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": "inventory-control/stockable-kit-document",
- "filters": [
- {
- "$eq": {
- "documentType": "Disassemble Kits"
}
}
], - "fields": [
- "id",
- "href",
- "state",
- "transactionDate",
- "txnDefinition.increaseOrDecreaseInventory",
- "buildState"
]
}
{- "ia::result": [
- {
- "id": "Disassemble Kits-DisKit-000071-doc",
- "href": "/objects/inventory-control/stockable-kit-document/1283",
- "state": "pending",
- "transactionDate": "2024-07-13",
- "txnDefinition.increaseOrDecreaseInventory": "decrease",
- "buildState": "disassembled"
}, - {
- "id": "Disassemble Kits-DisKit-000260-doc",
- "href": "/objects/inventory-control/stockable-kit-document/2236",
- "state": "pending",
- "transactionDate": "2024-01-05",
- "txnDefinition.increaseOrDecreaseInventory": "decrease",
- "buildState": "disassembled"
}, - {
- "id": "Disassemble Kits-DisKit-000261-doc",
- "href": "/objects/inventory-control/stockable-kit-document/2238",
- "state": "pending",
- "transactionDate": "2024-05-10",
- "txnDefinition.increaseOrDecreaseInventory": "decrease",
- "buildState": "disassembled"
}, - {
- "id": "Disassemble Kits-DisKit-000262-doc",
- "href": "/objects/inventory-control/stockable-kit-document/2240",
- "state": "pending",
- "transactionDate": "2024-02-25",
- "txnDefinition.increaseOrDecreaseInventory": "decrease",
- "buildState": "disassembled"
}
], - "ia::meta": {
- "totalCount": 4,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}