Stockable kit documents

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.

List stockable kit documents

get/objects/inventory-control/stockable-kit-document

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.

SecurityOAuth2
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "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
    }
}

Create a stockable kit document

post/objects/inventory-control/stockable-kit-document

Creates a new stockable kit document.

SecurityOAuth2
Request
Request Body schema: application/json
required
transactionDate
required
string <date>

Date that the transaction occurred.

Example: "2024-01-01"
required
object

Transaction definition associated with this transaction.

key
string

Unique key for the transaction definition.

Example: "41"
id
string

Name for the transaction definition.

Example: "Build Kits"
updatesInventory
string

If the transaction updates inventory, indicates whether quantity, value, or both are updated.

Enum: "no" "quantity" "quantityAndValue" "value"
Example: "quantityAndValue"
increaseOrDecreaseInventory
string

If the transaction updates inventory, indicates whether it increases or decreases inventory.

Enum: "decrease" "increase"
Example: "increase"
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.

Enum: "converted" "draft" "inProgress" "pending"
Example: "pending"
status
string
Default: "active"

Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced.

Enum: "active" "inactive"
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.

date
string <date>

Exchange rate date for this transaction. Can be the current date, the date the transaction was issued, or the date the transaction will be paid.

Example: "2024-01-23"
rate
string <decimal-precision-4>

Exchange rate used to calculate the base amount from the transaction amount.

Example: "1.0789"
typeId
string

Exchange rate type used to calculate the base amount from the transaction amount.

Example: "1"
typeName
string

The name of exchange rate type.

Example: "Intacct Daily Rate"
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.

key
string

Unique key for the source document.

Example: "23"
id
string

Unique ID for the source document.

Example: "Build Kits-BldKit-000906-doc"
object

Supporting document for this inventory transaction.

key
string

Unique key for the attachment.

Example: "23"
id
string

Unique ID for the attachment.

Example: "Build Kits attachment"
object

The last user who printed this document

key
string

Unique key for the user.

Example: "23"
id
string

Unique name of the user.

Example: "John Smith"
Array of objects

Lines of the stockable kit document.

Array
unitQuantity
required
string <decimal-precision-10>

Unit quantity associated with the line item.

Example: "100"
memo
string

Text to appear on the printed document for the line item.

Example: "Bicycle wheels"
lineDescription
string

Description of the line item.

Example: "Bicycle wheels 0112"
object

The unit of measure for the line item.

quantity
string <decimal-precision-10>

Base unit quantity associated with the line item.

Example: "100"
txnCurrency
string

Currency used for the line item transaction.

Example: "USD"
baseCurrency
string

Base currency for the line item transaction.

Example: "USD"
Array of objects

List of warehouse inventory details including serial number, aisle, bin, and row for the line item.

object

The stockable kit document that contains the line item.

object
object

The Build Kits document that has been disassembled. (Applies only to Disassemble Kits documents.)

object

Document line in the source Build Kits document that has been disassembled. (Applies only to Disassemble Kits documents.)

status
string
Default: "active"

Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced.

Enum: "active" "inactive"
Example: "active"
Array of objects

Lines of the stockable kit document history.

Array
Responses
201

Created

400

Bad Request

Request samples
application/json
{
  • "txnDefinition": {
    • "id": "Build Kits"
    },
  • "state": "pending",
  • "transactionDate": "2025-02-05",
  • "documentNumber": "SM001",
  • "referenceNumber": "REFF NUM",
  • "lines": [
    • {
      • "unitOfMeasure": {
        },
      • "unitQuantity": "1",
      • "trackingDetail": [
        ],
      • "dimensions": {
        }
      }
    ]
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "159",
    • "id": "Build Kits-SM001",
    • "href": "/objects/inventory-control/stockable-kit-document/159"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Get a stockable kit document

get/objects/inventory-control/stockable-kit-document/{key}

Returns detailed information for a specified stockable kit document.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the stockable kit document.

Example: 118
Responses
200

OK

400

Bad Request

Request samples
Response samples
application/json
{
  • "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": {
        },
      • "createdBy": "1",
      • "modifiedByUser": {
        },
      • "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": [
      • {
        }
      ],
    • "history": [
      • {
        }
      ],
    • "attachment": {
      • "id": null,
      • "key": null
      },
    • "href": "/objects/inventory-control/stockable-kit-document/119"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Update a stockable kit document

patch/objects/inventory-control/stockable-kit-document/{key}

Updates an existing stockable kit document by setting field values. Any fields not provided remain unchanged.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the stockable kit document.

Example: 118
Request Body schema: application/json
state
string
Default: "draft"

Status of the transaction.

Enum: "converted" "draft" "inProgress" "pending"
Example: "pending"
status
string
Default: "active"

Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced.

Enum: "active" "inactive"
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.

date
string <date>

Exchange rate date for this transaction. Can be the current date, the date the transaction was issued, or the date the transaction will be paid.

Example: "2024-01-23"
rate
string <decimal-precision-4>

Exchange rate used to calculate the base amount from the transaction amount.

Example: "1.0789"
typeId
string

Exchange rate type used to calculate the base amount from the transaction amount.

Example: "1"
typeName
string

The name of exchange rate type.

Example: "Intacct Daily Rate"
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.

key
string

Unique key for the transaction definition.

Example: "41"
updatesInventory
string

If the transaction updates inventory, indicates whether quantity, value, or both are updated.

Enum: "no" "quantity" "quantityAndValue" "value"
Example: "quantityAndValue"
increaseOrDecreaseInventory
string

If the transaction updates inventory, indicates whether it increases or decreases inventory.

Enum: "decrease" "increase"
Example: "increase"
object

Supporting document for this inventory transaction.

key
string

Unique key for the attachment.

Example: "23"
id
string

Unique ID for the attachment.

Example: "Build Kits attachment"
object

The last user who printed this document

key
string

Unique key for the user.

Example: "23"
id
string

Unique name of the user.

Example: "John Smith"
Array of objects

Lines of the stockable kit document.

Array
memo
string

Text to appear on the printed document for the line item.

Example: "Bicycle wheels"
lineDescription
string

Description of the line item.

Example: "Bicycle wheels 0112"
object

The unit of measure for the line item.

unitQuantity
string <decimal-precision-10>

Unit quantity associated with the line item.

Example: "100"
quantity
string <decimal-precision-10>

Base unit quantity associated with the line item.

Example: "100"
txnCurrency
string

Currency used for the line item transaction.

Example: "USD"
baseCurrency
string

Base currency for the line item transaction.

Example: "USD"
Array of objects

List of warehouse inventory details including serial number, aisle, bin, and row for the line item.

object

The stockable kit document that contains the line item.

object
object

The Build Kits document that has been disassembled. (Applies only to Disassemble Kits documents.)

object

Document line in the source Build Kits document that has been disassembled. (Applies only to Disassemble Kits documents.)

status
string
Default: "active"

Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced.

Enum: "active" "inactive"
Example: "active"
Array of objects

Lines of the stockable kit document history.

Array
Responses
200

OK

400

Bad Request

Request samples
application/json
{
  • "referenceNumber": "AddNewLine-02",
  • "lines": [
    • {
      • "unitOfMeasure": {
        },
      • "unitQuantity": "1",
      • "trackingDetail": [
        ],
      • "dimensions": {
        }
      }
    ]
}
Response samples
application/json
{
  • "ia::result": {
    • "key": "161",
    • "id": "Build Kits-SM002",
    • "href": "/objects/inventory-control/stockable-kit-document/161"
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 1,
    • "totalError": 0
    }
}

Delete a stockable kit document

delete/objects/inventory-control/stockable-kit-document/{key}

Deletes a stockable kit document.

SecurityOAuth2
Request
path Parameters
key
required
string

System-assigned unique key for the stockable kit document.

Example: 118
Responses
204

No Content

400

Bad Request

Request samples
Response samples
application/json
{
  • "ia::result": {
    • "ia::error": {
      • "code": "invalidRequest",
      • "message": "A POST request requires a payload",
      • "errorId": "REST-1028",
      • "additionalInfo": {
        },
      • "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
      }
    },
  • "ia::meta": {
    • "totalCount": 1,
    • "totalSuccess": 0,
    • "totalError": 1
    }
}