Transactions

Split Transaction

POST
/v1/households/{household_id}/transactions/{transaction_id}/splits

Splits a posted transaction into at least two child transactions. Each amount must be nonzero, have the original transaction's sign, and sum exactly to the original amount in its native currency.

The parent remains stored, while its children appear in normal transaction views and reports. The children of a hidden parent stay out of those views until it is unhidden. Pending or deleted transactions and split children cannot be split. Calling this endpoint on an existing split replaces all previous children with newly created ones; send the complete desired split each time.

Authorization

PersonalApiToken
AuthorizationBearer <token>

Personal API token (penny_pat_…). Paste only the token; the Bearer prefix is added automatically. Read-only tokens only allow read requests, and read/write tokens follow your current household membership and role. See https://penny.finance/docs/api#authentication.

In: header

Path Parameters

household_id*string

ID of the household that owns the resource. GET /v1/households lists the households you can access.

transaction_id*string

ID of the transaction.

Request Body

application/json

splits*array<>

The complete set of parts to split the transaction into, at least two. If the transaction is already split, these replace its existing parts, which are permanently deleted.

Itemsitems <= 52

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/transactions/Tx3fJ9mS6vBa/splits" \  -H "Authorization: Bearer $PENNY_API_TOKEN" \  -H "Content-Type: application/json" \  --data-raw '{  "splits": [    {      "amount": "-41.70",      "category_id": "Ct5nR8wY1jFu",      "merchant_id": "Mr9dL3xT6bQa",      "notes": "Produce and pantry staples",      "tag_ids": [        "Tg8qN1cK5rWd"      ],      "date": "2026-08-14",      "custom_name": "Groceries"    },    {      "amount": "-12.50",      "category_id": "Ct3dM7qA9sXe",      "merchant_id": "Mr9dL3xT6bQa",      "custom_name": "Paper goods"    }  ]}'
{  "parent": {    "id": "Tx3fJ9mS6vBa",    "original_name": "TRADER JOE'S #142",    "custom_name": "Weekly groceries",    "amount": {      "amount": "-54.20",      "currency": "USD"    },    "native_amount": {      "amount": "-54.20",      "currency": "USD"    },    "lat": 37.7764,    "lon": -122.4231,    "pending": false,    "classification": "FOOD_AND_DRINK_GROCERIES",    "account": {      "id": "Ac7kP2mN9qRs",      "mask": "4821",      "name": "Everyday Checking",      "type": "depository",      "current_balance": {        "amount": "2481.33",        "currency": "USD"      },      "currency": "USD",      "household_id": "Hh4vK8pQ2sLm",      "custom_name": null    },    "category": {      "id": "Ct5nR8wY1jFu",      "name": "Groceries",      "emoji": "🥬",      "category_type": "expense",      "group_id": "Cg2mV7pL4zXe"    },    "merchant": {      "id": "Mr9dL3xT6bQa",      "name": "Trader Joe's",      "website": "https://www.traderjoes.com/",      "image_url": "https://cdn.penny.finance/merchants/trader-joes.png",      "default_image_url": "https://cdn.penny.finance/logos/trader-joes.png",      "transaction_count": 18    },    "image_url": "https://cdn.penny.finance/merchants/trader-joes.png",    "image_kind": "merchant",    "tags": [      {        "id": "Tg8qN1cK5rWd",        "name": "Shared",        "color": "#6D5BD0"      }    ],    "hidden_at": null,    "deleted_at": null,    "listing": "unlisted",    "pending_transaction_id": null,    "date": "2026-08-14",    "transacted_at": "2026-08-14T15:38:00Z",    "needs_review": false,    "is_editable": false,    "notes": "Groceries and paper towels",    "created_at": "2026-08-14T15:41:27Z",    "updated_at": "2026-08-14T16:02:11Z",    "name": "Weekly groceries",    "split_parent_id": null,    "split_child_ids": [      "Tx8aQ2kL5nRe",      "Tx7nB4wK9dGh"    ],    "is_recurring": false  },  "children": [    {      "id": "Tx8aQ2kL5nRe",      "original_name": "TRADER JOE'S #142",      "custom_name": "Groceries",      "amount": {        "amount": "-41.70",        "currency": "USD"      },      "native_amount": {        "amount": "-41.70",        "currency": "USD"      },      "lat": null,      "lon": null,      "pending": false,      "classification": null,      "account": {        "id": "Ac7kP2mN9qRs",        "mask": "4821",        "name": "Everyday Checking",        "type": "depository",        "current_balance": {          "amount": "2481.33",          "currency": "USD"        },        "currency": "USD",        "household_id": "Hh4vK8pQ2sLm",        "custom_name": null      },      "category": {        "id": "Ct5nR8wY1jFu",        "name": "Groceries",        "emoji": "🥬",        "category_type": "expense",        "group_id": "Cg2mV7pL4zXe"      },      "merchant": {        "id": "Mr9dL3xT6bQa",        "name": "Trader Joe's",        "website": "https://www.traderjoes.com/",        "image_url": "https://cdn.penny.finance/merchants/trader-joes.png",        "default_image_url": "https://cdn.penny.finance/logos/trader-joes.png",        "transaction_count": 18      },      "image_url": "https://cdn.penny.finance/merchants/trader-joes.png",      "image_kind": "merchant",      "tags": [        {          "id": "Tg8qN1cK5rWd",          "name": "Shared",          "color": "#6D5BD0"        }      ],      "hidden_at": null,      "deleted_at": null,      "listing": "visible",      "pending_transaction_id": null,      "date": "2026-08-14",      "transacted_at": "2026-08-14T15:38:00Z",      "needs_review": false,      "is_editable": true,      "notes": "Produce and pantry staples",      "created_at": "2026-08-14T16:02:11Z",      "updated_at": "2026-08-14T16:02:11Z",      "name": "Groceries",      "split_parent_id": "Tx3fJ9mS6vBa",      "split_child_ids": [],      "is_recurring": false    },    {      "id": "Tx7nB4wK9dGh",      "original_name": "TRADER JOE'S #142",      "custom_name": "Paper goods",      "amount": {        "amount": "-12.50",        "currency": "USD"      },      "native_amount": {        "amount": "-12.50",        "currency": "USD"      },      "lat": null,      "lon": null,      "pending": false,      "classification": null,      "account": {        "id": "Ac7kP2mN9qRs",        "mask": "4821",        "name": "Everyday Checking",        "type": "depository",        "current_balance": {          "amount": "2481.33",          "currency": "USD"        },        "currency": "USD",        "household_id": "Hh4vK8pQ2sLm",        "custom_name": null      },      "category": {        "id": "Ct3dM7qA9sXe",        "name": "Household",        "emoji": "🧴",        "category_type": "expense",        "group_id": "Cg2mV7pL4zXe"      },      "merchant": {        "id": "Mr9dL3xT6bQa",        "name": "Trader Joe's",        "website": "https://www.traderjoes.com/",        "image_url": "https://cdn.penny.finance/merchants/trader-joes.png",        "default_image_url": "https://cdn.penny.finance/logos/trader-joes.png",        "transaction_count": 18      },      "image_url": "https://cdn.penny.finance/merchants/trader-joes.png",      "image_kind": "merchant",      "tags": [],      "hidden_at": null,      "deleted_at": null,      "listing": "visible",      "pending_transaction_id": null,      "date": "2026-08-14",      "transacted_at": "2026-08-14T15:38:00Z",      "needs_review": false,      "is_editable": true,      "notes": null,      "created_at": "2026-08-14T16:02:11Z",      "updated_at": "2026-08-14T16:02:11Z",      "name": "Paper goods",      "split_parent_id": "Tx3fJ9mS6vBa",      "split_child_ids": [],      "is_recurring": false    }  ],  "removed_transaction_ids": []}