# JustInvoice

> Create, look up, and manage JustInvoice invoices.

App · 7 actions. Web page: https://docs.lodol.com/docs/integrations/justinvoice

## Actions

### Cancel an invoice

Cancel an invoice.

**Inputs**

- Id (`id`, text, required): Id to use.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {}
}
```

### Create an invoice

Create an invoice.

**Inputs**

- Customer email (`customer_email`, text, required): Customer email to use.
- Customer first name (`customer_first_name`, text): Customer first name to use.
- Customer last name (`customer_last_name`, text): Customer last name to use.
- Customer company name (`customer_company_name`, text): Customer company name to use.
- Customer address (`customer_address`, text): Customer address to use.
- Customer city (`customer_city`, text): Customer city to use.
- Customer province state (`customer_province_state`, text): Customer province state to use.
- Customer postal code (`customer_postal_code`, text): Customer postal code to use.
- Customer country (`customer_country`, text): Customer country to use.
- Invoice date (`invoice_date`, date and time): Invoice date to use.
- Invoice status (`invoice_status`, number): Choose Draft (5) or Final (0). One of: `5`, `0`. Default: `5`.
- Currency code (`currency_code`, text): Currency code to use.
- Note to customer (`note_to_customer`, text): Note to customer to use.
- Line items (`line_items`, list, required): Line items to use.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### Delete an invoice

Delete an invoice.

**Inputs**

- Id (`id`, text, required): Id to use.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {}
}
```

### Finalize and send an invoice

Finalize and send an invoice.

**Inputs**

- Id (`id`, text, required): Id to use.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {}
}
```

### Get an invoice

Get an invoice.

**Inputs**

- Id (`id`, text, required): Id to use.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "id": 1
  }
}
```

### List invoices

List invoices.

**Inputs**

- Days (`days`, number): Days to use. From 1 to 365.

**Outputs**

- `data` (list): Response.

**Example output**

```json
{
  "data": []
}
```

### Mark an invoice paid

Mark an invoice paid.

**Inputs**

- Id (`id`, text, required): Id to use.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {}
}
```
