---
title: "Create a Customer, Invoice, and Send It · COUNT Partner API"
description: "A complete billing flow on the COUNT Partner API: create the customer, build an invoice with line items, approve it, and send it."
canonical: "https://developers.getcount.com/guides/create-customer-invoice-send"
source: "https://developers.getcount.com/guides/create-customer-invoice-send"
---
Guides

# Create a Customer, Invoice, and Send It

A common billing integration flow: create the customer, create an invoice with line items, approve it, and send it to the customer.

Prerequisites

Complete the [quickstart](https://developers.getcount.com/getting-started/quickstart) so you have valid credentials, a workspace access token, and working HMAC signing.

## Step 1 — Create the customer

[POST /partners/customers](https://developers.getcount.com/reference/customers/add-customer) with at minimum the `customer` name. Include email, addresses, and contacts as needed.

```
{
  "customer": "Acme Corporation",
  "email": "contact@acme.com"
}
```

Save the `id` UUID from the response — you need it as `customerUuid` on the invoice.

## Step 2 — Create the invoice

[POST /partners/invoices](https://developers.getcount.com/reference/invoices/create-invoice) with line items, dates, and the customer UUID from step 1.

The invoice is created as a draft by default. Set line item quantities, unit prices, and descriptions.

## Step 3 — Approve the invoice

[POST /partners/invoices/:uuid/approve](https://developers.getcount.com/reference/invoices/approve-invoice) transitions the invoice from draft to approved. Approved invoices can be sent to the customer.

## Step 4 — Send the invoice

[POST /partners/invoices/:uuid/send](https://developers.getcount.com/reference/invoices/send-invoice) emails the invoice to the customer. Optionally retrieve a public link with [GET /partners/invoices/:uuid/public-link](https://developers.getcount.com/reference/invoices/get-invoice-public-link).

## Related reference

- [Customers API](https://developers.getcount.com/reference/customers)
- [Invoices API](https://developers.getcount.com/reference/invoices)
- Example customer UUID used across docs: `dfa3219e-6af8-4c53-997a-037534f63a35`
- Example invoice UUID: `f6a7b8c9-d0e1-2345-fabc-456789012345`
