Returns one page of a Books instance's payroll runs. Payroll runs come from the organization's connected payroll provider: each run is one pay period's payroll, which Books records as an accrual to be matched to the payments that settle it. Each run has its id, runType (regular, offCycle, or oneTime), payPeriodStart and payPeriodEnd, postingDate (the date it is posted to the ledger), totalPayroll (the cash requirement: net pay plus employee and employer taxes), employerCost (earnings, employer taxes, and employer contributions), and matchingStatus (unmatched, partiallyMatched, or fullyMatched), which says how much of the run has been matched to payments. Amounts are in dollars. To find runs still awaiting payment, pass matchingStatuses=unmatched,partiallyMatched. To see how much of one run a payment can still be matched to, retrieve it with getBooksPayrollRun and read amountOutstanding on the run and on each of its lines. Dates are YYYY-MM-DD and every date range is inclusive. Each response is one page of at most limit runs (default 50, at most 250). To see every match, pass nextPageToken back as pageToken with the same other parameters, and repeat until a response has no nextPageToken.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400Invalid limit or pageToken or sort or maxEmployerCost or minEmployerCost or maxTotalPayroll or minTotalPayroll or postingDateTo or postingDateFrom or payPeriodEndTo or payPeriodEndFrom or payPeriodStartTo or payPeriodStartFrom or runTypes or matchingStatuses or booksId

