# `PaperTiger.Resources.CreditNote`
[🔗](https://github.com/EnaiaInc/paper_tiger/blob/v1.2.2/lib/paper_tiger/resources/credit_note.ex#L1)

Handles Credit Note resource endpoints.

# `create`

```elixir
@spec create(Plug.Conn.t()) :: Plug.Conn.t()
```

Creates a credit note and adjusts the finalized invoice.

# `lines`

```elixir
@spec lines(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
```

Lists credit note line items.

# `list`

```elixir
@spec list(Plug.Conn.t()) :: Plug.Conn.t()
```

Lists credit notes.

# `preview`

```elixir
@spec preview(Plug.Conn.t()) :: Plug.Conn.t()
```

Previews a credit note without persisting it.

# `preview_lines`

```elixir
@spec preview_lines(Plug.Conn.t()) :: Plug.Conn.t()
```

Lists preview line items.

# `retrieve`

```elixir
@spec retrieve(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
```

Retrieves a credit note.

# `update`

```elixir
@spec update(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
```

Updates a credit note's memo/metadata.

# `void`

```elixir
@spec void(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
```

Voids a credit note.

---

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