Analyze an uploaded energy invoice
Changed onAccepts a single energy-invoice PDF (multipart/form-data, field 'file'), validates it is a genuine energy invoice, extracts its structured figures (per-energy-type consumption, injection, billed cost, billing period, merchant, EAN), and — when annualize=true — also returns figures rescaled to a full year. A readable PDF that is not an energy invoice returns 200 with status 'rejected'. Nothing is stored: the consumer owns any persistence. Each non-2xx response is an RFC 7807 Problem whose type says exactly what went wrong — see the individual error responses below.
Request
- Base URLhttps://open-energie.api.vwala.be
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
When true, also return figures rescaled to a full year (365 days), per energy type, so a partial- or multi-year bill can be compared against yearly market contracts.
Request body multipart/form-data
Response
Default Response
Changes
- info
added the required property
/////to the response with the status
- info
- breaking
added
subschema #1subschema #2to the response bodyoneOflist for the response status - info
removed
subschema #1subschema #2from the response bodyoneOflist for the response status
- breaking