# PUT /invoices/:invoice_id/page

**Resource:** [Invoices](./invoices.md)  
**MCP tool:** `set_invoice_page`  
**Scopes:** `invoices:write`  
**Write operation:** yes

Choose, change or clear the designed invoice page for one invoice, the same as "Invoice page" on the invoice in the app. Pass template_id (from list_invoice_templates) to use a design, or template_id null to go back to the standard invoice page. gst_mode sets "GST on this page" and never changes what the customer pays. TrustPager invoices and Xero invoices made here. The customer page address is returned as page_url: it is made straight away for an open invoice, and when the invoice is sent for a draft.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `invoice_id` | path | string | yes |  |
| `template_id` | body | string | no | UUID of the designed invoice page to use ("Invoice page" on the invoice). Send null to go back to the standard invoice page. |
| `gst_mode` | body | string | no | "GST on this page": workspace is "Use my Settings", include is "Prices include GST", none is "No GST", exclude adds GST on top. This changes how the page reads, never the amount the customer pays. Leave it out to keep the invoice's current choice. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PUT   "https://api.trustpager.com/functions/v1/api/v1/invoices/:invoice_id/page"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"template_id":"...","gst_mode":"...","require_approval":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`