ExFattureincloud.Cashbook (ExFattureincloud v0.1.0)

Copy Markdown View Source

Operations in the Fatture in Cloud Cashbook resource.

Summary

Functions

create_cashbook_entry(client, company_id, body, opts \\ [])

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.

delete_cashbook_entry(client, company_id, document_id, opts \\ [])

Deletes the specified cashbook entry.

Sends DELETE /c/{company_id}/cashbook/{document_id} (deleteCashbookEntry).

get_cashbook_entry(client, company_id, document_id, opts \\ [])

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")

list_cashbook_entries(client, company_id, opts \\ [])

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)

modify_cashbook_entry(client, company_id, document_id, body, opts \\ [])

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.