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 the query service to find objects that meet certain criteria and to specify properties that are returned.
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.
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.
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.
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.
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
}
}