# Invoice.voided

URL: /business/events/Invoice.voided · Id: `event:Invoice.voided`

> Emitted each time an Invoice is voided.

[Invoice.void](/business/nouns/invoice/void) emits `Invoice.voided` when it completes on an [Invoice](/business/nouns/invoice).

| Property | Value |
| --- | --- |
| Emitted by | [Invoice.void](/business/nouns/invoice/void) |
| Noun | [Invoice](/business/nouns/invoice) |
| Moves | [Invoice](/business/nouns/invoice) `draft` to `void`; [Invoice](/business/nouns/invoice) `open` to `void` |
| Wakes | None. |

### Payload
Each delivery is an [Event](/business/nouns/event) record. `data` holds what [Invoice.void](/business/nouns/invoice/void) returns, and `previous` holds the state it left.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | Yes | `Invoice.voided`. |
| `at` | `datetime` | Yes | When it happened. |
| `seq` | `integer` | No | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. |
| `data` | `json` | Yes | The Thing as the Action left it. |
| `data.invoice` | [Invoice](/business/nouns/invoice) | Yes | The voided Invoice, kept forever. |
| `data.invoice.total` | `money` | Yes | The amount due. |
| `data.invoice.due` | `date` | Yes | When payment is due. |
| `data.invoice.paidAt` | `datetime` | No | When it was paid. |
| `data.invoice.status` | `string` | No | One of `draft`, `open`, `paid`, `void`, or `uncollectible`. |
| `data.invoice.collection` | `string` | No | `charge` charges the saved payment method; `send` sends the Invoice and waits for a transfer. `charge` by default. |
| `data.invoice.terms` | `integer` | No | Days from issue until a `send` Invoice is due, such as 30; sets `due`. |
| `data.invoice.purchaseOrder` | `string` | No | The Customer’s purchase order number, printed on the Invoice. |
| `data.invoice.refunded` | `money` | No | The total returned to the Customer, from zero up to the amount paid. |
| `data.invoice.number` | `string` | No | The Invoice number, sequential per Startup and never reused, voided Invoices included. |
| `data.invoice.lines` | `json` | No | Each Offer billed: its quantity, Period and amount, with any Coupon or Credit Grant applied. |
| `data.invoice.pdf` | `url` | No | The Invoice, or its receipt once paid, as a PDF on the Startup’s Domain that names the seller of record. |
| `data.invoice.payUrl` | `url` | No | The page on the Startup’s Domain where the Customer pays it by card or bank transfer. |
| `data.previous.status` | `string` | Yes | The `status` before this Event: `draft`. |

### Example
```json
{
  "$id": "https://api.sb/patentpad.com/events/event_1",
  "$type": "Event",
  "name": "Invoice.voided",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "invoice": {
      "$id": "https://api.sb/patentpad.com/invoices/invoice_1",
      "$type": "Invoice",
      "total": {
        "amount": 499,
        "currency": "USD"
      },
      "due": "2026-10-22",
      "paidAt": "2026-10-22T12:00:00Z",
      "status": "void",
      "collection": "charge",
      "terms": 1,
      "purchaseOrder": "PO-48213",
      "refunded": {
        "amount": 499,
        "currency": "USD"
      },
      "number": "LEDG-0042",
      "lines": {},
      "pdf": "https://patentpad.com",
      "payUrl": "https://patentpad.com"
    },
    "previous": {
      "status": "draft"
    }
  },
  "seq": 1
}
```