Skip to main content
POST
Create a Nature

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Body

application/json

Nature to create.

A purchase nature (category).

name
string
costFamilyId
integer<int32> | null
write-only

Write-only. ID of the cost family.

state
enum<string>
Available options:
Enabled,
Disabled
accountingPlans
object[]

Accounting plans for this nature.

Response

201 - application/json

Created

A purchase nature (category).

id
integer<int32>
read-only
name
string
costFamily
object | null
read-only

Read-only. Cost family of this nature.

state
enum<string>
Available options:
Enabled,
Disabled
accountingPlans
object[]

Accounting plans for this nature.