Propose an invoice for a marketplace order
invoices_issue_for_order[Invoicing changes] Propose the invoice for one marketplace order: the buyer, the products, shipping and vouchers are taken from the order itself, so do not retype them. Simulated first; after the seller approves, the invoice is issued and its PDF is attached to the order on the marketplace. Refused if the order is already invoiced (on the marketplace or in the invoicing account). Orders in RON only (eMAG Romania, Trendyol Romania). Works on: Demo invoicing (sample data).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| series | No | Invoice series; default is the one set on the invoicing account. | |
| account | No | Account id from list_accounts. Optional when only one account is connected. | |
| order_id | Yes | The marketplace order id. | |
| allow_duplicate | No | Only after the seller confirmed the earlier invoice for this order was cancelled or reversed and a new one is needed. | |
| attach_to_order | No | Default true. | |
| marketplace_account | No | Marketplace account id, needed only if several are connected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||