import_upload
Upload a CSV, XLSX, or XML file to begin an import job for clients, products, or invoices, returning a job preview.
Instructions
Upload a file (CSV, XLSX, or XML) to start a new import job. Requires importType (clients, products, invoices_issued, invoices_received, recurring_invoices) and source (smartbill, saga, oblio, fgo, facturis_online, easybill, ciel, factureaza, facturare_pro, icefact, bolt, facturis, emag, generic). Returns the created import job with preview data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source application the file was exported from | |
| filePath | Yes | Absolute path to the file to upload (CSV, XLSX, or XML) | |
| companyId | No | Company UUID override (uses active company if not set) | |
| importType | Yes | Type of data being imported |