invoices_issue
Issues a draft invoice by validating data, assigning a series number, generating UBL 2.1 XML/PDF, and changing status to issued so it can be submitted to ANAF e-Factura.
Instructions
Issue a draft invoice. Validates the data, assigns a series number, generates UBL 2.1 XML, generates PDF (Pro plan), and changes status from "draft" to "issued". Once issued, the invoice cannot be edited. Use invoices_submit to send to ANAF e-Factura.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Invoice UUID to issue | |
| companyId | No | Company UUID override (uses active company if not set) |