LinkyFlow — autonomous agents and live business data in Excel or on the webLinkyFlow
Odoo Invoices: inputs and fields
← Odoo connection for LinkyFlow

Odoo Invoices: inputs and fields

Customer invoices and credit notes, vendor bills, refunds and receipts (account.move): their state, payment state, partner, dates and totals.

Read

Invoices

Customer invoices and credit notes, vendor bills, refunds and receipts (account.move): their state, payment state, partner, dates and totals.

Route: GET /invoices

Excel formula: =LF.odoo.invoices("selection", "fields")

Inputs you can set

NameTypeRequiredDescription
linkstringYes-
ididNoOnly these records: one ID, or several comma-separated. An unknown ID answers no row.
move_typeenumNoOnly these types: out_invoice, out_refund (customers), in_invoice, in_refund, in_receipt (vendors). Values: out_invoice, out_refund, in_invoice, in_refund, in_receipt
stateenumNoOnly these statuses. Values: draft, posted, cancel
payment_stateenumNoOnly these payment statuses: not_paid and partial for what is still due. Values: not_paid, in_payment, paid, partial, reversed
partner_ididNoOnly the records of this partner: one ID, or several comma-separated.
journal_ididNoOnly the records of this journal: one ID, or several comma-separated.
namestringNoOnly the records whose number contains this text (case-insensitive).
refstringNoOnly the records whose reference contains this text (case-insensitive).
invoice_date_fromdateNoOn or after this date (YYYY-MM-DD).
invoice_date_todateNoOn or before this date (YYYY-MM-DD).
invoice_date_due_fromdateNoOn or after this date (YYYY-MM-DD).
invoice_date_due_todateNoOn or before this date (YYYY-MM-DD).
per_pagenumberNoRows per page (max 200) Default: 100
pagenumberNoPage number, starting at 1

Data returned in Excel

FieldTypeRelationsDescription
iddefaultid—-
namedefaultstring—-
move_typedefaultenum—-
statedefaultenum—-
payment_statedefaultenum—-
partner_id_namedefaultstring—-
invoice_datedefaultdate—-
currency_id_namedefaultstring—-
amount_totaldefaultnumber—-
amount_residualdefaultnumber—-
Create

Create Invoice

Create Invoice

Route: POST /mutation/invoices

Inputs you can set

NameTypeRequiredDescription
currency_ididNo-
invoice_datedateNo-
invoice_date_duedateNo-
invoice_payment_term_ididNo-
journal_ididNo-
linesstringYes-
move_typeenumYesValues: out_invoice, out_refund, in_invoice, in_refund
partner_ididYes-
payment_referencestringNo-
refstringNo-

Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Update Invoice

Update Invoice

Route: PATCH /mutation/invoices

Inputs you can set

NameTypeRequiredDescription
currency_ididNo-
invoice_datedateNo-
invoice_date_duedateNo-
invoice_payment_term_ididNo-
journal_ididNo-
linesstringYes-
move_typeenumYesValues: out_invoice, out_refund, in_invoice, in_refund
partner_ididYes-
payment_referencestringNo-
refstringNo-

Data returned in Excel

This action returns a confirmation rather than a selectable table.