Invoicing

invoices.projectTotals

Invoiced revenue per project and currency: how much was invoiced, collected and is still owed, and how many invoices, for issued invoices that aren't cancelled. Filter by projectIds and an issue-date range. Pair with tags.report for the project's spend and income from transactions.

GETPOST/api/v1/accounting/invoices.projectTotals

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_invoices_project_totals

Fields

  • projectIdsarray of strings (ID)

    A list of record IDs.

    at most 100 items

  • fromstring

    The first date to include, as YYYY-MM-DD.

  • tostring

    The last date to include, as YYYY-MM-DD.

Example

curl https://app.getoatmilk.com/api/v1/accounting/invoices.projectTotals \
  -H "Authorization: Bearer $OATMILK_API_KEY"
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

GET/api/v1/accounting/invoices.projectTotals
curl https://app.getoatmilk.com/api/v1/accounting/invoices.projectTotals \
  -H "Authorization: Bearer $OATMILK_API_KEY"

More in Invoicing.