Skip to main content
GET
/
v1
/
catalogs
/
{catalog}
Retrieve a SAT catalog
curl --request GET \
  --url https://api.newinvoice.dev/v1/catalogs/{catalog}
import requests

url = "https://api.newinvoice.dev/v1/catalogs/{catalog}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.newinvoice.dev/v1/catalogs/{catalog}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.newinvoice.dev/v1/catalogs/{catalog}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.newinvoice.dev/v1/catalogs/{catalog}"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.newinvoice.dev/v1/catalogs/{catalog}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.newinvoice.dev/v1/catalogs/{catalog}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "object": "list",
  "url": "https://example.com/webhooks/invoice",
  "catalog": "uso_cfdi",
  "sat_catalog": "string",
  "name": "string",
  "data": [
    {
      "code": "string",
      "description": "string",
      "personas": [
        "fisica"
      ],
      "decimals": -9007199254740991
    }
  ],
  "has_more": true
}
{
"type": "https://errors.invoiceapi.mx/auth_unauthorized",
"title": "Authentication required",
"status": 401,
"code": "auth.unauthorized",
"detail": "Missing or invalid API key.",
"remediation": "Send `Authorization: Bearer sk_test_...` (or sk_live_...) with a valid API key.",
"doc_url": "/docs/errors#auth-unauthorized",
"request_id": "req_2P9K3sample"
}
{
"type": "https://errors.invoiceapi.mx/resource_not_found",
"title": "Resource not found",
"status": 404,
"code": "resource.not_found",
"detail": "No such id in this org + mode.",
"remediation": "Verify the id and that the key mode (test/live) matches the id.",
"doc_url": "/docs/errors#resource-not_found",
"request_id": "req_2P9K3sample"
}
{
"type": "https://errors.invoiceapi.mx/request_validation_failed",
"title": "Request validation failed",
"status": 422,
"code": "request.validation_failed",
"detail": "One or more fields did not satisfy the schema.",
"remediation": "Fix the fields listed in `errors` and resubmit.",
"doc_url": "/docs/errors#request-validation_failed",
"request_id": "req_2P9K3sample"
}
{
"type": "https://errors.invoiceapi.mx/internal_error",
"title": "Internal server error",
"status": 500,
"code": "internal.error",
"detail": "An unexpected error occurred.",
"remediation": "Retry later; contact support with the request_id if it persists.",
"doc_url": "/docs/errors#internal-error",
"request_id": "req_2P9K3sample"
}

Headers

Invoice-Version
string

Pin a dated API release (Stripe-style). Omit to use the current version. An unknown value returns 400 request.invalid_version. Echoed back on every response.

Example:

"2026-07-10"

Invoice-Account
string

Connect: act on behalf of one of your connected accounts (its acct_…/org_… id). Omit to act as your own organization. Not honored on /v1/api_keys.

Example:

"org_2P9connectedacct"

Path Parameters

catalog
string
required

Catalog slug, e.g. "payment_forms". GET /v1/catalogs lists every valid slug.

Minimum string length: 1

Query Parameters

persona
enum<string>

Filter to codes valid for this taxpayer type. Only affects uso_cfdi and tax_regimes; ignored for catalogs without a persona restriction.

Available options:
fisica,
moral

Response

Default Response

object
enum<string>
required

Always "list".

Available options:
list
catalog
enum<string>
required

The catalog slug returned.

Available options:
uso_cfdi,
payment_forms,
payment_methods,
tax_regimes,
invoice_types,
taxes,
tax_objects,
relation_types,
export_types,
periodicities,
currencies
sat_catalog
string
required

Official SAT catalog name, e.g. "c_FormaPago".

name
string
required

Human-readable catalog name.

data
object[]
required

Every entry in the catalog (or the persona subset).

has_more
boolean
required

Always false — catalogs are returned whole, not paginated.

url
string

The path this catalog was requested from.