Create Transaction Copy
POST/api/accounting/transfers
Create Transaction Copy
Request
Header Parameters
X-Company-Slug stringrequired
- application/json
Body
expense_account integerrequired
income_account integerrequired
reference string
description string
amount floatrequired
paid_at daterequired
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
amount floatrequired
currency CurrencyEnum (string)required
Possible values: [EUR
, USD
, GBP
, TRY
]
created_by_id numberrequired
expense_account_id integer
income_account_id integer
created_at date-timerequired
updated_at date-timerequired
id numberrequired
{
"amount": 1200000,
"currency": "EUR",
"created_by_id": 1,
"expense_account_id": 4,
"income_account_id": 3,
"created_at": "2024-07-27T19:33:03.271+03:00",
"updated_at": "2024-07-27T19:33:03.271+03:00",
"id": 1
}
Loading...