ExFattureincloud.Clients (ExFattureincloud v0.1.0)

Copy Markdown View Source

Operations in the Fatture in Cloud Clients resource.

Summary

Functions

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

Creates a new client.

Sends POST /c/{company_id}/entities/clients (createClient).

Pass the JSON body with the provider's envelope. Use nil to omit it.

delete_client(client, company_id, client_id, opts \\ [])

Deletes the specified client.

Sends DELETE /c/{company_id}/entities/clients/{client_id} (deleteClient).

get_client(client, company_id, client_id, opts \\ [])

Gets the specified client.

Sends GET /c/{company_id}/entities/clients/{client_id} (getClient).

Query options

  • :fields (string)
  • :fieldset (string, one of "basic", "detailed", "fic_view")

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

Retrieves the information useful while creating a new Client.

Sends GET /c/{company_id}/entities/clients/info (getClientInfo).

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

Lists the clients.

Sends GET /c/{company_id}/entities/clients (listClients).

Query options

  • :fields (string)
  • :fieldset (string, one of "basic", "detailed", "fic_view")
  • :sort (string)
  • :page (integer, minimum 1)
  • :per_page (integer, minimum 1, maximum 100)
  • :q (string)

modify_client(client, company_id, client_id, body, opts \\ [])

Modifies the specified client.

Sends PUT /c/{company_id}/entities/clients/{client_id} (modifyClient).

Pass the JSON body with the provider's envelope. Use nil to omit it.