Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.croma.run/llms.txt

Use this file to discover all available pages before exploring further.

Resolves Peruvian taxpayer (RUC) information from SUNAT, accepting either a DNI or a RUC document number. POST /pe/sunat/taxpayers/lookup/v1
FieldTypeNotes
document_numberstringRequired. 8-digit DNI or 11-digit RUC.
curl https://api.croma.run/pe/sunat/taxpayers/lookup/v1 \
  -H "Authorization: Bearer $CROMA_API_KEY" \
  -d '{ "document_number": "74849152" }'
Returns 404 (resource_not_found) when SUNAT has no taxpayer for the given document.

Full reference

Schemas, response fields, and an interactive playground.