@delmalih/n8n-nodes-pennylane 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +96 -0
- package/dist/credentials/PennylaneApi.credentials.d.ts +10 -0
- package/dist/credentials/PennylaneApi.credentials.js +39 -0
- package/dist/credentials/PennylaneApi.credentials.js.map +1 -0
- package/dist/credentials/pennylane.dark.png +0 -0
- package/dist/credentials/pennylane.png +0 -0
- package/dist/nodes/Pennylane/Pennylane.node.d.ts +4 -0
- package/dist/nodes/Pennylane/Pennylane.node.js +126 -0
- package/dist/nodes/Pennylane/Pennylane.node.js.map +1 -0
- package/dist/nodes/Pennylane/Pennylane.node.json +10 -0
- package/dist/nodes/Pennylane/pennylane.dark.png +0 -0
- package/dist/nodes/Pennylane/pennylane.png +0 -0
- package/dist/nodes/Pennylane/resources/analytical-general-ledger-export/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/analytical-general-ledger-export/index.js +27 -0
- package/dist/nodes/Pennylane/resources/analytical-general-ledger-export/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-account/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-account/create.js +70 -0
- package/dist/nodes/Pennylane/resources/bank-account/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-account/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-account/get.js +15 -0
- package/dist/nodes/Pennylane/resources/bank-account/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-account/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-account/getAll.js +54 -0
- package/dist/nodes/Pennylane/resources/bank-account/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-account/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-account/index.js +59 -0
- package/dist/nodes/Pennylane/resources/bank-account/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/getAll.js +121 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/index.js +26 -0
- package/dist/nodes/Pennylane/resources/bank-establishment/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/bank-transaction/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/bank-transaction/index.js +95 -0
- package/dist/nodes/Pennylane/resources/bank-transaction/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/create.js +69 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/get.js +15 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/index.js +51 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-line-sections.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-line-sections.js +41 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-line-sections.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-lines.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-lines.js +41 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/invoice-lines.js.map +1 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/update.js +79 -0
- package/dist/nodes/Pennylane/resources/billing-subscription/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category/create.js +49 -0
- package/dist/nodes/Pennylane/resources/category/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category/get.js +15 -0
- package/dist/nodes/Pennylane/resources/category/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category/getAll.js +155 -0
- package/dist/nodes/Pennylane/resources/category/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category/index.js +76 -0
- package/dist/nodes/Pennylane/resources/category/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category/update.js +48 -0
- package/dist/nodes/Pennylane/resources/category/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category-group/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category-group/get.js +15 -0
- package/dist/nodes/Pennylane/resources/category-group/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category-group/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category-group/getAll.js +54 -0
- package/dist/nodes/Pennylane/resources/category-group/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category-group/getCategories.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category-group/getCategories.js +63 -0
- package/dist/nodes/Pennylane/resources/category-group/getCategories.js.map +1 -0
- package/dist/nodes/Pennylane/resources/category-group/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/category-group/index.js +51 -0
- package/dist/nodes/Pennylane/resources/category-group/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/changelog/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/changelog/index.js +18 -0
- package/dist/nodes/Pennylane/resources/changelog/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/appendices.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/appendices.js +52 -0
- package/dist/nodes/Pennylane/resources/commercial-document/appendices.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/get.js +15 -0
- package/dist/nodes/Pennylane/resources/commercial-document/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/getAll.js +153 -0
- package/dist/nodes/Pennylane/resources/commercial-document/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/index.js +94 -0
- package/dist/nodes/Pennylane/resources/commercial-document/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-line-sections.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-line-sections.js +65 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-line-sections.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-lines.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-lines.js +65 -0
- package/dist/nodes/Pennylane/resources/commercial-document/invoice-lines.js.map +1 -0
- package/dist/nodes/Pennylane/resources/commercial-document/upload-appendix.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/commercial-document/upload-appendix.js +50 -0
- package/dist/nodes/Pennylane/resources/commercial-document/upload-appendix.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/categorize.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer/categorize.js +63 -0
- package/dist/nodes/Pennylane/resources/customer/categorize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/create.js +155 -0
- package/dist/nodes/Pennylane/resources/customer/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/createIndividual.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/createIndividual.js +193 -0
- package/dist/nodes/Pennylane/resources/customer/createIndividual.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/get.js +15 -0
- package/dist/nodes/Pennylane/resources/customer/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/customer/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/customer/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/getCategories.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/getCategories.js +63 -0
- package/dist/nodes/Pennylane/resources/customer/getCategories.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/getContacts.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/getContacts.js +63 -0
- package/dist/nodes/Pennylane/resources/customer/getContacts.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/index.js +166 -0
- package/dist/nodes/Pennylane/resources/customer/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer/update.js +235 -0
- package/dist/nodes/Pennylane/resources/customer/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/categorize.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/categorize.js +63 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/categorize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/create.js +93 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/deleteInvoice.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/deleteInvoice.js +16 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/deleteInvoice.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/eInvoiceImport.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/eInvoiceImport.js +80 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/eInvoiceImport.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/finalize.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/finalize.js +16 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/finalize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/get.js +15 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/import.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/import.js +100 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/import.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/index.js +71 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/linkCreditNote.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/linkCreditNote.js +25 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/linkCreditNote.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/markAsPaid.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/markAsPaid.js +16 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/markAsPaid.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendByEmail.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendByEmail.js +25 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendByEmail.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendToPA.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendToPA.js +16 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/sendToPA.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/subLists.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/subLists.js +72 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/subLists.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/update.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/update.js +450 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/updateImported.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/updateImported.js +308 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/updateImported.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/uploadAppendix.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/uploadAppendix.js +47 -0
- package/dist/nodes/Pennylane/resources/customer-invoice/uploadAppendix.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/getAll.js +66 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/index.js +34 -0
- package/dist/nodes/Pennylane/resources/customer-invoice-template/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/fec-export/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/fec-export/index.js +18 -0
- package/dist/nodes/Pennylane/resources/fec-export/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/file-attachment/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/file-attachment/index.js +40 -0
- package/dist/nodes/Pennylane/resources/file-attachment/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/getAll.js +68 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/index.js +34 -0
- package/dist/nodes/Pennylane/resources/fiscal-year/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/general-ledger-export/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/general-ledger-export/index.js +18 -0
- package/dist/nodes/Pennylane/resources/general-ledger-export/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/associate.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/associate.js +28 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/associate.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/cancel.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/cancel.js +19 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/cancel.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/get.js +15 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/getAll.js +153 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/index.js +90 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/sendMailRequest.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/sendMailRequest.js +46 -0
- package/dist/nodes/Pennylane/resources/gocardless-mandate/sendMailRequest.js.map +1 -0
- package/dist/nodes/Pennylane/resources/journal/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/journal/create.js +28 -0
- package/dist/nodes/Pennylane/resources/journal/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/journal/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/journal/get.js +15 -0
- package/dist/nodes/Pennylane/resources/journal/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/journal/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/journal/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/journal/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/journal/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/journal/index.js +55 -0
- package/dist/nodes/Pennylane/resources/journal/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-account/create.js +44 -0
- package/dist/nodes/Pennylane/resources/ledger-account/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-account/get.js +15 -0
- package/dist/nodes/Pennylane/resources/ledger-account/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/ledger-account/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-account/index.js +75 -0
- package/dist/nodes/Pennylane/resources/ledger-account/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-account/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-account/update.js +35 -0
- package/dist/nodes/Pennylane/resources/ledger-account/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/create.js +19 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/get.js +15 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/getLines.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/getLines.js +41 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/getLines.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/index.js +28 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/update.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/update.js +132 -0
- package/dist/nodes/Pennylane/resources/ledger-entry/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/categorize.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/categorize.js +63 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/categorize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/get.js +15 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getAll.js +156 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getCategories.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getCategories.js +41 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getCategories.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getLettered.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getLettered.js +43 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/getLettered.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/index.js +101 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/letter.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/letter.js +30 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/letter.js.map +1 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/unletter.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/unletter.js +30 -0
- package/dist/nodes/Pennylane/resources/ledger-entry-line/unletter.js.map +1 -0
- package/dist/nodes/Pennylane/resources/me/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/me/index.js +30 -0
- package/dist/nodes/Pennylane/resources/me/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pa-registration/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pa-registration/getAll.js +54 -0
- package/dist/nodes/Pennylane/resources/pa-registration/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pa-registration/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pa-registration/index.js +31 -0
- package/dist/nodes/Pennylane/resources/pa-registration/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/getAll.js +148 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/index.js +71 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/mandateRequest.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/mandateRequest.js +15 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/mandateRequest.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrate.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrate.js +17 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrate.js.map +1 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrationCandidates.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrationCandidates.js +152 -0
- package/dist/nodes/Pennylane/resources/pro-account-mandate/migrationCandidates.js.map +1 -0
- package/dist/nodes/Pennylane/resources/product/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/product/create.js +85 -0
- package/dist/nodes/Pennylane/resources/product/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/product/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/product/get.js +15 -0
- package/dist/nodes/Pennylane/resources/product/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/product/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/product/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/product/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/product/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/product/index.js +84 -0
- package/dist/nodes/Pennylane/resources/product/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/product/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/product/update.js +91 -0
- package/dist/nodes/Pennylane/resources/product/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/purchase-request/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/purchase-request/get.js +15 -0
- package/dist/nodes/Pennylane/resources/purchase-request/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/purchase-request/getAll.d.ts +1 -0
- package/dist/nodes/Pennylane/resources/purchase-request/getAll.js +6 -0
- package/dist/nodes/Pennylane/resources/purchase-request/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/purchase-request/import.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/purchase-request/import.js +139 -0
- package/dist/nodes/Pennylane/resources/purchase-request/import.js.map +1 -0
- package/dist/nodes/Pennylane/resources/purchase-request/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/purchase-request/index.js +71 -0
- package/dist/nodes/Pennylane/resources/purchase-request/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/appendices.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/appendices.js +32 -0
- package/dist/nodes/Pennylane/resources/quote/appendices.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/create.js +24 -0
- package/dist/nodes/Pennylane/resources/quote/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/get.js +15 -0
- package/dist/nodes/Pennylane/resources/quote/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/index.js +60 -0
- package/dist/nodes/Pennylane/resources/quote/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-line-sections.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-line-sections.js +41 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-line-sections.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-lines.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-lines.js +41 -0
- package/dist/nodes/Pennylane/resources/quote/invoice-lines.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/send-by-email.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/send-by-email.js +13 -0
- package/dist/nodes/Pennylane/resources/quote/send-by-email.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/update-status.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/update-status.js +19 -0
- package/dist/nodes/Pennylane/resources/quote/update-status.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/quote/update.js +66 -0
- package/dist/nodes/Pennylane/resources/quote/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/quote/upload-appendix.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/quote/upload-appendix.js +35 -0
- package/dist/nodes/Pennylane/resources/quote/upload-appendix.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/create.js +23 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/delete.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/delete.js +15 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/delete.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/get.js +15 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/getAll.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/getAll.js +152 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/getAll.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/index.js +90 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/update.js +25 -0
- package/dist/nodes/Pennylane/resources/sepa-mandate/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/shared/operations.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/shared/operations.js +241 -0
- package/dist/nodes/Pennylane/resources/shared/operations.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier/categorize.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier/categorize.js +18 -0
- package/dist/nodes/Pennylane/resources/supplier/categorize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier/create.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier/create.js +33 -0
- package/dist/nodes/Pennylane/resources/supplier/create.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier/get.js +15 -0
- package/dist/nodes/Pennylane/resources/supplier/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier/index.js +64 -0
- package/dist/nodes/Pennylane/resources/supplier/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier/list-categories.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier/list-categories.js +20 -0
- package/dist/nodes/Pennylane/resources/supplier/list-categories.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/categorize.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/categorize.js +18 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/categorize.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/get.js +15 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import-e-invoice.d.ts +3 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import-e-invoice.js +55 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import-e-invoice.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import.js +20 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/import.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/index.js +73 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/index.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/link-purchase-request.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/link-purchase-request.js +9 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/link-purchase-request.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-categories.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-categories.js +32 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-categories.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-invoice-lines.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-invoice-lines.js +41 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-invoice-lines.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-matched-transactions.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-matched-transactions.js +41 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-matched-transactions.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-payments.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-payments.js +41 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/list-payments.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update-e-invoice-status.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update-e-invoice-status.js +48 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update-e-invoice-status.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update.js +153 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/update.js.map +1 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/validate-accounting.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/validate-accounting.js +8 -0
- package/dist/nodes/Pennylane/resources/supplier-invoice/validate-accounting.js.map +1 -0
- package/dist/nodes/Pennylane/resources/trial-balance/get.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/trial-balance/get.js +82 -0
- package/dist/nodes/Pennylane/resources/trial-balance/get.js.map +1 -0
- package/dist/nodes/Pennylane/resources/trial-balance/index.d.ts +2 -0
- package/dist/nodes/Pennylane/resources/trial-balance/index.js +36 -0
- package/dist/nodes/Pennylane/resources/trial-balance/index.js.map +1 -0
- package/dist/package.json +53 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +53 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerInvoiceCreateDescription = void 0;
|
|
4
|
+
const showForCustomerInvoiceCreate = {
|
|
5
|
+
operation: ['create'],
|
|
6
|
+
resource: ['customerInvoice'],
|
|
7
|
+
};
|
|
8
|
+
exports.customerInvoiceCreateDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Customer ID',
|
|
11
|
+
name: 'customerId',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
default: '',
|
|
15
|
+
displayOptions: { show: showForCustomerInvoiceCreate },
|
|
16
|
+
description: 'The ID of the customer to invoice',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Date',
|
|
20
|
+
name: 'date',
|
|
21
|
+
type: 'string',
|
|
22
|
+
required: true,
|
|
23
|
+
default: '',
|
|
24
|
+
displayOptions: { show: showForCustomerInvoiceCreate },
|
|
25
|
+
description: 'Invoice date (ISO 8601, e.g. 2026-07-07)',
|
|
26
|
+
placeholder: '2026-07-07',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
displayName: 'Deadline',
|
|
30
|
+
name: 'deadline',
|
|
31
|
+
type: 'string',
|
|
32
|
+
required: true,
|
|
33
|
+
default: '',
|
|
34
|
+
displayOptions: { show: showForCustomerInvoiceCreate },
|
|
35
|
+
description: 'Payment deadline date (ISO 8601, e.g. 2026-08-06)',
|
|
36
|
+
placeholder: '2026-08-06',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
displayName: 'Draft',
|
|
40
|
+
name: 'draft',
|
|
41
|
+
type: 'boolean',
|
|
42
|
+
default: true,
|
|
43
|
+
displayOptions: { show: showForCustomerInvoiceCreate },
|
|
44
|
+
description: 'Whether to create the invoice as a draft (true) or finalize it immediately (false)',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
displayName: 'External Reference',
|
|
48
|
+
name: 'externalReference',
|
|
49
|
+
type: 'string',
|
|
50
|
+
default: '',
|
|
51
|
+
displayOptions: { show: showForCustomerInvoiceCreate },
|
|
52
|
+
description: 'Your external reference for this invoice',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
displayName: 'Invoice Lines',
|
|
56
|
+
name: 'invoiceLines',
|
|
57
|
+
type: 'fixedCollection',
|
|
58
|
+
default: {},
|
|
59
|
+
required: true,
|
|
60
|
+
displayOptions: { show: showForCustomerInvoiceCreate },
|
|
61
|
+
description: 'Line items for the invoice. At least one line is required.',
|
|
62
|
+
options: [{
|
|
63
|
+
name: 'line',
|
|
64
|
+
displayName: 'Invoice Line',
|
|
65
|
+
values: [
|
|
66
|
+
{ displayName: 'Label', name: 'label', type: 'string', default: '', displayOptions: { show: showForCustomerInvoiceCreate }, description: 'Line item label / description' },
|
|
67
|
+
{ displayName: 'Ledger Account ID', name: 'ledgerAccountId', type: 'string', default: '', displayOptions: { show: showForCustomerInvoiceCreate }, description: 'The ledger account ID (optional)' },
|
|
68
|
+
{ displayName: 'Product ID', name: 'productId', type: 'string', default: '', displayOptions: { show: showForCustomerInvoiceCreate }, description: 'The ID of the product (optional)' },
|
|
69
|
+
{ displayName: 'Quantity', name: 'quantity', type: 'number', default: 1, displayOptions: { show: showForCustomerInvoiceCreate } },
|
|
70
|
+
{ displayName: 'Unit', name: 'unit', type: 'string', default: 'piece', displayOptions: { show: showForCustomerInvoiceCreate }, description: 'Unit of measurement' },
|
|
71
|
+
{ displayName: 'Unit Price (Excl. Tax)', name: 'unitPrice', type: 'string', default: '', displayOptions: { show: showForCustomerInvoiceCreate }, description: 'Raw currency unit price excluding tax, as a string' },
|
|
72
|
+
{ displayName: 'VAT Rate', name: 'vatRate', type: 'string', default: 'FR_200', displayOptions: { show: showForCustomerInvoiceCreate }, description: 'VAT rate identifier (e.g. FR_200 for 20%)' },
|
|
73
|
+
],
|
|
74
|
+
}],
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
displayName: 'PDF Free Text',
|
|
78
|
+
name: 'pdfInvoiceFreeText',
|
|
79
|
+
type: 'string',
|
|
80
|
+
default: '',
|
|
81
|
+
displayOptions: { show: showForCustomerInvoiceCreate },
|
|
82
|
+
description: 'Free text to include on the PDF invoice',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
displayName: 'PDF Subject',
|
|
86
|
+
name: 'pdfInvoiceSubject',
|
|
87
|
+
type: 'string',
|
|
88
|
+
default: '',
|
|
89
|
+
displayOptions: { show: showForCustomerInvoiceCreate },
|
|
90
|
+
description: 'Subject line to include on the PDF invoice',
|
|
91
|
+
},
|
|
92
|
+
];
|
|
93
|
+
//# sourceMappingURL=create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer-invoice/create.ts"],"names":[],"mappings":";;;AAEA,MAAM,4BAA4B,GAAG;IACpC,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,iBAAiB,CAAC;CAC7B,C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EAAE;oBACpN,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,4BAA4B,EAAE,EAAE,WAAW,EAAE,2CAA2C,EAAE;iBACjM;aACD,CAAC;KACF;IACD;QACC,WAAW,EAAE,eAAe;QAC5B,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,4BAA4B,EAAE;QACtD,WAAW,EAAE,yCAAyC;KACtD;IACD;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,4BAA4B,EAAE;QACtD,WAAW,EAAE,4CAA4C;KACzD;CACD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerInvoiceDeleteDescription = void 0;
|
|
4
|
+
const showForCustomerInvoiceDelete = { operation: ['delete'], resource: ['customerInvoice'] };
|
|
5
|
+
exports.customerInvoiceDeleteDescription = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Invoice ID',
|
|
8
|
+
name: 'invoiceId',
|
|
9
|
+
type: 'string',
|
|
10
|
+
required: true,
|
|
11
|
+
default: '',
|
|
12
|
+
displayOptions: { show: showForCustomerInvoiceDelete },
|
|
13
|
+
description: 'The ID of the draft customer invoice to delete. Only draft invoices can be deleted.',
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=deleteInvoice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteInvoice.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer-invoice/deleteInvoice.ts"],"names":[],"mappings":";;;AAEA,MAAM,4BAA4B,GAAG,EAAE,SAAS,EAAE,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAEjF,QAAA,gCAAgC,GAAsB;IAClE;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,4BAA4B,EAAE;QACtD,WAAW,EAAE,qFAAqF;KAClG;CACD,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { IExecuteSingleFunctions, IHttpRequestOptions, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare function applyCustomerInvoiceEInvoiceImportPreSend(this: IExecuteSingleFunctions, requestOptions: IHttpRequestOptions): Promise<IHttpRequestOptions>;
|
|
3
|
+
export declare const customerInvoiceEInvoiceImportDescription: INodeProperties[];
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerInvoiceEInvoiceImportDescription = void 0;
|
|
4
|
+
exports.applyCustomerInvoiceEInvoiceImportPreSend = applyCustomerInvoiceEInvoiceImportPreSend;
|
|
5
|
+
const showForCustomerInvoiceEInvoiceImport = { operation: ['eInvoiceImport'], resource: ['customerInvoice'] };
|
|
6
|
+
async function applyCustomerInvoiceEInvoiceImportPreSend(requestOptions) {
|
|
7
|
+
var _a;
|
|
8
|
+
const propertyName = this.getNodeParameter('binaryPropertyName');
|
|
9
|
+
const binaryData = this.helpers.assertBinaryData(propertyName);
|
|
10
|
+
const buffer = await this.helpers.getBinaryDataBuffer(propertyName);
|
|
11
|
+
const customerId = this.getNodeParameter('customerId', '');
|
|
12
|
+
const lines = this.getNodeParameter('invoiceLines.line', []);
|
|
13
|
+
const invoiceOptions = {};
|
|
14
|
+
if (customerId) {
|
|
15
|
+
invoiceOptions.customer_id = parseInt(customerId, 10);
|
|
16
|
+
}
|
|
17
|
+
if (Array.isArray(lines) && lines.length > 0) {
|
|
18
|
+
invoiceOptions.invoice_lines = lines.map((line) => ({
|
|
19
|
+
e_invoice_line_id: line.eInvoiceLineId,
|
|
20
|
+
ledger_account_id: line.ledgerAccountId ? parseInt(line.ledgerAccountId, 10) : undefined,
|
|
21
|
+
product_id: line.productId ? parseInt(line.productId, 10) : undefined,
|
|
22
|
+
}));
|
|
23
|
+
}
|
|
24
|
+
const boundary = `----n8nFormBoundary${Date.now().toString(16)}${Math.random().toString(16).slice(2)}`;
|
|
25
|
+
const filename = ((_a = binaryData.fileName) !== null && _a !== void 0 ? _a : 'file').replace(/"/g, '');
|
|
26
|
+
const contentType = binaryData.mimeType || 'application/octet-stream';
|
|
27
|
+
const parts = [
|
|
28
|
+
Buffer.from(`--${boundary}\r\nContent-Disposition: form-data; name="file"; filename="${filename}"\r\nContent-Type: ${contentType}\r\n\r\n`, 'utf-8'),
|
|
29
|
+
buffer,
|
|
30
|
+
Buffer.from('\r\n', 'utf-8'),
|
|
31
|
+
];
|
|
32
|
+
if (Object.keys(invoiceOptions).length > 0) {
|
|
33
|
+
parts.push(Buffer.from(`--${boundary}\r\nContent-Disposition: form-data; name="invoice_options"\r\nContent-Type: application/json\r\n\r\n${JSON.stringify(invoiceOptions)}\r\n`, 'utf-8'));
|
|
34
|
+
}
|
|
35
|
+
parts.push(Buffer.from(`--${boundary}--\r\n`, 'utf-8'));
|
|
36
|
+
requestOptions.body = Buffer.concat(parts);
|
|
37
|
+
requestOptions.headers = {
|
|
38
|
+
...requestOptions.headers,
|
|
39
|
+
'Content-Type': `multipart/form-data; boundary=${boundary}`,
|
|
40
|
+
};
|
|
41
|
+
return requestOptions;
|
|
42
|
+
}
|
|
43
|
+
exports.customerInvoiceEInvoiceImportDescription = [
|
|
44
|
+
{
|
|
45
|
+
displayName: 'Input Binary Field',
|
|
46
|
+
name: 'binaryPropertyName',
|
|
47
|
+
type: 'string',
|
|
48
|
+
default: 'data',
|
|
49
|
+
required: true,
|
|
50
|
+
displayOptions: { show: showForCustomerInvoiceEInvoiceImport },
|
|
51
|
+
description: 'Name of the binary property containing the e-invoice file to import (Factur-X PDF, UBL XML, or CII XML)',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Customer ID',
|
|
55
|
+
name: 'customerId',
|
|
56
|
+
type: 'string',
|
|
57
|
+
default: '',
|
|
58
|
+
displayOptions: { show: showForCustomerInvoiceEInvoiceImport },
|
|
59
|
+
description: 'The ID of the customer for this invoice (optional enrichment data)',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
displayName: 'Invoice Lines',
|
|
63
|
+
name: 'invoiceLines',
|
|
64
|
+
type: 'fixedCollection',
|
|
65
|
+
default: {},
|
|
66
|
+
typeOptions: { multipleValues: true },
|
|
67
|
+
displayOptions: { show: showForCustomerInvoiceEInvoiceImport },
|
|
68
|
+
description: 'Optional per-line enrichment data to attach ledger accounts / products to the imported e-invoice lines',
|
|
69
|
+
options: [{
|
|
70
|
+
name: 'line',
|
|
71
|
+
displayName: 'Invoice Line',
|
|
72
|
+
values: [
|
|
73
|
+
{ displayName: 'E-Invoice Line ID', name: 'eInvoiceLineId', type: 'string', required: true, default: '', description: 'Must match the Factur-X BT-126 LineID of the line to enrich' },
|
|
74
|
+
{ displayName: 'Ledger Account ID', name: 'ledgerAccountId', type: 'string', default: '', description: 'The ledger account ID to assign to this line (optional)' },
|
|
75
|
+
{ displayName: 'Product ID', name: 'productId', type: 'string', default: '', description: 'The ID of the product to assign to this line (optional)' },
|
|
76
|
+
],
|
|
77
|
+
}],
|
|
78
|
+
},
|
|
79
|
+
];
|
|
80
|
+
//# sourceMappingURL=eInvoiceImport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eInvoiceImport.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/custom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|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerInvoiceFinalizeDescription = void 0;
|
|
4
|
+
const showForCustomerInvoiceFinalize = { operation: ['finalize'], resource: ['customerInvoice'] };
|
|
5
|
+
exports.customerInvoiceFinalizeDescription = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Invoice ID',
|
|
8
|
+
name: 'invoiceId',
|
|
9
|
+
type: 'string',
|
|
10
|
+
required: true,
|
|
11
|
+
default: '',
|
|
12
|
+
displayOptions: { show: showForCustomerInvoiceFinalize },
|
|
13
|
+
description: 'The ID of the draft customer invoice to finalize',
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=finalize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finalize.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer-invoice/finalize.ts"],"names":[],"mappings":";;;AAEA,MAAM,8BAA8B,GAAG,EAAE,SAAS,EAAE,CAAC,UAAU,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAErF,QAAA,kCAAkC,GAAsB;IACpE;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,8BAA8B,EAAE;QACxD,WAAW,EAAE,kDAAkD;KAC/D;CACD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerInvoiceGetDescription = void 0;
|
|
4
|
+
exports.customerInvoiceGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Invoice ID',
|
|
7
|
+
name: 'invoiceId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: { show: { operation: ['get'], resource: ['customerInvoice'] } },
|
|
11
|
+
default: '',
|
|
12
|
+
description: 'The ID of the customer invoice to retrieve',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer-invoice/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,6BAA6B,GAAsB;IAC/D;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE;QAC/E,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4CAA4C;KACzD;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const customerInvoiceGetAllDescription: import("n8n-workflow").INodeProperties[];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerInvoiceGetAllDescription = void 0;
|
|
4
|
+
const operations_1 = require("../shared/operations");
|
|
5
|
+
exports.customerInvoiceGetAllDescription = (0, operations_1.buildGetAllDescription)('customerInvoice');
|
|
6
|
+
//# sourceMappingURL=getAll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer-invoice/getAll.ts"],"names":[],"mappings":";;;AAAA,qDAA8D;AAEjD,QAAA,gCAAgC,GAAG,IAAA,mCAAsB,EAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerInvoiceImportDescription = void 0;
|
|
4
|
+
const showForCustomerInvoiceImport = { operation: ['import'], resource: ['customerInvoice'] };
|
|
5
|
+
exports.customerInvoiceImportDescription = [
|
|
6
|
+
{ displayName: 'File Attachment ID', name: 'fileAttachmentId', type: 'string', required: true, default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'The ID obtained from a prior File Attachment Upload operation' },
|
|
7
|
+
{ displayName: 'Customer ID', name: 'customerId', type: 'string', required: true, default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'The ID of the customer for this invoice' },
|
|
8
|
+
{ displayName: 'Date', name: 'date', type: 'string', required: true, default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'Invoice issue date (ISO 8601)', placeholder: '2026-07-07' },
|
|
9
|
+
{ displayName: 'Deadline', name: 'deadline', type: 'string', required: true, default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'Payment deadline date (ISO 8601)', placeholder: '2026-08-06' },
|
|
10
|
+
{ displayName: 'Currency Amount Before Tax', name: 'currencyAmountBeforeTax', type: 'string', required: true, default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'Total amount excluding tax, in invoice currency' },
|
|
11
|
+
{ displayName: 'Currency Tax', name: 'currencyTax', type: 'string', required: true, default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'Total tax amount, in invoice currency' },
|
|
12
|
+
{ displayName: 'Currency Amount', name: 'currencyAmount', type: 'string', required: true, default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'Total amount including tax, in invoice currency' },
|
|
13
|
+
{ displayName: 'Import As Incomplete', name: 'importAsIncomplete', type: 'boolean', default: false, displayOptions: { show: showForCustomerInvoiceImport }, description: 'Whether to import the invoice as incomplete, to be completed later' },
|
|
14
|
+
{ displayName: 'Convert to E-Invoice', name: 'convertToEInvoice', type: 'boolean', default: false, displayOptions: { show: showForCustomerInvoiceImport }, description: 'Whether to convert this invoice to an e-invoice. Requires the attached file to be a PDF, line labels to be set, and a valid invoice number.' },
|
|
15
|
+
{ displayName: 'Invoice Number', name: 'invoiceNumber', type: 'string', default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'Invoice number. Max 35 chars, alphanumeric + "-+_/" for e-invoices.' },
|
|
16
|
+
{ displayName: 'Currency', name: 'currency', type: 'string', default: 'EUR', displayOptions: { show: showForCustomerInvoiceImport }, description: 'ISO 4217 currency code' },
|
|
17
|
+
{ displayName: 'Amount', name: 'amount', type: 'string', default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'Total amount including tax, in euros (if different from invoice currency)' },
|
|
18
|
+
{ displayName: 'Tax', name: 'tax', type: 'string', default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'Total tax amount, in euros (if different from invoice currency)' },
|
|
19
|
+
{ displayName: 'Label', name: 'label', type: 'string', default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'Custom accounting label (max 2000 chars)' },
|
|
20
|
+
{ displayName: 'External Reference', name: 'externalReference', type: 'string', default: '', displayOptions: { show: showForCustomerInvoiceImport }, description: 'Your external reference for this invoice. Must be unique.' },
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Invoice Lines',
|
|
23
|
+
name: 'invoiceLines',
|
|
24
|
+
type: 'fixedCollection',
|
|
25
|
+
default: {},
|
|
26
|
+
required: true,
|
|
27
|
+
typeOptions: { multipleValues: true },
|
|
28
|
+
displayOptions: { show: showForCustomerInvoiceImport },
|
|
29
|
+
description: 'Line items for the invoice. At least one line is required.',
|
|
30
|
+
options: [{
|
|
31
|
+
name: 'line',
|
|
32
|
+
displayName: 'Invoice Line',
|
|
33
|
+
values: [
|
|
34
|
+
{
|
|
35
|
+
displayName: 'Currency Amount',
|
|
36
|
+
name: 'currencyAmount',
|
|
37
|
+
type: 'string',
|
|
38
|
+
default: '',
|
|
39
|
+
description: 'Line total including tax, in invoice currency',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
displayName: 'Currency Tax',
|
|
43
|
+
name: 'currencyTax',
|
|
44
|
+
type: 'string',
|
|
45
|
+
default: '',
|
|
46
|
+
description: 'Line tax amount, in invoice currency',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
displayName: 'Label',
|
|
50
|
+
name: 'label',
|
|
51
|
+
type: 'string',
|
|
52
|
+
default: '',
|
|
53
|
+
description: 'Line item label / description. Required when converting to an e-invoice.',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
displayName: 'Ledger Account ID',
|
|
57
|
+
name: 'ledgerAccountId',
|
|
58
|
+
type: 'string',
|
|
59
|
+
default: '',
|
|
60
|
+
description: 'The ledger account ID (optional)',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
displayName: 'Product ID',
|
|
64
|
+
name: 'productId',
|
|
65
|
+
type: 'string',
|
|
66
|
+
default: '',
|
|
67
|
+
description: 'The ID of the product (optional)',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
displayName: 'Quantity',
|
|
71
|
+
name: 'quantity',
|
|
72
|
+
type: 'number',
|
|
73
|
+
default: 1
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
displayName: 'Unit',
|
|
77
|
+
name: 'unit',
|
|
78
|
+
type: 'string',
|
|
79
|
+
default: 'piece',
|
|
80
|
+
description: 'Unit of measurement',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
displayName: 'Unit Price (Excl. Tax)',
|
|
84
|
+
name: 'unitPrice',
|
|
85
|
+
type: 'string',
|
|
86
|
+
default: '',
|
|
87
|
+
description: 'Raw currency unit price excluding tax, as a string (up to 6 decimals)',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
displayName: 'VAT Rate',
|
|
91
|
+
name: 'vatRate',
|
|
92
|
+
type: 'string',
|
|
93
|
+
default: 'FR_200',
|
|
94
|
+
description: 'VAT rate identifier (e.g. FR_200 for 20%)',
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
}],
|
|
98
|
+
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,QAAQ;wBACjB,WAAW,EAAE,2CAA2C;qBACxD;iBACD;aACD,CAAC;KACF;CACD,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerInvoiceDescription = void 0;
|
|
4
|
+
const get_1 = require("./get");
|
|
5
|
+
const getAll_1 = require("./getAll");
|
|
6
|
+
const create_1 = require("./create");
|
|
7
|
+
const subLists_1 = require("./subLists");
|
|
8
|
+
const uploadAppendix_1 = require("./uploadAppendix");
|
|
9
|
+
const sendByEmail_1 = require("./sendByEmail");
|
|
10
|
+
const import_1 = require("./import");
|
|
11
|
+
const linkCreditNote_1 = require("./linkCreditNote");
|
|
12
|
+
const eInvoiceImport_1 = require("./eInvoiceImport");
|
|
13
|
+
const sendToPA_1 = require("./sendToPA");
|
|
14
|
+
const update_1 = require("./update");
|
|
15
|
+
const markAsPaid_1 = require("./markAsPaid");
|
|
16
|
+
const categorize_1 = require("./categorize");
|
|
17
|
+
const updateImported_1 = require("./updateImported");
|
|
18
|
+
const finalize_1 = require("./finalize");
|
|
19
|
+
const deleteInvoice_1 = require("./deleteInvoice");
|
|
20
|
+
const showOnlyForCustomerInvoices = { resource: ['customerInvoice'] };
|
|
21
|
+
exports.customerInvoiceDescription = [
|
|
22
|
+
{
|
|
23
|
+
displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true,
|
|
24
|
+
displayOptions: { show: showOnlyForCustomerInvoices },
|
|
25
|
+
options: [
|
|
26
|
+
{ name: 'Get', value: 'get', action: 'Get an invoice', description: 'Retrieve a single customer invoice by ID', routing: { request: { method: 'GET', url: '=/customer_invoices/{{$parameter.invoiceId}}' } } },
|
|
27
|
+
{ name: 'Get Many', value: 'getAll', action: 'Get invoices', description: 'Retrieve a list of customer invoices with optional filters', routing: { request: { method: 'GET', url: '/customer_invoices' } } },
|
|
28
|
+
{ name: 'Create', value: 'create', action: 'Create an invoice', description: 'Create a new customer invoice. Note: no idempotency — duplicate calls create duplicate invoices.', routing: { request: { method: 'POST', url: '/customer_invoices', body: { customer_id: '={{ $parameter.customerId }}', date: '={{ $parameter.date }}', deadline: '={{ $parameter.deadline }}', draft: '={{ $parameter.draft }}', external_reference: '={{ $parameter.externalReference }}', invoice_lines: '={{ ($parameter.invoiceLines?.line ?? []).map(l => ({ product_id: l.productId ? parseInt(l.productId, 10) : undefined, ledger_account_id: l.ledgerAccountId ? parseInt(l.ledgerAccountId, 10) : undefined, label: l.label, quantity: l.quantity, unit: l.unit, raw_currency_unit_price: l.unitPrice, vat_rate: l.vatRate })) }}', pdf_invoice_free_text: '={{ $parameter.pdfInvoiceFreeText }}', pdf_invoice_subject: '={{ $parameter.pdfInvoiceSubject }}' } } } },
|
|
29
|
+
{ name: 'Create From Quote', value: 'createFromQuote', action: 'Create an invoice from a quote', description: 'Convert an existing quote into a finalized customer invoice', routing: { request: { method: 'POST', url: '/customer_invoices/create_from_quote', body: { quote_id: '={{ $parameter.quoteId }}', draft: '={{ $parameter.draft }}' } } } },
|
|
30
|
+
{ name: 'List Invoice Line Sections', value: 'getInvoiceLineSections', action: 'List invoice line sections', description: 'Retrieve the invoice line sections of a customer invoice', routing: { request: { method: 'GET', url: '=/customer_invoices/{{$parameter.invoiceId}}/invoice_line_sections' } } },
|
|
31
|
+
{ name: 'List Invoice Lines', value: 'getInvoiceLines', action: 'List invoice lines', description: 'Retrieve the invoice lines of a customer invoice', routing: { request: { method: 'GET', url: '=/customer_invoices/{{$parameter.invoiceId}}/invoice_lines' } } },
|
|
32
|
+
{ name: 'List Payments', value: 'getPayments', action: 'List payments', description: 'Retrieve the payments recorded against a customer invoice', routing: { request: { method: 'GET', url: '=/customer_invoices/{{$parameter.invoiceId}}/payments' } } },
|
|
33
|
+
{ name: 'List Matched Transactions', value: 'getMatchedTransactions', action: 'List matched transactions', description: 'Retrieve the bank transactions matched to a customer invoice', routing: { request: { method: 'GET', url: '=/customer_invoices/{{$parameter.invoiceId}}/matched_transactions' } } },
|
|
34
|
+
{ name: 'List Appendices', value: 'getAppendices', action: 'List appendices', description: 'Retrieve the appendices (attached files) of a customer invoice', routing: { request: { method: 'GET', url: '=/customer_invoices/{{$parameter.invoiceId}}/appendices' } } },
|
|
35
|
+
{ name: 'List Categories', value: 'getCategories', action: 'List categories', description: 'Retrieve the categories linked to a customer invoice. Draft invoices always return an empty list.', routing: { request: { method: 'GET', url: '=/customer_invoices/{{$parameter.invoiceId}}/categories' } } },
|
|
36
|
+
{ name: 'List Custom Header Fields', value: 'getCustomHeaderFields', action: 'List custom header fields', description: 'Retrieve the custom header fields of a customer invoice', routing: { request: { method: 'GET', url: '=/customer_invoices/{{$parameter.invoiceId}}/custom_header_fields' } } },
|
|
37
|
+
{ name: 'Upload Appendix', value: 'uploadAppendix', action: 'Upload an appendix', description: 'Attach a file (PDF or image) as an appendix to a customer invoice', routing: { request: { method: 'POST', url: '=/customer_invoices/{{$parameter.invoiceId}}/appendices' }, send: { preSend: [uploadAppendix_1.applyCustomerInvoiceUploadAppendixPreSend] } } },
|
|
38
|
+
{ name: 'Send by Email', value: 'sendByEmail', action: 'Send an invoice by email', description: 'Send the customer invoice PDF by email', routing: { request: { method: 'POST', url: '=/customer_invoices/{{$parameter.invoiceId}}/send_by_email', body: { recipients: '={{ $parameter.recipients ? $parameter.recipients.split(",").map((e) => e.trim()).filter((e) => e) : undefined }}' } } } },
|
|
39
|
+
{ name: 'Import', value: 'import', action: 'Import an invoice', description: 'Import a customer invoice with a file attachment. Use File Attachment Upload first.', routing: { request: { method: 'POST', url: '/customer_invoices/import', body: { file_attachment_id: '={{ $parameter.fileAttachmentId }}', customer_id: '={{ $parameter.customerId }}', date: '={{ $parameter.date }}', deadline: '={{ $parameter.deadline }}', currency_amount_before_tax: '={{ $parameter.currencyAmountBeforeTax }}', currency_tax: '={{ $parameter.currencyTax }}', currency_amount: '={{ $parameter.currencyAmount }}', import_as_incomplete: '={{ $parameter.importAsIncomplete }}', convert_to_e_invoice: '={{ $parameter.convertToEInvoice }}', invoice_number: '={{ $parameter.invoiceNumber || undefined }}', currency: '={{ $parameter.currency || undefined }}', amount: '={{ $parameter.amount || undefined }}', tax: '={{ $parameter.tax || undefined }}', label: '={{ $parameter.label || undefined }}', external_reference: '={{ $parameter.externalReference || undefined }}', invoice_lines: '={{ ($parameter.invoiceLines?.line ?? []).map(l => ({ label: l.label || undefined, quantity: l.quantity, unit: l.unit, raw_currency_unit_price: l.unitPrice, vat_rate: l.vatRate, currency_amount: l.currencyAmount, currency_tax: l.currencyTax, ledger_account_id: l.ledgerAccountId ? parseInt(l.ledgerAccountId, 10) : undefined, product_id: l.productId ? parseInt(l.productId, 10) : undefined })) }}' } } } },
|
|
40
|
+
{ name: 'Link Credit Note', value: 'linkCreditNote', action: 'Link a credit note', description: 'Link an existing credit note to a customer invoice', routing: { request: { method: 'POST', url: '=/customer_invoices/{{$parameter.invoiceId}}/link_credit_note', body: { credit_note_id: '={{ parseInt($parameter.creditNoteId, 10) }}' } } } },
|
|
41
|
+
{ name: 'Import a Customer E-Invoice', value: 'eInvoiceImport', action: 'Import a customer e invoice', description: 'Import a Factur-X PDF, UBL XML, or CII XML e-invoice file', routing: { request: { method: 'POST', url: '/customer_invoices/e_invoices/imports' }, send: { preSend: [eInvoiceImport_1.applyCustomerInvoiceEInvoiceImportPreSend] } } },
|
|
42
|
+
{ name: 'Send E-Invoice to PA', value: 'sendToPA', action: 'Send an e invoice to the pa', description: 'Send a customer e-invoice to the Partner Dematerialization Platform (PA)', routing: { request: { method: 'POST', url: '=/customer_invoices/{{$parameter.invoiceId}}/send_to_pa' } } },
|
|
43
|
+
{ name: 'Update', value: 'update', action: 'Update an invoice', description: 'Update a draft or finalized customer invoice', routing: { request: { method: 'PUT', url: '=/customer_invoices/{{$parameter.invoiceId}}' }, send: { preSend: [update_1.applyCustomerInvoiceUpdatePreSend] } } },
|
|
44
|
+
{ name: 'Mark as Paid', value: 'markAsPaid', action: 'Mark an invoice as paid', description: 'Mark a customer invoice as fully paid', routing: { request: { method: 'PUT', url: '=/customer_invoices/{{$parameter.invoiceId}}/mark_as_paid' } } },
|
|
45
|
+
{ name: 'Categorize', value: 'categorize', action: 'Categorize an invoice', description: 'Link one or more categories (with weights) to a customer invoice', routing: { request: { method: 'PUT', url: '=/customer_invoices/{{$parameter.invoiceId}}/categories' }, send: { preSend: [categorize_1.applyCustomerInvoiceCategorizePreSend] } } },
|
|
46
|
+
{ name: 'Update an Imported Invoice', value: 'updateImported', action: 'Update an imported invoice', description: 'Update an imported (non-draft) customer invoice or credit note', routing: { request: { method: 'PUT', url: '=/customer_invoices/{{$parameter.invoiceId}}/update_imported' }, send: { preSend: [updateImported_1.applyCustomerInvoiceUpdateImportedPreSend] } } },
|
|
47
|
+
{ name: 'Finalize Draft Invoice', value: 'finalize', action: 'Finalize a draft invoice', description: 'Finalize a draft customer invoice, assigning it an invoice number', routing: { request: { method: 'PUT', url: '=/customer_invoices/{{$parameter.invoiceId}}/finalize' } } },
|
|
48
|
+
{ name: 'Delete Draft Invoice', value: 'delete', action: 'Delete a draft invoice', description: 'Delete a draft customer invoice. Only draft invoices can be deleted.', routing: { request: { method: 'DELETE', url: '=/customer_invoices/{{$parameter.invoiceId}}' } } },
|
|
49
|
+
],
|
|
50
|
+
default: 'getAll',
|
|
51
|
+
},
|
|
52
|
+
...get_1.customerInvoiceGetDescription,
|
|
53
|
+
...getAll_1.customerInvoiceGetAllDescription,
|
|
54
|
+
...create_1.customerInvoiceCreateDescription,
|
|
55
|
+
{ displayName: 'Quote ID', name: 'quoteId', type: 'string', required: true, displayOptions: { show: { operation: ['createFromQuote'], resource: ['customerInvoice'] } }, default: '', description: 'The ID of the quote to convert to an invoice' },
|
|
56
|
+
{ displayName: 'Draft', name: 'draft', type: 'boolean', default: true, displayOptions: { show: { operation: ['createFromQuote'], resource: ['customerInvoice'] } }, description: 'Whether to create the invoice as a draft (true) or finalize it immediately (false)' },
|
|
57
|
+
...subLists_1.customerInvoiceSubListsDescription,
|
|
58
|
+
...uploadAppendix_1.customerInvoiceUploadAppendixDescription,
|
|
59
|
+
...sendByEmail_1.customerInvoiceSendByEmailDescription,
|
|
60
|
+
...import_1.customerInvoiceImportDescription,
|
|
61
|
+
...linkCreditNote_1.customerInvoiceLinkCreditNoteDescription,
|
|
62
|
+
...eInvoiceImport_1.customerInvoiceEInvoiceImportDescription,
|
|
63
|
+
...sendToPA_1.customerInvoiceSendToPADescription,
|
|
64
|
+
...update_1.customerInvoiceUpdateDescription,
|
|
65
|
+
...markAsPaid_1.customerInvoiceMarkAsPaidDescription,
|
|
66
|
+
...categorize_1.customerInvoiceCategorizeDescription,
|
|
67
|
+
...updateImported_1.customerInvoiceUpdateImportedDescription,
|
|
68
|
+
...finalize_1.customerInvoiceFinalizeDescription,
|
|
69
|
+
...deleteInvoice_1.customerInvoiceDeleteDescription,
|
|
70
|
+
];
|
|
71
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer-invoice/index.ts"],"names":[],"mappings":";;;AACA,+BAAsD;AACtD,qCAA4D;AAC5D,qCAA4D;AAC5D,yCAAgE;AAChE,qDAAuH;AACvH,+CAAsE;AACtE,qCAA4D;AAC5D,qDAA4E;AAC5E,qDAAuH;AACvH,yCAAgE;AAChE,qCAA+F;AAC/F,6CAAoE;AACpE,6CAA2G;AAC3G,qDAAuH;AACvH,yCAAgE;AAChE,mDAAmE;AAEnE,MAAM,2BAA2B,GAAG,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAEzD,QAAA,0BAA0B,GAAsB;IAC5D;QACC,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,IAAI;QACpF,cAAc,EAAE,EAAE,IAAI,EAAE,2BAA2B,EAAE;QACrD,OAAO,EAAE;YACR,EAAE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AQ;KACjB;IACD,GAAG,mCAA6B;IAChC,GAAG,yCAAgC;IACnC,GAAG,yCAAgC;IACnC,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,iBAAiB,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,8CAA8C,EAAE;IACnP,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,IAAI,EAAE,EAAE,SAAS,EAAE,CAAC,iBAAiB,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,oFAAoF,EAAE;IACvQ,GAAG,6CAAkC;IACrC,GAAG,yDAAwC;IAC3C,GAAG,mDAAqC;IACxC,GAAG,yCAAgC;IACnC,GAAG,yDAAwC;IAC3C,GAAG,yDAAwC;IAC3C,GAAG,6CAAkC;IACrC,GAAG,yCAAgC;IACnC,GAAG,iDAAoC;IACvC,GAAG,iDAAoC;IACvC,GAAG,yDAAwC;IAC3C,GAAG,6CAAkC;IACrC,GAAG,gDAAgC;CACnC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerInvoiceLinkCreditNoteDescription = void 0;
|
|
4
|
+
const showForCustomerInvoiceLinkCreditNote = { operation: ['linkCreditNote'], resource: ['customerInvoice'] };
|
|
5
|
+
exports.customerInvoiceLinkCreditNoteDescription = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Invoice ID',
|
|
8
|
+
name: 'invoiceId',
|
|
9
|
+
type: 'string',
|
|
10
|
+
required: true,
|
|
11
|
+
default: '',
|
|
12
|
+
displayOptions: { show: showForCustomerInvoiceLinkCreditNote },
|
|
13
|
+
description: 'The ID of the customer invoice to link the credit note to',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
displayName: 'Credit Note ID',
|
|
17
|
+
name: 'creditNoteId',
|
|
18
|
+
type: 'string',
|
|
19
|
+
required: true,
|
|
20
|
+
default: '',
|
|
21
|
+
displayOptions: { show: showForCustomerInvoiceLinkCreditNote },
|
|
22
|
+
description: 'The ID of the credit note to link to this invoice',
|
|
23
|
+
},
|
|
24
|
+
];
|
|
25
|
+
//# sourceMappingURL=linkCreditNote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkCreditNote.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer-invoice/linkCreditNote.ts"],"names":[],"mappings":";;;AAEA,MAAM,oCAAoC,GAAG,EAAE,SAAS,EAAE,CAAC,gBAAgB,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAEjG,QAAA,wCAAwC,GAAsB;IAC1E;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,oCAAoC,EAAE;QAC9D,WAAW,EAAE,2DAA2D;KACxE;IACD;QACC,WAAW,EAAE,gBAAgB;QAC7B,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,oCAAoC,EAAE;QAC9D,WAAW,EAAE,mDAAmD;KAChE;CACD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerInvoiceMarkAsPaidDescription = void 0;
|
|
4
|
+
const showForCustomerInvoiceMarkAsPaid = { operation: ['markAsPaid'], resource: ['customerInvoice'] };
|
|
5
|
+
exports.customerInvoiceMarkAsPaidDescription = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Invoice ID',
|
|
8
|
+
name: 'invoiceId',
|
|
9
|
+
type: 'string',
|
|
10
|
+
required: true,
|
|
11
|
+
default: '',
|
|
12
|
+
displayOptions: { show: showForCustomerInvoiceMarkAsPaid },
|
|
13
|
+
description: 'The ID of the customer invoice to mark as paid',
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=markAsPaid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markAsPaid.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer-invoice/markAsPaid.ts"],"names":[],"mappings":";;;AAEA,MAAM,gCAAgC,GAAG,EAAE,SAAS,EAAE,CAAC,YAAY,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAEzF,QAAA,oCAAoC,GAAsB;IACtE;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,gCAAgC,EAAE;QAC1D,WAAW,EAAE,gDAAgD;KAC7D;CACD,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customerInvoiceSendByEmailDescription = void 0;
|
|
4
|
+
const showForCustomerInvoiceSendByEmail = { operation: ['sendByEmail'], resource: ['customerInvoice'] };
|
|
5
|
+
exports.customerInvoiceSendByEmailDescription = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Invoice ID',
|
|
8
|
+
name: 'invoiceId',
|
|
9
|
+
type: 'string',
|
|
10
|
+
required: true,
|
|
11
|
+
default: '',
|
|
12
|
+
displayOptions: { show: showForCustomerInvoiceSendByEmail },
|
|
13
|
+
description: 'The ID of the customer invoice to send by email',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
displayName: 'Recipients',
|
|
17
|
+
name: 'recipients',
|
|
18
|
+
type: 'string',
|
|
19
|
+
default: '',
|
|
20
|
+
placeholder: 'name@email.com, other@email.com',
|
|
21
|
+
displayOptions: { show: showForCustomerInvoiceSendByEmail },
|
|
22
|
+
description: "Email recipients, comma-separated. If left empty, the email is sent to the customer's configured recipient email addresses.",
|
|
23
|
+
},
|
|
24
|
+
];
|
|
25
|
+
//# sourceMappingURL=sendByEmail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendByEmail.js","sourceRoot":"","sources":["../../../../../nodes/Pennylane/resources/customer-invoice/sendByEmail.ts"],"names":[],"mappings":";;;AAEA,MAAM,iCAAiC,GAAG,EAAE,SAAS,EAAE,CAAC,aAAa,CAAC,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AAE3F,QAAA,qCAAqC,GAAsB;IACvE;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE,EAAE,IAAI,EAAE,iCAAiC,EAAE;QAC3D,WAAW,EAAE,iDAAiD;KAC9D;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;QAC9C,cAAc,EAAE,EAAE,IAAI,EAAE,iCAAiC,EAAE;QAC3D,WAAW,EAAE,6HAA6H;KAC1I;CACD,CAAC"}
|