veryfront__list_invoices
Requires account.billing.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
kind | string | No | Which invoices to list. "issued" (default) lists finalized invoices. "upcoming" lists the preview of each active subscription, then draft invoices. Default: "issued". Values: "issued", "upcoming". |
sort_by | string | No | Sort field of the returned page. Defaults to "date" for issued invoices. Pages follow Stripe order, newest first; sorting orders the returned page only. Default: "date". Values: "date", "amount", "status". |
sort_order | string | No | Sort order of the returned page. Defaults to "desc". Default: "desc". Values: "asc", "desc". |
limit | integer | No | Maximum number of invoices to return, 1 to 100. Defaults to 20. Default: 20. Minimum: 1. Maximum: 100. |
cursor | string | No | Opaque cursor pointing at the next page. Omit it to read the first page. Minimum length: 1. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__list_invoices",7 "arguments": {}8 }9}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
data | object[] | Yes | Primary result records returned by the tool. |
page_info | object | Yes | Pagination cursor values for traversing the result set. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "kind": {5 "type": "string",6 "enum": [7 "issued",8 "upcoming"9 ],10 "description": "Which invoices to list. \"issued\" (default) lists finalized invoices. \"upcoming\" lists the preview of each active subscription, then draft invoices.",11 "default": "issued"12 },13 "sort_by": {14 "type": "string",15 "enum": [16 "date",17 "amount",18 "status"19 ],20 "description": "Sort field of the returned page. Defaults to \"date\" for issued invoices. Pages follow Stripe order, newest first; sorting orders the returned page only.",21 "default": "date"22 },23 "sort_order": {24 "type": "string",25 "enum": [26 "asc",27 "desc"28 ],29 "description": "Sort order of the returned page. Defaults to \"desc\".",30 "default": "desc"31 },32 "limit": {33 "type": "integer",34 "minimum": 1,35 "maximum": 100,36 "description": "Maximum number of invoices to return, 1 to 100. Defaults to 20.",37 "default": 2038 },39 "cursor": {40 "type": "string",41 "minLength": 1,42 "description": "Opaque cursor pointing at the next page. Omit it to read the first page."43 }44 },45 "additionalProperties": false,46 "description": "Arguments for the list_invoices tool.",47 "$schema": "http://json-schema.org/draft-07/schema#"48}output-schema.json
1{2 "type": "object",3 "properties": {4 "data": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "id": {10 "type": "string",11 "description": "Unique identifier for the returned record."12 },13 "number": {14 "type": [15 "string",16 "null"17 ]18 },19 "status": {20 "type": [21 "string",22 "null"23 ],24 "description": "Lifecycle status for the returned record."25 },26 "description": {27 "type": [28 "string",29 "null"30 ],31 "description": "Human-readable description returned by the tool."32 },33 "amount_due": {34 "type": "number"35 },36 "amount_paid": {37 "type": "number"38 },39 "amount_total": {40 "type": "number"41 },42 "applied_balance_amount": {43 "type": "number"44 },45 "proration_amount": {46 "type": "number"47 },48 "recurring_amount": {49 "type": "number"50 },51 "currency": {52 "type": "string"53 },54 "issued_at": {55 "type": "string"56 },57 "hosted_invoice_url": {58 "anyOf": [59 {60 "type": "string",61 "format": "uri"62 },63 {64 "type": "null",65 "description": "The hosted invoice url returned by the tool."66 }67 ]68 },69 "pdf_url": {70 "anyOf": [71 {72 "type": "string",73 "format": "uri"74 },75 {76 "type": "null",77 "description": "The pdf url returned by the tool."78 }79 ]80 }81 },82 "required": [83 "id",84 "number",85 "status",86 "description",87 "amount_due",88 "amount_paid",89 "currency",90 "issued_at",91 "hosted_invoice_url",92 "pdf_url"93 ],94 "additionalProperties": false95 },96 "description": "Primary result records returned by the tool."97 },98 "page_info": {99 "type": "object",100 "properties": {101 "self": {102 "type": [103 "string",104 "null"105 ],106 "description": "Cursor that refers to the current page."107 },108 "first": {109 "type": "null"110 },111 "next": {112 "type": [113 "string",114 "null"115 ],116 "description": "Cursor for the next page when pagination is available."117 },118 "prev": {119 "type": [120 "string",121 "null"122 ],123 "description": "Cursor for the previous page when pagination is available."124 }125 },126 "required": [127 "self",128 "first",129 "next",130 "prev"131 ],132 "additionalProperties": false,133 "description": "Pagination cursor values for traversing the result set."134 }135 },136 "required": [137 "data",138 "page_info"139 ],140 "additionalProperties": false,141 "description": "Structured result returned by the list_invoices tool.",142 "$schema": "http://json-schema.org/draft-07/schema#"143}