Help & FAQ

Search product documentation and frequently asked questions.

What is EREL? ERD Report Cloud

EREL — the ERD Reporting Expression Language — is the small, safe language a template uses wherever a value has to be worked out: an element binding, a visibility rule, a group key, a formatting rule, a chart series, a barcode value.

It is deliberately closed. There are literals, references to the data and to the report, member access, a fixed set of built-in functions such as format.currency, concat and count, and the usual arithmetic, comparison, logical and conditional operators. There is no input or output, no loop, no user-defined function and no way to reach the host, so a template stays data and never becomes code.

Two independent implementations of EREL — the one in the browser designer and the one in the native engine — have to produce the same value, or the same diagnostic, for every valid expression. That is why a template renders identically in the designer, in Report Cloud, in the ERD Report Renderer and in the ERD Report Server.

What is a template? ERD Report Cloud

A template is a JSON document (format erd-report-template, templateVersion 1): pages measured in points, each holding elements with a fixed frame and optional repeating bands, with an EREL expression wherever a value comes from the data. It can carry a dataSchema that says which data it expects, and images are embedded as data URIs — a URL or a file path in a template is never fetched.

The designer exports it, and that same document is what POST /v1/render takes inline, or what you store once with POST /v1/templates and then render by its templateId.

What counts as a render? ERD Report Cloud

One request that produced one document. Renders are counted per document, not per page — a three-page invoice is one render — and only a 200 answer is billed. A request the service refuses (a broken template, a plan limit, a rate limit) is not billed.

Three limits are separate: the monthly allowance is how many documents a month, concurrent renders is how many may be drawn at the same moment, and requests per minute is how fast requests are accepted.

What is an Idempotency-Key for? ERD Report Cloud

It makes a retry safe. Send a key with a render — 1 to 200 visible ASCII characters, scoped to the API key — and a second request with the same key is answered 409 instead of drawing and billing a second document: idempotency_conflict while the first is still running, idempotent_result_expired once it has finished, because the document itself is not kept. Keep the bytes from the response; if they were lost, render again with a new key.

Does Report Cloud store my data or my documents? ERD Report Cloud

No. The service does not store or log the data you send, nor the document it returns: the response body is the only copy. What it keeps is what you asked it to keep — the templates you store, your API keys, and the usage history it bills from.

If the data may not leave your network at all, the same engine runs inside it as the ERD Report Renderer or the ERD Report Server.

Where can I see whether the service is up? ERD Report Cloud

The live status page shows Report Cloud's current state, when it was last checked, its 90-day uptime and a day-by-day bar for those 90 days. A machine asks the service itself: GET /v1/health takes no key and answers 200 with "status": "ok", or 503 with "status": "unavailable" and the failing check named.

What is an API key, and where does it belong? ERD Report Cloud

A key looks like erd_live_… and is a server secret: it belongs in an Authorization: Bearer header set by your server, never in a browser page, an app bundle or a repository. A key is scoped to one account and can be revoked immediately; rotating one is creating a new key, switching to it, then revoking the old one.

Report Cloud, the Renderer or the Server? ERD Report Cloud

The same engine, the same template format and the same output formats, in a different place to run. Report Cloud is hosted: an API key and no infrastructure. The ERD Report Renderer is one binary in your own process — a request on stdin, the document on stdout, nothing sent out. The ERD Report Server is that engine in a container in your network, answering one HTTP route with the same request shape.

Each is a product of its own with its own licence: a licence for one does not work on another.

Why was my render refused? ERD Report Cloud

A refusal is a JSON body with an error code and a message, and it is not billed. The common ones: invalid_template (422 — the template breaks the format or its dataSchema), subscription_required (403 — no active plan), a 429 when a limit was hit, and 404 for a template or key that is unknown, deleted or not yours. A 422 answers the same way twice, so fix the template or the data before retrying.

How does an account get a key and a plan? ERD Report Cloud

ERDesigns sets the plan on your account and issues the API key with it, so tell us which plan fits and how you expect to grow. The plan sets the monthly allowance, the concurrent renders, and which kinds of template it draws — reports, labels, receipts or a combination. Nothing is charged per page.