Upload Commercial Invoice
machship_upload_commercial_invoiceUpload commercial invoice files to a consignment for international shipments. Provide file name and base64-encoded content.
Instructions
Uploads one or more commercial invoice files for a consignment (for international shipments). Files are provided as base64-encoded content.
Args:
consignmentId (number): The consignment to attach the invoice to
files (array): Array of files, each with fileName and fileBase64 content
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| consignmentId | Yes | Consignment ID | |
| files | Yes | Invoice files to upload |