project_split
Attribute posted revenue or expense lines to projects in full or by exact decimal splits. Select lines by transaction, reference, or entry; ambiguous accounts use entry IDs.
Instructions
Attribute a posted revenue or expense line to projects. Select the line by transaction_id or reference plus account, or by entry. Pass project for the full line amount, or splits with decimal major-unit amounts. If the account occurs more than once, AMBIGUOUS_ENTRY lists the entry IDs to choose from. Proposal-only access queues the change for approval.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"company": "<company>",
"date": "<date>"
},
"name": "project_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| entry | No | Journal entry ID. With account, it chooses among repeated lines of the account. | |
| splits | No | Exact shares with a decimal amount in major units. The deprecated `amount_minor` is still accepted. | |
| account | No | Account of the line. If it occurs more than once, also supply entry. | |
| company | Yes | ||
| project | No | Attribute the full line amount to this project. Use instead of splits. | |
| billable | No | Billable state of the project share. Defaults to internal. | |
| reference | No | Reference of the transaction containing the line. | |
| transaction_id | No | Transaction containing the line. Supply at most one of `transaction_id` or reference, with account. |