Gift LedgerOpen ledger
Receipt automation

Receipt API

Send the gift items extracted by your scanner. Each item becomes one purchase in your family ledger. Omit child_id or send null to put it in Unassigned. Select gifts there and assign them to a child together.

Connect a scanner

In your family ledger, open Receipt API and create a key. Store it in your automation’s secret settings. Send it as a bearer token on both endpoints.

Authorization: Bearer YOUR_API_KEY

Optionally find a child’s ID

GET /api/v1/children

The response contains a children array with each child’s id and name.

Import a receipt

POST /api/v1/receipts

Use Content-Type: application/json. Include up to 500 gift items per receipt. Prices are optional integer US cents. Use the total price paid for the gift on that line.

{
  "external_id": "scanner-receipt-1042",
  "purchased_on": "2026-11-25",
  "store": "Toy shop",
  "items": [
    {
      "title": "Wooden train set",
      "price_cents": 3499
    }
  ]
}

A new receipt returns 201 and a receipt ID. Repeating the same request returns 200 without adding gifts again. Reusing the ID with different data returns 409. An invalid key returns 401. Invalid fields or child IDs reject the whole receipt.

Imported purchases use the name of the parent who created the key. Both parents can see their prices.