Skip to content
Pickcell
Menu

Invoicing events

Hear when invoices are issued and paid

Keep your own records in step with Pickcell Invoicing. Invoices and shared expenses are managed in the console, and every change reaches your systems as a signed webhook.

Key concepts

Customer invoice
An invoice you issue to a customer in the console. It is paid online by card or PayPal, or you record a payment yourself.
Amounts
Every amount is in whole cents of currency, and subtotalCents - discountCents + taxCents = totalCents.
Status
The invoice status when the event fired, such as ISSUED, PARTIALLY_PAID, PAID, UNCOLLECTIBLE or CANCELLED. New statuses are added over time, so tolerate one you do not know.
Your customer id
customerExternalRef is your own id for the customer, when you have set one. Use it to match the invoice to your records.
Shared expenses
Expenses and settle-ups recorded in a group or between two friends. Their events carry amounts and user ids only, never the description or who owes what.
No API key access
Invoicing cannot be called with an API key. Work in the console; your app hears what happened through the events below.

There are no Invoicing calls for an API key today. You issue invoices, take payments and split expenses in the console, and your systems hear what happened through the events below. Add an endpoint to your Pickcell events application, as the webhooks guide shows, and update your own records as each one arrives.

An invoice event is a summary. Line items and notes are never sent; read them in the console. A group entry has a groupId and a null friendshipId, and an entry between two friends is the other way round.

Events

Delivered to the endpoints on your Pickcell events application, wrapped in the delivery envelope. The webhooks guide covers filters, signatures and retries.

  • invoice.issuedAn invoice was issued to a customer and can now be paid.
    Example data
    {
      "invoiceId": "<invoice id>",
      "number": "INV-2026-00001",
      "customerId": "<customer id>",
      "customerExternalRef": "CUST-0042",
      "currency": "AUD",
      "subtotalCents": 20000,
      "discountCents": 0,
      "taxCents": 2000,
      "totalCents": 22000,
      "amountPaidCents": 0,
      "amountDueCents": 22000,
      "status": "ISSUED",
      "issuedAt": "2026-11-23T01:02:03.000Z",
      "dueAt": "2026-12-07T01:02:03.000Z",
      "paidAt": null,
      "voidedAt": null,
      "occurredAt": "2026-11-23T01:02:03.000Z"
    }
  • invoice.partially-paidA payment or credit lowered what an invoice owes without clearing it.
    Example data
    {
      "invoiceId": "<invoice id>",
      "number": "INV-2026-00001",
      "customerId": "<customer id>",
      "customerExternalRef": "CUST-0042",
      "currency": "AUD",
      "subtotalCents": 20000,
      "discountCents": 0,
      "taxCents": 2000,
      "totalCents": 22000,
      "amountPaidCents": 10000,
      "amountDueCents": 12000,
      "status": "PARTIALLY_PAID",
      "issuedAt": "2026-11-23T01:02:03.000Z",
      "dueAt": "2026-12-07T01:02:03.000Z",
      "paidAt": null,
      "voidedAt": null,
      "occurredAt": "2026-11-25T04:05:06.000Z"
    }
  • invoice.paidAn invoice was paid in full. Voiding a manual payment can later reopen it, and no event is sent for that yet.
    Example data
    {
      "invoiceId": "<invoice id>",
      "number": "INV-2026-00001",
      "customerId": "<customer id>",
      "customerExternalRef": "CUST-0042",
      "currency": "AUD",
      "subtotalCents": 20000,
      "discountCents": 0,
      "taxCents": 2000,
      "totalCents": 22000,
      "amountPaidCents": 22000,
      "amountDueCents": 0,
      "status": "PAID",
      "issuedAt": "2026-11-23T01:02:03.000Z",
      "dueAt": "2026-12-07T01:02:03.000Z",
      "paidAt": "2026-11-26T04:05:06.000Z",
      "voidedAt": null,
      "occurredAt": "2026-11-26T04:05:06.000Z"
    }
  • invoice.payment-failedA customer's card payment on an invoice was declined or failed, and the invoice is still owed. Card payments only; a declined PayPal payment sends nothing.
    Example data
    {
      "invoiceId": "<invoice id>",
      "number": "INV-2026-00001",
      "customerId": "<customer id>",
      "customerExternalRef": null,
      "currency": "AUD",
      "subtotalCents": 20000,
      "discountCents": 0,
      "taxCents": 2000,
      "totalCents": 22000,
      "amountPaidCents": 0,
      "amountDueCents": 22000,
      "status": "ISSUED",
      "issuedAt": "2026-11-23T01:02:03.000Z",
      "dueAt": "2026-12-07T01:02:03.000Z",
      "paidAt": null,
      "voidedAt": null,
      "occurredAt": "2026-11-24T04:05:06.000Z"
    }
  • invoice.voidedAn issued invoice was voided and nothing is owed on it.
    Example data
    {
      "invoiceId": "<invoice id>",
      "number": "INV-2026-00001",
      "customerId": "<customer id>",
      "customerExternalRef": "CUST-0042",
      "currency": "AUD",
      "subtotalCents": 20000,
      "discountCents": 0,
      "taxCents": 2000,
      "totalCents": 22000,
      "amountPaidCents": 0,
      "amountDueCents": 0,
      "status": "CANCELLED",
      "issuedAt": "2026-11-23T01:02:03.000Z",
      "dueAt": "2026-12-07T01:02:03.000Z",
      "paidAt": null,
      "voidedAt": "2026-11-24T04:05:06.000Z",
      "occurredAt": "2026-11-24T04:05:06.000Z"
    }
  • expense.recordedAn expense was recorded in a group or between two friends.
    Example data
    {
      "expenseId": "<expense id>",
      "groupId": "<group id>",
      "friendshipId": null,
      "amountCents": 12000,
      "currency": "AUD",
      "payerUserId": "<user id>",
      "occurredAt": "2026-11-23T01:02:03.000Z"
    }
  • expense.updatedA group expense was edited. The amount, currency and payer are as they stand after the edit.
    Example data
    {
      "expenseId": "<expense id>",
      "groupId": "<group id>",
      "friendshipId": null,
      "amountCents": 13500,
      "currency": "AUD",
      "payerUserId": "<user id>",
      "occurredAt": "2026-11-23T02:03:04.000Z"
    }
  • expense.deletedA group expense was deleted and no longer counts toward balances.
    Example data
    {
      "expenseId": "<expense id>",
      "groupId": "<group id>",
      "friendshipId": null,
      "amountCents": 13500,
      "currency": "AUD",
      "payerUserId": "<user id>",
      "occurredAt": "2026-11-23T03:04:05.000Z"
    }
  • settlement.recordedA payment between two people was recorded to settle up. payerUserId paid and toUserId was paid.
    Example data
    {
      "settlementId": "<settlement id>",
      "groupId": "<group id>",
      "friendshipId": null,
      "amountCents": 4500,
      "currency": "AUD",
      "payerUserId": "<user id>",
      "toUserId": "<user id>",
      "occurredAt": "2026-11-23T01:02:03.000Z"
    }
  • settlement.reversedA mistaken settlement was reversed by a new one in the opposite direction, for the same amount. reversesSettlementId names the original.
    Example data
    {
      "settlementId": "<settlement id>",
      "groupId": "<group id>",
      "friendshipId": null,
      "amountCents": 4500,
      "currency": "AUD",
      "payerUserId": "<user id>",
      "toUserId": "<user id>",
      "reversesSettlementId": "<original settlement id>",
      "occurredAt": "2026-11-23T02:03:04.000Z"
    }

Ready to build?

Create an account, then make your first API key in the console.