# Invoiced

> Manage billing records and react to account activity in Invoiced.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/invoiced

## Actions

### Create customer

Create customer in Invoiced.

**Inputs**

- Name (`name`, text, required): Name.
- Email (`email`, text): Email.
- Type (`type`, text): Type. One of: `company`, `person`.
- Chase (`chase`, true/false): Chase.
- Autopay (`autopay`, true/false): Autopay.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "autopay": false,
    "chase": false,
    "country": "example",
    "created_at": 1,
    "credit_hold": false,
    "email": "example",
    "id": 1,
    "metadata": {
      "account_rep": "example",
      "icp_number": "example"
    },
    "name": "example",
    "number": "example",
    "object": "example",
    "payment_source": {
      "brand": "example",
      "exp_month": 1,
      "exp_year": 1,
      "funding": "example",
      "id": 1,
      "last4": "example",
      "object": "example"
    },
    "statement_pdf_url": "example",
    "taxable": false,
    "taxes": [],
    "type": "example",
    "updated_at": 1
  }
}
```

### Delete customer

Delete customer in Invoiced.

**Inputs**

- Customer (`customer_id`, number, required): Customer.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

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

### Get credit note

Get one credit note by its Invoiced ID.

**Inputs**

- Credit note ID (`credit_note_id`, number, required): Credit note ID.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "balance": 1.0,
    "closed": false,
    "created_at": 1,
    "currency": "example",
    "customer": 1,
    "date": 1,
    "discounts": [],
    "draft": false,
    "id": 1,
    "items": [],
    "metadata": [],
    "number": "example",
    "object": "example",
    "paid": false,
    "pdf_url": "example",
    "status": "example",
    "subtotal": 1,
    "taxes": [],
    "total": 1.0,
    "updated_at": 1,
    "url": "example"
  }
}
```

### Get customer

Get one customer by its Invoiced ID.

**Inputs**

- Customer (`customer_id`, number, required): Choose a record from the connected account.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "autopay": false,
    "chase": false,
    "country": "example",
    "created_at": 1,
    "credit_hold": false,
    "email": "example",
    "id": 1,
    "metadata": {
      "account_rep": "example",
      "icp_number": "example"
    },
    "name": "example",
    "number": "example",
    "object": "example",
    "payment_source": {
      "brand": "example",
      "exp_month": 1,
      "exp_year": 1,
      "funding": "example",
      "id": 1,
      "last4": "example",
      "object": "example"
    },
    "statement_pdf_url": "example",
    "taxable": false,
    "taxes": [],
    "type": "example",
    "updated_at": 1
  }
}
```

### Get estimate

Get one estimate by its Invoiced ID.

**Inputs**

- Estimate (`estimate_id`, number, required): Choose a record from the connected account.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "closed": false,
    "created_at": 1,
    "currency": "example",
    "customer": 1,
    "date": 1,
    "deposit": 1,
    "deposit_paid": false,
    "discounts": [],
    "draft": false,
    "id": 1,
    "items": [],
    "metadata": [],
    "number": "example",
    "object": "example",
    "payment_terms": "example",
    "pdf_url": "example",
    "status": "example",
    "subtotal": 1,
    "taxes": [],
    "total": 1.0,
    "updated_at": 1,
    "url": "example"
  }
}
```

### Get event

Get one event by its Invoiced ID.

**Inputs**

- Event ID (`event_id`, number, required): Event ID.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "data": {
      "object": {}
    },
    "id": 1,
    "timestamp": 1,
    "type": "example"
  }
}
```

### Get invoice

Get one invoice by its Invoiced ID.

**Inputs**

- Invoice (`invoice_id`, number, required): Choose a record from the connected account.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "attempt_count": 1,
    "autopay": false,
    "balance": 1.0,
    "closed": false,
    "created_at": 1,
    "currency": "example",
    "customer": 1,
    "date": 1,
    "discounts": [],
    "draft": false,
    "due_date": 1,
    "id": 1,
    "items": [],
    "metadata": [],
    "number": "example",
    "object": "example",
    "paid": false,
    "payment_terms": "example",
    "payment_url": "example",
    "pdf_url": "example",
    "status": "example",
    "subtotal": 1,
    "taxes": [],
    "total": 1.0,
    "updated_at": 1,
    "url": "example"
  }
}
```

### Get item

Get one item by its Invoiced ID.

**Inputs**

- Item (`item_id`, text, required): Choose a record from the connected account.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "created_at": 1,
    "currency": "example",
    "discountable": false,
    "id": "example",
    "metadata": [],
    "name": "example",
    "object": "example",
    "taxable": false,
    "taxes": [],
    "type": "example",
    "unit_cost": 1,
    "updated_at": 1
  }
}
```

### Get payment

Get one payment by its Invoiced ID.

**Inputs**

- Payment ID (`payment_id`, number, required): Payment ID.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "amount": 1,
    "balance": 1,
    "created_at": 1,
    "currency": "example",
    "date": 1,
    "id": 1,
    "matched": false,
    "method": "example",
    "object": "example",
    "pdf_url": "example",
    "source": "example",
    "updated_at": 1,
    "voided": false
  }
}
```

### Get plan

Get one plan by its Invoiced ID.

**Inputs**

- Plan (`plan_id`, text, required): Choose a record from the connected account.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "amount": 1,
    "catalog_item": "example",
    "created_at": 1,
    "currency": "example",
    "id": "example",
    "interval": "example",
    "interval_count": 1,
    "metadata": [],
    "name": "example",
    "object": "example",
    "pricing_mode": "example",
    "quantity_type": "example",
    "updated_at": 1
  }
}
```

### Get subscription

Get one subscription by its Invoiced ID.

**Inputs**

- Subscription (`subscription_id`, number, required): Choose a record from the connected account.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "addons": [],
    "bill_in": "example",
    "bill_in_advance_days": 1,
    "cancel_at_period_end": false,
    "contract_period_end": 1,
    "contract_period_start": 1,
    "contract_renewal_mode": "example",
    "created_at": 1,
    "customer": 1,
    "discounts": [],
    "id": 1,
    "metadata": [],
    "mrr": 1,
    "object": "example",
    "paused": false,
    "period_end": 1,
    "period_start": 1,
    "plan": "example",
    "quantity": 1,
    "recurring_total": 1,
    "start_date": 1,
    "status": "example",
    "taxes": [],
    "updated_at": 1,
    "url": "example"
  }
}
```

### List credit notes

List credit notes in the connected Invoiced account.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.
- Start date (`start_date`, date and time): Show records dated at or after this time.
- End date (`end_date`, date and time): Show records dated at or before this time.
- Updated after (`updated_after`, date and time): Show records updated after this time.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "next_page": 1,
    "records": []
  }
}
```

### List customers

List customers in the connected Invoiced account.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.
- Updated after (`updated_after`, date and time): Show records updated after this time.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "next_page": 1,
    "records": []
  }
}
```

### List estimates

List estimates in the connected Invoiced account.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.
- Start date (`start_date`, date and time): Show records dated at or after this time.
- End date (`end_date`, date and time): Show records dated at or before this time.
- Updated after (`updated_after`, date and time): Show records updated after this time.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "next_page": 1,
    "records": []
  }
}
```

### List events

List events in the connected Invoiced account.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.
- Related to (`related_to`, text): Filter by object type and ID, for example customer,1234.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "next_page": 1,
    "records": []
  }
}
```

### List invoices

List invoices in the connected Invoiced account.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.
- Start date (`start_date`, date and time): Show records dated at or after this time.
- End date (`end_date`, date and time): Show records dated at or before this time.
- Updated after (`updated_after`, date and time): Show records updated after this time.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "next_page": 1,
    "records": []
  }
}
```

### List items

List items in the connected Invoiced account.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "next_page": 1,
    "records": []
  }
}
```

### List payments

List payments in the connected Invoiced account.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.
- Start date (`start_date`, date and time): Show records dated at or after this time.
- End date (`end_date`, date and time): Show records dated at or before this time.
- Updated after (`updated_after`, date and time): Show records updated after this time.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "next_page": 1,
    "records": []
  }
}
```

### List plans

List plans in the connected Invoiced account.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "next_page": 1,
    "records": []
  }
}
```

### List subscriptions

List subscriptions in the connected Invoiced account.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Per page (`per_page`, number): Per page. From 1 to 100.
- Updated after (`updated_after`, date and time): Show records updated after this time.

**Outputs**

- `data` (object): The response from Invoiced.

**Example output**

```json
{
  "data": {
    "next_page": 1,
    "records": []
  }
}
```
