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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uuid": "<uuid>"
},
"name": "invoices_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Invoice UUID to issue | |
| companyId | No | Company UUID override (uses active company if not set) |