Get e-invoice status

Read the SDI status of an invoice.

GET https://cotlet.dev/api/v1/fatture-in-cloud/invoices/{invoice_id}/einvoice-status

read

Returns the ei_status of the invoice. Values: attempt, missing, not_sent, sent, pending, processing, error, discarded, not_delivered, accepted, rejected, no_response, manual_accepted, manual_rejected. For discarded invoices, follow with get_einvoice_rejection_reason.

Parameters

Parameters: get_einvoice_status
NameTypeDescription
company_id integer integer Company ID. Optional when your account has one company.
invoice_id integer required integer Invoice ID from list_invoices or create_invoice.

Request

cURL
curl https://cotlet.dev/api/v1/fatture-in-cloud/invoices/1/einvoice-status \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("fatture-in-cloud", "get_einvoice_status", {"invoice_id":1})
Node.js
const result = await cotlet.call('fatture-in-cloud', 'get_einvoice_status', {"invoice_id":1});
CLI
cotlet call fatture-in-cloud get_einvoice_status --data '{"invoice_id":1}'

Example response

JSON

{
  "invoice_id": 88120,
  "number": 14,
  "ei_status": "discarded"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.