Operations in the Fatture in Cloud Taxes resource.
Summary
Functions
Creates a new F24.
Removes the specified F24.
Removes the attachment of the specified F24.
Gets the specified F24.
Lists the F24s.
Modifies the specified F24.
Uploads an attachment destined to a F24. The actual association between the document and the attachment must be implemented separately, using the returned token.
Functions
@spec create_f24( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Creates a new F24.
Sends POST /c/{company_id}/taxes (createF24).
Pass the JSON body with the provider's envelope. Use nil to omit it.
@spec delete_f24( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Removes the specified F24.
Sends DELETE /c/{company_id}/taxes/{document_id} (deleteF24).
@spec delete_f24_attachment( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Removes the attachment of the specified F24.
Sends DELETE /c/{company_id}/taxes/{document_id}/attachment (deleteF24Attachment).
@spec get_f24( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Gets the specified F24.
Sends GET /c/{company_id}/taxes/{document_id} (getF24).
Query options
:fields(string):fieldset(string, one of"basic","detailed","fic_view")
@spec list_f24( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Lists the F24s.
Sends GET /c/{company_id}/taxes (listF24).
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)
@spec modify_f24( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Modifies the specified F24.
Sends PUT /c/{company_id}/taxes/{document_id} (modifyF24).
Pass the JSON body with the provider's envelope. Use nil to omit it.
@spec upload_f24_attachment( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), list(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Uploads an attachment destined to a F24. The actual association between the document and the attachment must be implemented separately, using the returned token.
Sends POST /c/{company_id}/taxes/attachment (uploadF24Attachment).
Pass a list of Req multipart fields as the body.