Invoicing

sponsorships.report

Report allocated existing income, income-refund and fee records for one project and optional exact from/to dates, separately by currency. Issued invoices are a separate basis; invoice payments are references and never added as a second revenue. Returns exclusions and unresolved coverage; does not infer tax, recognize revenue or post entries.

GETPOST/api/v1/accounting/sponsorships.report

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_sponsorships_report

Fields

  • projectIdstring (ID)Required

    The ID of the related record.

  • fromstring

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

    Date as YYYY-MM-DD

  • tostring

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

    Date as YYYY-MM-DD

Example

curl -G https://app.getoatmilk.com/api/v1/accounting/sponsorships.report \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'projectId=4d5e6f7a-8b9c-4d0e-8f1a-2b3c4d5e6f7a'
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/sponsorships.report
curl -G https://app.getoatmilk.com/api/v1/accounting/sponsorships.report \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'projectId=4d5e6f7a-8b9c-4d0e-8f1a-2b3c4d5e6f7a'

More in Invoicing.