Save the payout setup
save_payout_setupSave the payout setup the user chose, by QuickBooks ids from get_payout_setup. It is checked first (the holding account must be a Bank account, each tax code must charge the platform's rates, the start date cannot be inside closed books) and waits for the user to confirm it on the Caribooks Payouts page; nothing is booked before that.
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": {
"holding_account_id": "<holding_account_id>",
"bank_account_id": "<bank_account_id>",
"fee_account_id": "<fee_account_id>",
"vendor_id": "<vendor_id>",
"exempt_tax_code_id": "<exempt_tax_code_id>",
"fee_tax_code_id": "<fee_tax_code_id>",
"items": "<items>",
"tax_codes": "<tax_codes>",
"start_date": "<start_date>",
"mode": "<mode>"
},
"name": "save_payout_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | each_sale or payout_summary, as the user chose. | |
| items | Yes | Stripe product id → QuickBooks item id. | |
| company | No | The connected QuickBooks company (name, realm id, or connection id). Optional when only one company is connected. | |
| customers | No | Stripe customer id → QuickBooks customer id, for customers email and name do not match. | |
| tax_codes | Yes | Stripe tax combination key (from get_payout_setup) → QuickBooks tax code id. | |
| vendor_id | Yes | The vendor on fee expenses, usually Stripe. | |
| start_date | Yes | The first day booked, YYYY-MM-DD. | |
| fee_account_id | Yes | The expense account for Stripe's fees. | |
| stripe_account | No | Which Stripe account (its id, acct_…, or its name) when the company has several connected; the setup prompt names it. Optional when it has one. | |
| bank_account_id | Yes | The bank account Stripe pays out to. | |
| default_item_id | No | The item for a sale with no Stripe invoice whose description names no item in the books. | |
| fee_tax_code_id | Yes | The purchase tax code for Stripe's own fees that Stripe charges sales tax on, so it is claimed back; null to book them whole. | |
| exempt_tax_code_id | Yes | The tax code for card processing fees, which carry no sales tax (e.g. Exempt); null when the company has no sales tax. | |
| holding_account_id | Yes | The Bank account that stands for the Stripe balance. | |
| uninvoiced_tax_code_id | No | The sales tax code whose tax the amount of a sale with no Stripe invoice includes, as the user says; null when such sales are charged no tax. |