ExFattureincloud.Suppliers (ExFattureincloud v0.1.0)

Copy Markdown View Source

Operations in the Fatture in Cloud Suppliers resource.

Summary

Functions

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

Creates a new supplier.

Sends POST /c/{company_id}/entities/suppliers (createSupplier).

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

delete_supplier(client, company_id, supplier_id, opts \\ [])

Deletes the specified supplier.

Sends DELETE /c/{company_id}/entities/suppliers/{supplier_id} (deleteSupplier).

get_supplier(client, company_id, supplier_id, opts \\ [])

Gets the specified supplier.

Sends GET /c/{company_id}/entities/suppliers/{supplier_id} (getSupplier).

Query options

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

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

Lists the suppliers.

Sends GET /c/{company_id}/entities/suppliers (listSuppliers).

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_supplier(client, company_id, supplier_id, body, opts \\ [])

Modifies the specified supplier.

Sends PUT /c/{company_id}/entities/suppliers/{supplier_id} (modifySupplier).

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