Invoicing

invoices.projectSuggestions

Suggest which project (a project tag) an invoice belongs to. With id, the top suggestions for that invoice with their reasons; without, recent invoices that have no project and the best suggestion for each. Reasons are the customer's other invoices, invoices of the same recurring schedule or payment plan, the invoice it was duplicated from, the project tag on the bank deposit that paid it, the project's name, aliases or keywords in the title, lines or memo, and the issue date falling inside the project's dates. Suggestions are never applied by themselves; use invoices.setProject.

GETPOST/api/v1/accounting/invoices.projectSuggestions

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_invoices_project_suggestions

Fields

  • idstring (ID)

    The record's ID.

  • limitinteger

    How many results to return at most.

    1 to 100 · Default 25

Example

curl https://app.getoatmilk.com/api/v1/accounting/invoices.projectSuggestions \
  -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.projectSuggestions
curl https://app.getoatmilk.com/api/v1/accounting/invoices.projectSuggestions \
  -H "Authorization: Bearer $OATMILK_API_KEY"

More in Invoicing.