# \TaxesApi All URIs are relative to *https://api-v2.fattureincloud.it* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_f24**](TaxesApi.md#create_f24) | **POST** /c/{company_id}/taxes | Create F24 [**delete_f24**](TaxesApi.md#delete_f24) | **DELETE** /c/{company_id}/taxes/{document_id} | Delete F24 [**delete_f24_attachment**](TaxesApi.md#delete_f24_attachment) | **DELETE** /c/{company_id}/taxes/{document_id}/attachment | Delete F24 Attachment [**get_f24**](TaxesApi.md#get_f24) | **GET** /c/{company_id}/taxes/{document_id} | Get F24 [**list_f24**](TaxesApi.md#list_f24) | **GET** /c/{company_id}/taxes | List F24 [**modify_f24**](TaxesApi.md#modify_f24) | **PUT** /c/{company_id}/taxes/{document_id} | Modify F24 [**upload_f24_attachment**](TaxesApi.md#upload_f24_attachment) | **POST** /c/{company_id}/taxes/attachment | Upload F24 Attachment ## create_f24 > models::CreateF24Response create_f24(company_id, create_f24_request) Create F24 Creates a new F24. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **company_id** | **i32** | The ID of the company. | [required] | **create_f24_request** | Option<[**CreateF24Request**](CreateF24Request.md)> | The F24 to create | | ### Return type [**models::CreateF24Response**](CreateF24Response.md) ### Authorization [OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow), [ManualAuth](../README.md#ManualAuth) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## delete_f24 > delete_f24(company_id, document_id) Delete F24 Removes the specified F24. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **company_id** | **i32** | The ID of the company. | [required] | **document_id** | **i32** | The ID of the document. | [required] | ### Return type (empty response body) ### Authorization [OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow), [ManualAuth](../README.md#ManualAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## delete_f24_attachment > delete_f24_attachment(company_id, document_id) Delete F24 Attachment Removes the attachment of the specified F24. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **company_id** | **i32** | The ID of the company. | [required] | **document_id** | **i32** | The ID of the document. | [required] | ### Return type (empty response body) ### Authorization [OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow), [ManualAuth](../README.md#ManualAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## get_f24 > models::GetF24Response get_f24(company_id, document_id, fields, fieldset) Get F24 Gets the specified F24. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **company_id** | **i32** | The ID of the company. | [required] | **document_id** | **i32** | The ID of the document. | [required] | **fields** | Option<**String**> | List of comma-separated fields. | | **fieldset** | Option<**String**> | Name of the fieldset. | | ### Return type [**models::GetF24Response**](GetF24Response.md) ### Authorization [OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow), [ManualAuth](../README.md#ManualAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## list_f24 > models::ListF24Response list_f24(company_id, fields, fieldset, sort, page, per_page, q) List F24 Lists the F24s. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **company_id** | **i32** | The ID of the company. | [required] | **fields** | Option<**String**> | List of comma-separated fields. | | **fieldset** | Option<**String**> | Name of the fieldset. | | **sort** | Option<**String**> | List of comma-separated fields for result sorting (minus for desc sorting). | | **page** | Option<**i32**> | The page to retrieve. | |[default to 1] **per_page** | Option<**u8**> | The size of the page. | |[default to 5] **q** | Option<**String**> | Query for filtering the results. | | ### Return type [**models::ListF24Response**](ListF24Response.md) ### Authorization [OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow), [ManualAuth](../README.md#ManualAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## modify_f24 > models::ModifyF24Response modify_f24(company_id, document_id, modify_f24_request) Modify F24 Modifies the specified F24. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **company_id** | **i32** | The ID of the company. | [required] | **document_id** | **i32** | The ID of the document. | [required] | **modify_f24_request** | Option<[**ModifyF24Request**](ModifyF24Request.md)> | The F24 | | ### Return type [**models::ModifyF24Response**](ModifyF24Response.md) ### Authorization [OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow), [ManualAuth](../README.md#ManualAuth) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## upload_f24_attachment > models::UploadF24AttachmentResponse upload_f24_attachment(company_id, filename, attachment) Upload F24 Attachment Uploads an attachment destined to a F24. The actual association between the document and the attachment must be implemented separately, using the returned token. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **company_id** | **i32** | The ID of the company. | [required] | **filename** | Option<**String**> | Attachment file name | | **attachment** | Option<**std::path::PathBuf**> | Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] | | ### Return type [**models::UploadF24AttachmentResponse**](UploadF24AttachmentResponse.md) ### Authorization [OAuth2AuthenticationCodeFlow](../README.md#OAuth2AuthenticationCodeFlow), [ManualAuth](../README.md#ManualAuth) ### HTTP request headers - **Content-Type**: multipart/form-data - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)