{% note tip "" %}
Choose a tool for developing with an AI agent:
- use Alaio Vibecode to build an app for Bitrix24 from a task description without knowing any programming language. The agent writes the code and deploys the app to a server, with no manual hosting setup
- use the MCP server to develop a REST API integration in your own project. The agent refers to the official REST documentation
{% endnote %}
Inventory accounting is a tool that allows you to track the available and reserved quantity of goods in warehouses.
To add, move, or remove goods from the warehouse, use inventory accounting documents.
Quick navigation: all methods
User documentation: Bitrix24 Inventory Management
The following types of documents are available in inventory accounting:
A— goods arrival at the warehouseS— goods receiptM— goods transfer between warehousesR— goods returnD— goods write-off
Set access permissions for each type of document. If access permissions are not configured, employees will see an error when attempting to open inventory accounting documents and will be unable to work with them.
{% note tip "User Documentation" %}
- Access permissions for Inventory management documents
- Create a stock adjustment
- Create a stock receipt
- Work with sales orders
- Write-offs
- Transfers
{% endnote %}
For new development, use the catalog.document.* and catalog.document.element.* methods. Deprecated methods catalog.document.confirm, catalog.document.unconfirm, catalog.document.fields, and catalog.document.element.fields are kept only to support legacy integrations.
Current replacements:
#|
|| If a Legacy Integration Uses | Use Now ||
|| catalog.document.confirm | catalog.document.conduct ||
|| catalog.document.unconfirm | catalog.document.cancel ||
|| catalog.document.fields | catalog.document.getFields ||
|| catalog.document.element.fields | catalog.document.element.getFields ||
|#
Goods in the Inventory Accounting Document. Specify the goods for the inventory accounting document using the methods catalog.document.element.*.
Warehouses. Specify the warehouse for which you are creating the inventory accounting document. Use the methods catalog.store.*.
Custom Fields for Inventory Accounting Documents. You can create additional fields for inventory accounting documents using the method userfieldconfig.add. Pass moduleId = catalog, and specify the document type in entityId using the CAT_STORE_DOCUMENT_<DOC_TYPE> format, for example CAT_STORE_DOCUMENT_A. You can view additional fields and change their values using the methods catalog.userfield.document.*.
Scope:
catalogWho can execute methods: administrator
#| || Method | Description || || catalog.document.add | Adds an inventory accounting document || || catalog.document.update | Updates an inventory accounting document || || catalog.document.list | Returns a list of inventory accounting documents || || catalog.document.delete | Deletes an inventory accounting document || || catalog.document.deleteList | Deletes a group of inventory accounting documents || || catalog.document.conduct | Conducts an inventory accounting document || || catalog.document.conductList | Conducts a group of inventory accounting documents || || catalog.document.cancel | Cancels the conduct of an inventory accounting document || || catalog.document.cancelList | Cancels the conduct of a group of inventory accounting documents || || catalog.document.mode.status | Checks if inventory accounting is enabled || || catalog.document.getFields | Returns available fields of the inventory accounting document || |#
#| || Method | Description || || catalog.document.element.add | Adds a good to the inventory accounting document || || catalog.document.element.update | Updates a good in the inventory accounting document || || catalog.document.element.list | Returns a list of goods in the inventory accounting document || || catalog.document.element.delete | Deletes a good from the inventory accounting document || || catalog.document.element.getFields | Returns a list of available fields for goods in the inventory accounting document || |#