{"id":20376525,"url":"https://github.com/blakepro/sat-rfc-siat","last_synced_at":"2026-05-09T18:44:10.997Z","repository":{"id":54988508,"uuid":"506506301","full_name":"BlakePro/sat-rfc-siat","owner":"BlakePro","description":"Extrae la información necesaria de una persona física o moral para utilizarlo en una factura 4.0 de acuerdo la cédula fiscal del SAT / SIAT","archived":false,"fork":false,"pushed_at":"2022-06-24T05:45:02.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T07:12:06.563Z","etag":null,"topics":["backend","cfdi-mexico","cfdi40","fron","javascript","nodejs","qrcode","sat","siat"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlakePro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-23T05:19:03.000Z","updated_at":"2022-06-24T05:46:29.000Z","dependencies_parsed_at":"2022-08-14T08:20:18.037Z","dependency_job_id":null,"html_url":"https://github.com/BlakePro/sat-rfc-siat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Fsat-rfc-siat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Fsat-rfc-siat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Fsat-rfc-siat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Fsat-rfc-siat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlakePro","download_url":"https://codeload.github.com/BlakePro/sat-rfc-siat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241928529,"owners_count":20043820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","cfdi-mexico","cfdi40","fron","javascript","nodejs","qrcode","sat","siat"],"created_at":"2024-11-15T01:38:18.606Z","updated_at":"2026-05-09T18:44:10.942Z","avatar_url":"https://github.com/BlakePro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cédula Fiscal SAT\n###### sat-rfc-siat\nExtrae la información necesaria de una persona física o moral para utilizarlo en una factura 4.0 de acuerdo la cédula fiscal del SAT / SIAT\n\n\u003e Puedes ejecutarlo directamente en:\n\u003e - Frontend\n\u003e - Backend (importa antes npm i node-fetch)\n\u003e - En la consola de tu navegador\n\n## ⚡️ Instalación (inicio rápido)\n  - Importa o copia directamente la función del archivo `siat.js`\n  - Llama la función asíncrona de siat\n```js\nnew Promise(async (resolve, reject) =\u003e {\n  let rfc = '' // Tu RFC\n  let id_cif = '' // TU ID de la constancia fiscal\n\n  // Llamar la función async para recibir datos de la constancia\n  let datos = await siat(rfc, id_cif)\n  console.log(datos)\n\n  // Recuperar distintos valores de json\n  let nombre_fiscal = datos?.nombre_fiscal\n  let cp = datos?.cp\n  let regimenes = datos?.regimenes\n  console.log({ nombre_fiscal, cp, regimenes })\n});\n```\n\n## ✨ Ejemplo de respuesta\n```json\n{\n    \"rfc\": \"\",\n    \"id_cif\": \"\",\n    \"nombre_fiscal\": \"\",\n    \"correo_electronico\": \"\",\n    \"regimenes\": [],\n    \"regimen_de_capital\": \"\",\n    \"fecha_de_constitucion\": \"\",\n    \"situacion_del_contribuyente\": \"\",\n    \"fecha_del_ultimo_cambio_de_situacion\": \"\",\n    \"entidad_federativa\": \"\",\n    \"municipio_o_delegacion\": \"\",\n    \"colonia\": \"\",\n    \"tipo_de_vialidad\": \"\",\n    \"nombre_de_la_vialidad\": \"\",\n    \"numero_exterior\": \"\",\n    \"numero_interior\": \"\",\n}\n```\n\n😍 Deja una ⭐ si piensas que fue útil\n\n👨‍💻 Hecho por [BlakePro (github)](https://github.com/BlakePro)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakepro%2Fsat-rfc-siat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblakepro%2Fsat-rfc-siat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakepro%2Fsat-rfc-siat/lists"}