statements.lines
Read statement lines. With id: the lines Oatmilk read from that statement file, whether they were checked against its period and its opening and closing balances (verified), whether they are in the books (booked), and the reason when they were not. With accountId, from and to (up to 400 days): the account's lines in the books for those dates, each with the id of a checked statement that covers its date (verifiedBy, or null), and the statement files of that period. Amounts are signed integer strings in minor units of the account's currency; money out is negative. Read-only.
/api/v1/accounting/statements.linesPermissions
Who can call it
Retries
MCP
accounting_statements_linesFields
idstring (ID)The record's ID.
accountIdstring (ID)The ID of a bank, card or payment account, from accounts.list.
fromstring (date)The first date to include, as YYYY-MM-DD.
tostring (date)The last date to include, as YYYY-MM-DD.
Example
curl -G https://app.getoatmilk.com/api/v1/accounting/statements.lines \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d'{
"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/statements.lines \
-H "Authorization: Bearer $OATMILK_API_KEY" \
--data-urlencode 'id=9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d'More in Transactions.