Financial statements

Create a new financial statement

Creates a new financial statement. Provided financial mutations will be grouped in the statement.

Parameters

Parameter Type Description
financial_statement[financial_account_id] Integer

Should be a valid financial account id.

financial_statement[reference] String

Required

financial_statement[official_date] Date
financial_statement[official_balance] Decimal

Both a decimal and a string ‘10,95’ are accepted. Should be a number -1,000,000,000 <= n <= 1,000,000,000.

financial_statement[importer_service] String
financial_statement[financial_mutations_attributes][*][id] Integer

Should be a valid financial mutation id.

financial_statement[financial_mutations_attributes][*][date] Date
financial_statement[financial_mutations_attributes][*][valutation_date] Date
financial_statement[financial_mutations_attributes][*][message] String
financial_statement[financial_mutations_attributes][*][amount] Decimal

Both a decimal and a string ‘10,95’ are accepted.

financial_statement[financial_mutations_attributes][*][code] String
financial_statement[financial_mutations_attributes][*][contra_account_name] String
financial_statement[financial_mutations_attributes][*][contra_account_number] String
financial_statement[financial_mutations_attributes][*][batch_reference] String
financial_statement[financial_mutations_attributes][*][offset] Integer
financial_statement[financial_mutations_attributes][*][account_servicer_transaction_id] String
financial_statement[financial_mutations_attributes][*][_destroy] Boolean
update_journal_entries Boolean

Delete a financial statement

Update a financial statement

When updating a financial statement, you only need to provide the information you want to change. Attributes you don’t provide in the request will not be updated.

Parameters

Parameter Type Description
financial_statement[reference] String
financial_statement[official_date] String
financial_statement[official_balance] Decimal

Both a decimal and a string ‘10,95’ are accepted. Should be a number -1,000,000,000 <= n <= 1,000,000,000.

financial_statement[financial_mutations_attributes][*][id] Integer

Should be a valid financial mutation id.

financial_statement[financial_mutations_attributes][*][date] Date
financial_statement[financial_mutations_attributes][*][message] String
financial_statement[financial_mutations_attributes][*][amount] Decimal

Both a decimal and a string ‘10,95’ are accepted.

financial_statement[financial_mutations_attributes][*][code] String
financial_statement[financial_mutations_attributes][*][contra_account_name] String
financial_statement[financial_mutations_attributes][*][contra_account_number] String
financial_statement[financial_mutations_attributes][*][batch_reference] String
financial_statement[financial_mutations_attributes][*][offset] Integer
financial_statement[financial_mutations_attributes][*][_destroy] Boolean