UNPKG

n8n-nodes-fatture-in-cloud

Version:

n8n community node for Fatture in Cloud integration using the official TypeScript SDK

85 lines 2.56 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EInvoicesResource = void 0; exports.EInvoicesResource = { name: 'eInvoices', displayName: 'E-Invoices', properties: [ { displayName: 'Company ID', name: 'companyId', type: 'number', required: true, default: 0, description: 'The company ID for the operation', }, { displayName: 'Document ID', name: 'documentId', type: 'number', required: true, displayOptions: { show: { operation: ['send', 'verifyXml', 'getXml', 'getRejectionReason'], }, }, default: 0, description: 'The ID of the issued document', }, { displayName: 'Withholding Tax Causal', name: 'withholdingTaxCausal', type: 'string', displayOptions: { show: { operation: ['send'], }, }, default: '', description: 'Withholding tax causal for sending e-invoice', }, { displayName: 'Include Attachment', name: 'includeAttachment', type: 'boolean', displayOptions: { show: { operation: ['getXml'], }, }, default: false, description: 'Whether to include attachments in the XML', }, ], operations: [ { name: 'Send', displayName: 'Send', value: 'send', description: 'Send e-invoice to SDI', action: 'Send e-invoice', }, { name: 'Verify XML', displayName: 'Verify XML', value: 'verifyXml', description: 'Verify e-invoice XML format', action: 'Verify e-invoice XML', }, { name: 'Get XML', displayName: 'Get XML', value: 'getXml', description: 'Download e-invoice in XML format', action: 'Get e-invoice XML', }, { name: 'Get Rejection Reason', displayName: 'Get Rejection Reason', value: 'getRejectionReason', description: 'Get e-invoice rejection reason', action: 'Get rejection reason', }, ], }; //# sourceMappingURL=EInvoicesResource.js.map