Submit e-invoice to SPV
create_einvoiceSubmit an already-issued Oblio invoice to Romania's SPV (e-Factura) by sending its XML to ANAF. Returns the e-invoice status.
Instructions
Submit an existing Oblio invoice to Romania's SPV (e-Factura). The invoice must already be issued in Oblio; this sends its XML to ANAF. The response includes an einvoice status: 0 = processing, 1 = success, 2 = errors, -1 = not sent.
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": {
"seriesName": "<seriesName>",
"number": "<number>"
},
"name": "create_einvoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | Invoice number. | |
| seriesName | Yes | Invoice series name to submit to SPV. |