App Logo
app.pennylane.com

Archive Pennylane supplier invoices

Archive one or more supplier invoices from the Pennylane Inbox by id. With dryRun (default true) each invoice is only previewed — selected, its archive confirmation opened and the warning read, then cancelled — so nothing is archived; dryRun:false confirms the archive. Returns, per invoice, whether it was found, its label, its amount and the warning that was shown.

Input

companyId required

Pennylane company id, the number in the app URL at /companies/<id>/supplier_invoices.

invoiceIds required

Invoice ids (as returned by list_invoices) to archive.

dryRun optional

true (default): select row + open modal + cancel, no archive. false: confirm the archive.

Default: true

Output

dryRun optional
results optional
archivedCount optional

FAQ

Archive one or more supplier invoices from the Pennylane Inbox by id. With dryRun (default true) each invoice is only previewed — selected, its archive confirmation opened and the warning read, then cancelled — so nothing is archived; dryRun:false confirms the archive. Returns, per invoice, whether it was found, its label, its amount and the warning that was shown.
Required: companyId, invoiceIds. Optional: dryRun.
It returns dryRun, results, archivedCount.
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 or booking something.
Ask an AI agent connected to Reduck to run reduck/app.pennylane.com/archive_invoices, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/app.pennylane.com/archive_invoices
It is part of Reduck's official curated catalogue.

Start building not clicking