netsuite_upload_file
Upload a file (e.g., invoice PDF) to NetSuite File Cabinet and receive its internal ID for attaching to records. Requires base64 content, file name, type, and folder.
Instructions
Upload a file to NetSuite File Cabinet (e.g. invoice PDF). Returns the file internal ID for use with netsuite_attach_file_to_record. Required: name, fileType (e.g. 'PDF'), content (base64), folder (folder internal ID from NS File Cabinet). Optional: description, isOnline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name e.g. INV-12345-SupplierName.pdf | |
| folder | Yes | NetSuite File Cabinet folder internal ID | |
| content | Yes | Base64-encoded file content | |
| fileType | Yes | e.g. PDF | |
| isOnline | No | ||
| description | No |