Operations in the Fatture in Cloud Cashbook resource.
Summary
Functions
Creates a new cashbook entry.
Deletes the specified cashbook entry.
Gets the specified cashbook entry.
Lists the cashbook entries.
Modifies the specified cashbook entry.
Functions
@spec create_cashbook_entry( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Creates a new cashbook entry.
Sends POST /c/{company_id}/cashbook (createCashbookEntry).
Pass the JSON body with the provider's envelope. Use nil to omit it.
@spec delete_cashbook_entry( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Deletes the specified cashbook entry.
Sends DELETE /c/{company_id}/cashbook/{document_id} (deleteCashbookEntry).
@spec get_cashbook_entry( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Gets the specified cashbook entry.
Sends GET /c/{company_id}/cashbook/{document_id} (getCashbookEntry).
Query options
:fields(string):fieldset(string, one of"basic","detailed","fic_view")
@spec list_cashbook_entries( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Lists the cashbook entries.
Sends GET /c/{company_id}/cashbook (listCashbookEntries).
Query options
:date_from(string, required):date_to(string, required):year(integer):type(string, one of"all","in","out"):payment_account_id(integer)
@spec modify_cashbook_entry( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Modifies the specified cashbook entry.
Sends PUT /c/{company_id}/cashbook/{document_id} (modifyCashbookEntry).
Pass the JSON body with the provider's envelope. Use nil to omit it.