Create a currency

Create a new currency for organization.

Body Request

Field Description
code Currency code. String 3 characters. Required.
name Currency name. String maximum 50 characters. Required.
symbol Currency symbol. String maximum 10 characters. Required.
unit Currency unit. String maximum 20 characters. Required.
fractional Currency fractional. String maximum 20 characters. Required.
is_active Boolean true to active currency.

Body Response

Field Description
id Unique code for identifier currency. String 36 characters. Automaticaly created.
code Currency code. String 3 characters.
name Currency name. String maximum 50 characters.
symbol Currency symbol. String maximum 10 characters.
unit Currency unit. String maximum 20 characters.
fractional Currency fractional. String maximum 20 characters.
cash_account Default account for cash transaction. See Account. Automaticaly created.
bank_account Default account for bank payment. See Account. Automaticaly created.
receivable_account Default account for accounts receivable. See Account. Automaticaly created.
payable_account Default account for accounts payable. See Account. Automaticaly created.
is_base Boolean true to base currency.
created_at Created time. Date Time format YYYY-MM-DDThh:mm:ss.fffZ. Automaticaly created.
updated_at Last updated time. Date Time format YYYY-MM-DDThh:mm:ss.fffZ. Automaticaly created.