App Logo
app.pennylane.com

Set the supplier of a Pennylane supplier invoice

Automatically set the supplier of a Pennylane supplier invoice on app.pennylane.com. Sets which supplier a Pennylane supplier invoice belongs to, by supplier id. An invoice with no supplier cannot be approved, and one grouped with its bank transaction is matched once it has the right supplier. With dryRun (default true) it only reads the invoice and the supplier and returns both. Returns the invoice's supplier before and after. Find the supplier id with app.pennylane.com/search_suppliers, or create one with app.pennylane.com/create_supplier. Fails when the invoice or the supplier does not exist, and when signed out of Pennylane.

Input

companyId required

The number in the app URL at /companies/<id>/.

invoiceId required

Supplier invoice id, as app.pennylane.com/list_invoices returns it.

supplierId required

Supplier id, as app.pennylane.com/search_suppliers or app.pennylane.com/create_supplier returns it.

dryRun optional

true (default): read the invoice and the supplier without changing anything. false: set the supplier.

Default: true

Output

dryRun required
updated required
invoiceId required
label optional
amount optional
supplierAfter optional

Supplier name after the run, as read back from Pennylane.

supplierBefore optional

Supplier name before the run, null when there was none.

FAQ

Sets which supplier a Pennylane supplier invoice belongs to, by supplier id. An invoice with no supplier cannot be approved, and one grouped with its bank transaction is matched once it has the right supplier. With dryRun (default true) it only reads the invoice and the supplier and returns both. Returns the invoice's supplier before and after. Find the supplier id with app.pennylane.com/search_suppliers, or create one with app.pennylane.com/create_supplier. Fails when the invoice or the supplier does not exist, and when signed out of Pennylane.
Ask an AI agent connected to Reduck to run reduck/app.pennylane.com/set_invoice_supplier, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/app.pennylane.com/set_invoice_supplier
You do not need one. "Set the supplier of a Pennylane supplier invoice" drives the real app.pennylane.com pages in a browser, so it works whether or not app.pennylane.com offers an API for this.
Required: companyId, invoiceId, supplierId. Optional: dryRun.
It returns label, amount, dryRun, updated, invoiceId, supplierAfter, supplierBefore.
Yes. It acts as you on app.pennylane.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the app.pennylane.com cookies saved by the Reduck extension.
It makes changes on app.pennylane.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/app.pennylane.com/set_invoice_supplier, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/app.pennylane.com/set_invoice_supplier
It is part of Reduck's official curated catalogue.

Start building not clicking