Skip to main content
POST
Create transaction

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
date
string<date>
required

Date

type
string
required

Type

total
number
required

Total

currency_change_amount
number
required

Currency change amount

exchange
number
required

Exchange

source_id
integer
required

Source ID

currency_id
integer
required

Currency ID

receipt_number
string

Receipt number

is_income
boolean

Is income

client_id
integer

Client ID

company_id
integer

Company ID

can_update
boolean

Can update

can_delete
boolean

Can delete

Response

200 - application/json

Transaction created successfully

id
integer
date
string<date>
receipt_number
string
type
string
total
number
currency_change_amount
number
exchange
number
source_id
integer
currency_id
integer
is_income
boolean
client_id
integer
company_id
integer