BimpHelp

Expense items: Bimp API methods

Bimp API methods for the “Expense items” resource (/org2/expenseItems/…): 2 methods. Base URL: https://app.bimpsoft.com. All requests except login pass the company token in the access-token header — see Getting started with the API.

MethodWhat it does
POST /org2/expenseItems/api-readListA request to view a list of expense items
POST /org2/expenseItems/api-createA request to create an expense item

api-readList

POST /org2/expenseItems/api-readList

A request to view a list of expense items

Response: data field

FieldTypeDescription
[].uuidstring (uuid)
[].namestring
[].expensesGroupstring
[].expensesGroupUuidstring (uuid)Expense group uuid, used as expensesGroup in expenseItems/api-create
[].activityTypestring (uuid)Activity type uuid, used as activityType in expenseItems/api-create
curl -X POST 'https://app.bimpsoft.com/org2/expenseItems/api-readList' \
  -H 'access-token: <company token>'

api-create

POST /org2/expenseItems/api-create

A request to create an expense item

Request body (JSON)

FieldTypeRequiredDescription
namestringyesExpense item name
expensesGroupstring (uuid)yesExpense group: the expensesGroupUuid value of the /expenseItems/api-readList request
activityTypestring (uuid)Activity type: the activityType value of the /expenseItems/api-readList request. If omitted, the operating activity is set
parentstring (uuid)Parent expense item (“Батьківська стаття витрат” in the form): the uuid of an expense item of the same expense group from the /expenseItems/api-readList request. If omitted, the item is a top-level one in its group
cashFlowItemstringCash flow statement item (shown as “Стаття РГК” in the form). If omitted, the expense item name is used
commentstringAn optional text field for any additional notes or comments related to the document

Response: data field

FieldTypeDescription
uuidstring (uuid)A unique uuid key of the created expense item
curl -X POST 'https://app.bimpsoft.com/org2/expenseItems/api-create' \
  -H 'access-token: <company token>' \
  -H 'Content-Type: application/json' \
  -d '{"name":"string","expensesGroup":"00000000-0000-0000-0000-000000000000"}'

Interactive documentation with a test request option: https://app.bimpsoft.com/docs. The OpenAPI specification is updated together with Bimp; this page is generated from it automatically.