Operations in the Fatture in Cloud Settings resource.
Summary
Functions
Creates a new payment account.
Creates a new payment method.
Creates a vat type.
Deletes the specified payment account.
Deletes the specified payment method.
Deletes the specified vat type.
Gets the specified payment account.
Gets the specified payment method.
Gets the Tax Profile
Gets a specified template.
Gets the specified vat type.
Gets all the standard and private templates.
Modifies the specified payment account.
Modifies the specified payment method.
Modifies the specified vat type.
Functions
@spec create_payment_account( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
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.
@spec create_payment_method( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
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.
@spec create_vat_type( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
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.
@spec delete_payment_account( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Deletes the specified payment account.
Sends DELETE /c/{company_id}/settings/payment_accounts/{payment_account_id} (deletePaymentAccount).
@spec delete_payment_method( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Deletes the specified payment method.
Sends DELETE /c/{company_id}/settings/payment_methods/{payment_method_id} (deletePaymentMethod).
@spec delete_vat_type( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Deletes the specified vat type.
Sends DELETE /c/{company_id}/settings/vat_types/{vat_type_id} (deleteVatType).
@spec get_payment_account( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
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")
@spec get_payment_method( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
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")
@spec get_tax_profile( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Gets the Tax Profile
Sends GET /c/{company_id}/settings/tax_profile (getTaxProfile).
@spec get_template( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
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")
@spec get_vat_type( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Gets the specified vat type.
Sends GET /c/{company_id}/settings/vat_types/{vat_type_id} (getVatType).
@spec list_templates( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
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")
@spec modify_payment_account( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
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.
@spec modify_payment_method( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
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.
@spec modify_vat_type( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
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.