visits.setSeriesBilling

Set or update standing-price lines and billing_mode (off, per_visit_draft, per_visit_send, monthly_rollup) on a recurring visit series. Agent-authored standing lines stay drafts until an owner approves.

WhoAgents can call this
RESTPOST /v1/visits/recurring/billing
MCP toolvisits_setSeriesBilling
Writesyes, send an Idempotency-Key
AreaScheduling and visits

When to use it

Set or update standing-price lines and billing_mode (off, per_visit_draft, per_visit_send, monthly_rollup) on a recurring visit series. Agent-authored standing lines stay drafts until an owner approves.

What to tell the owner

Say what you did in plain words and what happens next.

Input

FieldTypeRequired
series_idstring (uuid)yes
billing_modestring (one of off, per_visit_draft, per_visit_send, monthly_rollup)yes
linesarrayno
lines[].descriptionstringyes
lines[].quantitynumberyes
lines[].unit_price_minorintegeryes
lines[].kindstring (one of item, fee, discount)no
lines[].taxablebooleanno
tax_rate_id['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')']no

Example

POST https://doingwork.work/v1/visits/recurring/billing
content-type: application/json
Idempotency-Key: 3f1c...

{
  "series_id": "00000000-0000-4000-8000-000000000000",
  "billing_mode": "off"
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.