@teamnetwork-nz/xero-mcp-server 1.13.0 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,8 @@ const ListProfitAndLossTool = CreateXeroTool("list-profit-and-loss", "Lists prof
|
|
|
7
7
|
toDate: z.string().optional().describe("Optional end date in YYYY-MM-DD format"),
|
|
8
8
|
periods: z.number().int().min(1).max(11).optional().describe("Optional number of prior comparison periods (1-11). Xero returns the requested base period plus this many comparisons, so periods=3 returns 4 columns."),
|
|
9
9
|
timeframe: z.enum(["MONTH", "QUARTER", "YEAR"]).optional().describe("Optional spacing between comparison periods (MONTH, QUARTER, YEAR). It does not split a multi-month fromDate/toDate range into individual columns — " +
|
|
10
|
-
"Xero repeats the whole fromDate/toDate span for each comparison. Example: for 4 separate monthly columns, set fromDate/toDate to a single month and periods=3, NOT a 4-month range with periods=3 (which instead returns 4 rolling 4-month totals)."
|
|
10
|
+
"Xero repeats the whole fromDate/toDate span for each comparison. Example: for 4 separate monthly columns, set fromDate/toDate to a single month and periods=3, NOT a 4-month range with periods=3 (which instead returns 4 rolling 4-month totals). " +
|
|
11
|
+
"If fromDate/toDate covers the CURRENT, still-in-progress month, Xero returns month-to-date actuals (as of today) for that base column, not a projected full month — the prior comparison columns are still full months. To get full-month totals for every column (including the most recent), set toDate to the end of the last fully completed month rather than the current month."),
|
|
11
12
|
standardLayout: z.boolean().optional().describe("Optional flag to use standard layout"),
|
|
12
13
|
paymentsOnly: z.boolean().optional().describe("Optional flag to include only accounts with payments"),
|
|
13
14
|
}, async (args) => {
|