ExFattureincloud.Settings (ExFattureincloud v0.1.0)

Copy Markdown View Source

Operations in the Fatture in Cloud Settings resource.

Summary

Functions

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

Creates a new payment account.

Sends POST /c/{company_id}/settings/payment_accounts (createPaymentAccount).

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

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

Creates a new payment method.

Sends POST /c/{company_id}/settings/payment_methods (createPaymentMethod).

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

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

Creates a vat type.

Sends POST /c/{company_id}/settings/vat_types (createVatType).

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

delete_payment_account(client, company_id, payment_account_id, opts \\ [])

Deletes the specified payment account.

Sends DELETE /c/{company_id}/settings/payment_accounts/{payment_account_id} (deletePaymentAccount).

delete_payment_method(client, company_id, payment_method_id, opts \\ [])

Deletes the specified payment method.

Sends DELETE /c/{company_id}/settings/payment_methods/{payment_method_id} (deletePaymentMethod).

delete_vat_type(client, company_id, vat_type_id, opts \\ [])

Deletes the specified vat type.

Sends DELETE /c/{company_id}/settings/vat_types/{vat_type_id} (deleteVatType).

get_payment_account(client, company_id, payment_account_id, opts \\ [])

Gets the specified payment account.

Sends GET /c/{company_id}/settings/payment_accounts/{payment_account_id} (getPaymentAccount).

Query options

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

get_payment_method(client, company_id, payment_method_id, opts \\ [])

Gets the specified payment method.

Sends GET /c/{company_id}/settings/payment_methods/{payment_method_id} (getPaymentMethod).

Query options

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

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

Gets the Tax Profile

Sends GET /c/{company_id}/settings/tax_profile (getTaxProfile).

get_template(client, company_id, template_id, opts \\ [])

Gets a specified template.

Sends GET /c/{company_id}/settings/templates/{template_id} (getTemplate).

Query options

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

get_vat_type(client, company_id, vat_type_id, opts \\ [])

Gets the specified vat type.

Sends GET /c/{company_id}/settings/vat_types/{vat_type_id} (getVatType).

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

Gets all the standard and private templates.

Sends GET /c/{company_id}/settings/templates (listTemplates).

Query options

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

modify_payment_account(client, company_id, payment_account_id, body, opts \\ [])

Modifies the specified payment account.

Sends PUT /c/{company_id}/settings/payment_accounts/{payment_account_id} (modifyPaymentAccount).

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

modify_payment_method(client, company_id, payment_method_id, body, opts \\ [])

Modifies the specified payment method.

Sends PUT /c/{company_id}/settings/payment_methods/{payment_method_id} (modifyPaymentMethod).

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

modify_vat_type(client, company_id, vat_type_id, body, opts \\ [])

Modifies the specified vat type.

Sends PUT /c/{company_id}/settings/vat_types/{vat_type_id} (modifyVatType).

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