invoices.projectOptions
Before creating an invoice, offer existing projects and contextual suggestions for the customer and draft. Returns active projects with search and pagination, reasons, and the exact next actions to choose a project or create one using tags.create. Suggestions never select a project automatically. Keep organizationId the same for options, project creation and invoice creation. Use projectId null only if the person explicitly chooses no project.
/api/v1/accounting/invoices.projectOptionsPermissions
Who can call it
Retries
MCP
accounting_invoices_project_optionsFields
partyIdstring (ID)RequiredThe ID of a customer or vendor account, from parties.list.
titlestringA short title.
at most 200 characters
memostringat most 4000 characters
linesarray of objectsat most 100 items
issueDatestring or nullThe date the document was issued, as YYYY-MM-DD.
searchstringText to search for.
at most 200 characters
limitintegerHow many results to return at most.
1 to 100 · Default 25
offsetintegerHow many results to skip, for the next page of a list.
0 to 100000 · Default 0
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/invoices.projectOptions \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'partyId=7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10'{
"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.
curl -G https://app.getoatmilk.com/api/v1/accounting/invoices.projectOptions \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'partyId=7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10'More in Invoicing.