Generate Factur-X Invoices with SolidJS
Learn how to easily integrate GoFX into your SolidJS stack.
Dealing with complex XML generation in SolidJS can be extremely tedious. GoFX abstracts all the EN16931 complexity away. Send a simple JSON payload and get a perfectly compliant hybrid PDF back in milliseconds.
Ecosystem Focus
Integrating Factur-X / EN16931 within the SolidJS ecosystem is now seamless. Avoid building complex XML DOMs manually and let GoFX handle the heavy lifting. Generate hybrid PDF/A-3 invoices directly via our REST API.
Prerequisites
Ensure you have Solid 1.0+ / Fetch configured in your environment to make outbound HTTP POST requests to the GoFX API.
> Code Example
const response = await fetch("https://api.gofx.app/v1/invoice/generate", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(payload)
});
const blob = await response.blob();
// Handle blob (e.g. download or display in browser)