import_upload
Upload a CSV, XLSX, XML, or ZIP file to start an import job for clients, products, invoices, platform sales, or receipts. Specify the import type and source app to create the job and receive preview data.
Instructions
Upload a file (CSV, XLSX, XML, or ZIP) to start a new import job. Requires importType (clients, products, invoices_issued, invoices_received, recurring_invoices, platform_sales, receipts) and source (smartbill, saga, oblio, fgo, facturis_online, easybill, ciel, factureaza, facturare_pro, icefact, bolt, facturis, emag, uber, glovo, tazz, woocommerce, prestashop, cash_register, generic). Platform statements (uber, bolt, glovo, tazz) use importType platform_sales and become one sales invoice to the platform plus the commission purchase invoice per group; shop exports (woocommerce, prestashop) use invoices_issued; the A4200 XML or a ZIP of a month exported by a fiscal cash register uses source cash_register with importType receipts. 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, XML, or a ZIP of A4200 XML files) | |
| companyId | No | Company UUID override (uses active company if not set) | |
| importType | Yes | Type of data being imported |