Skip to main content

Create Cost Entry

POST 

/api/cost-entries

Creates a cost entry.

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Required fields: description, cost_date (Y-m-d), amount (in the entry's currency) and amount_in_tenant_currency.

Optional fields: cost_entry_type_id, status (draft, pending_allocation, partially_allocated or allocated; default draft), supplier_id, reference_number, currency_id, currency_rate, nominal_code_id, bill_id and bill_line_id (link the entry to a bill), source_type, source_id and source_period (identify an originating document and the period the cost applies to).

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type