Facta API

Facta API and TypeScript SDK

Integrate electronic invoicing while Facta keeps fiscal rules and Hacienda transmission on the server.

Choose an integration

Official client

TypeScript / JavaScript

pnpm add @facta/api

Typed client with retries, errors, downloads and the complete documented method surface.

Direct HTTP

Python

Python 3 + urllib.request

Use the public API directly without an official Facta library.

Direct HTTP

PHP

PHP + cURL extension

Use the public API directly without an official Facta library.

Direct HTTP

C#

.NET HttpClient

Use the public API directly without an official Facta library.

Direct HTTP

Java

JDK java.net.http

Use the public API directly without an official Facta library.

Direct HTTP

Go

Go net/http

Use the public API directly without an official Facta library.

API base URL

https://hcnvknpsbadplnfcflxx.supabase.co/functions/v1/api-v1

Use a facta_test_ key and test certificate for testing, or a facta_live_ key for real documents. The app and documentation websites are separate from the API.