ecosio · Schema

RomaniaEInvoiceCreateRequest

Romania EInvoice Scenario CreateRequest.

CompanyEDIE-InvoicingB2B IntegrationVAT CompliancePEPPOLSupply ChainMessaging

Properties

Name Type Description
name object The unique name of the scenario type.
taxNumber string The company's unique Romanian fiscal registration code (Codul Fiscal or CUI).
clientId string The client ID issued to your application by ANAF.
clientSecret string The client secret issued to your application by ANAF.
accessToken string The OAuth 2.0 access token used to authorise all API calls to ANAF.
accessTokenExpiry string The expiration date and time of the access token, specified ISO 8601 format with a timezone offset. For example, 2025-01-09T10:00:00+02:00, where +02:00 is the time zone offset.
refreshToken string The OAuth 2.0 refresh token used to automatically obtain a new access token from ANAF before the current one expires.
refreshTokenExpiry string The expiration date and time of the refresh token, specified ISO 8601 format with a timezone offset. For example, 2025-01-09T10:00:00+02:00, where +02:00 is the time zone offset.
View JSON Schema on GitHub

JSON Schema

ecosio-romania-einvoice-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ecosio/main/json-schema/ecosio-romania-einvoice-create-request-schema.json",
  "title": "RomaniaEInvoiceCreateRequest",
  "description": "Romania EInvoice Scenario CreateRequest.",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ecosio-management-api-openapi.yml#/components/schemas/RomaniaEInvoiceCreateRequest",
  "allOf": [
    {
      "$ref": "#/$defs/ScenarioCreateRequest"
    },
    {
      "type": "object",
      "properties": {
        "taxNumber": {
          "type": "string",
          "description": "The company's unique Romanian fiscal registration code (Codul Fiscal or CUI)."
        },
        "clientId": {
          "type": "string",
          "description": "The client ID issued to your application by ANAF."
        },
        "clientSecret": {
          "type": "string",
          "format": "password",
          "description": "The client secret issued to your application by ANAF."
        },
        "accessToken": {
          "type": "string",
          "format": "password",
          "description": "The OAuth 2.0 access token used to authorise all API calls to ANAF."
        },
        "accessTokenExpiry": {
          "type": "string",
          "format": "date-time",
          "description": "The expiration date and time of the access token, specified ISO 8601 format with a timezone offset. For example, 2025-01-09T10:00:00+02:00, where +02:00 is the time zone offset."
        },
        "refreshToken": {
          "type": "string",
          "format": "password",
          "description": "The OAuth 2.0 refresh token used to automatically obtain a new access token from ANAF before the current one expires."
        },
        "refreshTokenExpiry": {
          "type": "string",
          "format": "date-time",
          "description": "The expiration date and time of the refresh token, specified ISO 8601 format with a timezone offset. For example, 2025-01-09T10:00:00+02:00, where +02:00 is the time zone offset."
        }
      }
    }
  ],
  "required": [
    "accessToken",
    "accessTokenExpiry",
    "clientId",
    "clientSecret",
    "name",
    "refreshToken",
    "refreshTokenExpiry",
    "taxNumber"
  ],
  "$defs": {
    "ScenarioCreateRequest": {
      "type": "object",
      "description": "Base ScenarioCreateRequest.",
      "properties": {
        "name": {
          "$ref": "#/$defs/ScenarioName",
          "description": "The unique name of the scenario type."
        }
      },
      "required": [
        "name"
      ]
    },
    "ScenarioName": {
      "type": "string",
      "enum": [
        "BELGIUM_EINVOICE",
        "DENMARK_EINVOICE",
        "ESTONIA_EINVOICE",
        "FINLAND_EINVOICE",
        "FRANCE_EINVOICE",
        "GERMANY_EINVOICE",
        "HUNGARY_EINVOICE",
        "ITALY_EINVOICE",
        "NETHERLANDS_EINVOICE",
        "NORWAY_EINVOICE",
        "POLAND_EINVOICE",
        "ROMANIA_EINVOICE",
        "SWEDEN_EINVOICE",
        "UNITED_KINGDOM_EINVOICE"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ecosio-romania-einvoice-create-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.