# `ExFattureincloud.Taxes`
[🔗](https://github.com/elchemista/ex_fattureincloud/blob/v0.1.0/lib/ex_fattureincloud/resources/taxes.ex#L2)

Operations in the Fatture in Cloud Taxes resource.

# `create_f24`

```elixir
@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.

# `delete_f24`

```elixir
@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`).

# `delete_f24_attachment`

```elixir
@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`).

# `get_f24`

```elixir
@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"`)

# `list_f24`

```elixir
@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)

# `modify_f24`

```elixir
@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.

# `upload_f24_attachment`

```elixir
@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.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
