Pennylane: Import a supplier invoice
pennylane_import_supplier_invoicePennylane: Upload a supplier invoice PDF with its date, due date and amounts. Uploads the PDF and creates the supplier invoice, which then appears under Invoicing > Supplier Invoices and posts entries to the Purchases journal. Only PDF files work, up to 100 MB. Pennylane rejects a PDF that already exists in the account, so importing the same file twice fails. Amounts are strings and the lines must add up to the total. It books an expense in your accounts, so it asks for your OK. By default you confirm each call; you can switch that off for this tool. Reaches other people: confirm with the user before each call. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tax | Yes | Total tax, e.g. 12.40. | |
| date | Yes | Invoice date printed on the PDF. | |
| amount | Yes | Total including tax; must equal amount_before_tax plus tax. | |
| deadline | Yes | Payment due date. | |
| file_url | Yes | HTTPS link to the PDF, or a PDF sent with the request. | |
| supplier_id | Yes | Supplier ID from list_suppliers. | |
| amount_before_tax | Yes | Total before tax, e.g. 62.00. |