expenditures

Create Item

Admin-only: create a single expenditure item by hand. Used by the "Add expense" popup on the expenditure page to plug gaps between bookkeeping imports. Rows are grouped under a per-claim "Manual entries" :class:AURDExpenditureImport and are marked manual_override=True.

post/claims/{claim_id}/expenditures/items

Request

  • Base URL
    https://api.claimkit.co (the document declares no server; this is the origin it was published from)
  • URL
    https://api.claimkit.co/claims/{claim_id}/expenditures/items
  • Auth
    none declared

Path parameters

claim_idinteger required

Request body

namestring required
source_datestring date nullable
descriptionstring nullable
categorystring nullable
eligibility'r_and_d' | 'non_eligible'
activity_idinteger nullable

Response

Successful Response

idinteger required
import_idinteger nullable required
source_sheetstring required
namestring required
descriptionstring nullable required
notestring nullable
source_amountnumber nullable required
source_datestring nullable required
source_account_codestring nullable required
source_account_namestring nullable
source_employee_namestring nullable required
source_departmentstring nullable required
source_tax_amountnumber nullable
categorystring nullable required
subgroup_keystring nullable required
activity_idinteger nullable required
eligibilitystring required
rd_percentagenumber nullable required
rd_amountnumber nullable required
manual_overrideboolean required
manual_override_by_adminboolean nullable
auto_categorisedboolean
import_source_typestring nullable
open_query_countinteger
refund_of_item_idinteger nullable
refund_of_item_namestring nullable
distribution_linkedboolean
distribution_link_sourcestring nullable
distribution_scopestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.