Retrieve Profit & Loss report from Xero. Shows income, expenses, and net profit for a specified period. Response rows are labeled (e.g., 'Net Profit', SummaryRow); parse by row label, not array index. Aggregates multiple tax codes — not suitable for tax compliance reporting.
toDatestringEnd date for the report in YYYY-MM-DD format. Date range between fromDate and toDate must not exceed 365 days.
periodsintegerNumber of periods to compare (e.g., for month-on-month comparison).
fromDatestringStart date for the report in YYYY-MM-DD format. Date range between fromDate and toDate must not exceed 365 days.
tenant_idstringXero tenant/organization ID. If not provided, uses the first connected tenant.
timeframestringTimeframe period: MONTH, QUARTER, or YEAR.
paymentsOnlybooleanShow only cash transactions when true (cash basis).
standardLayoutbooleanUse standard layout when true.
trackingOptionIDstringFilter by tracking option ID.
trackingOptionID2stringFilter by second tracking option ID.
trackingCategoryIDstringFilter by tracking category ID.
trackingCategoryID2stringFilter by second tracking category ID.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.