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

Odoo Invoice Lines: inputs and fields

The lines of invoices, bills and vendor receipts — product, label, quantity, unit price, account, taxes, deductibility —, never the tax or payable lines Odoo computes. Added, corrected and removed while the document is a draft.

Read

Invoice Lines

The lines of invoices, bills and vendor receipts — product, label, quantity, unit price, account, taxes, deductibility —, never the tax or payable lines Odoo computes. Added, corrected and removed while the document is a draft.

Route: GET /invoiceLines

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

Inputs you can set

NameTypeRequiredDescription
linkstringYes-
ididNoOnly these records: one ID, or several comma-separated. An unknown ID answers no row.
move_ididNoOnly the records of this invoice: one ID, or several comma-separated.
account_ididNoOnly the records of this account: one ID, or several comma-separated.
product_ididNoOnly the records of this product: one ID, or several comma-separated.
parent_stateenumNoOnly the lines of invoices in these statuses: draft for those that may change. Values: draft, posted, cancel
namestringNoOnly the records whose label contains this text (case-insensitive).
per_pagenumberNoRows per page (max 200) Default: 100
pagenumberNoPage number, starting at 1

Data returned in Excel

FieldTypeRelationsDescription
iddefaultid—-
move_id_namedefaultstring—-
namedefaultstring—-
quantitydefaultnumber—-
price_unitdefaultnumber—-
account_id_namedefaultstring—-
price_subtotaldefaultnumber—-
parent_statedefaultenum—-
Create

Create Invoice Line

Create Invoice Line

Route: POST /mutation/invoiceLines

Inputs you can set

NameTypeRequiredDescription
account_ididNo-
deductible_amountnumberNo-
discountnumberNo-
move_ididYes-
namestringNo-
price_unitnumberNo-
product_ididNo-
quantitynumberNo-
tax_idsstring[]No-

Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Update Invoice Line

Update Invoice Line

Route: PATCH /mutation/invoiceLines

Inputs you can set

NameTypeRequiredDescription
account_ididNo-
deductible_amountnumberNo-
discountnumberNo-
move_ididYes-
namestringNo-
price_unitnumberNo-
product_ididNo-
quantitynumberNo-
tax_idsstring[]No-

Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Delete Invoice Line

Delete Invoice Line

Route: DELETE /mutation/invoiceLines

Inputs you can set

NameTypeRequiredDescription
account_ididNo-
deductible_amountnumberNo-
discountnumberNo-
move_ididYes-
namestringNo-
price_unitnumberNo-
product_ididNo-
quantitynumberNo-
tax_idsstring[]No-

Data returned in Excel

This action returns a confirmation rather than a selectable table.