{ "error": "Internal Server Error", "message": "An unexpected error occurred"}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Contafy","colors":{"primary":"#048c3c","light":"#048c3c","dark":"#048c3c"},"logo":{"light":"https://media.brand.dev/8cd742fa-76cb-4e86-8580-0ee4231354a2.svg","dark":"https://media.brand.dev/8cd742fa-76cb-4e86-8580-0ee4231354a2.svg"},"navbar":{"primary":{"type":"github","href":"https://github.com/pakomercado0517/tresa-contafy-web"}},"footer":{"socials":{"github":"https://github.com/pakomercado0517/tresa-contafy-web"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pakomercado0517-tresa-contafy-web-34","hasAudioNarration":false,"actualSubdomain":"pakomercado0517-tresa-contafy-web-34","customDomains":["docs.contafy.com.mx"],"gitSource":{"type":"github","owner":"pakomercado0517","repo":"docs","deployBranch":"dev","isPrivate":false,"contentDirectory":"","mountPath":"","label":""},"entitlements":{},"buildId":"6ae949758906c471c582f188:success","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":27},{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"Development","count":7},{"language":"default","tag":"Authentication","count":6},{"language":"default","tag":"Invoices","count":6},{"language":"default","tag":"Core Features","count":6},{"language":"default","tag":"User Guide","count":6},{"language":"default","tag":"Expenses","count":4},{"language":"default","tag":"Profiles","count":4},{"language":"default","tag":"Subscription","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api/invoices/get-invoice","slug":"/api/invoices/get-invoice","pageMetadata":{"title":"Get Invoice","api":"GET /api/invoices/{id}","description":"Retrieve a single invoice by its ID","href":"/api/invoices/get-invoice","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve a single invoice by its ID\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsx(_components.p,{children:`This endpoint requires authentication. Include your access token in the Authorization header.`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Authorization: Bearer YOUR_ACCESS_TOKEN`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The unique identifier of the invoice to retrieve`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsx(_components.p,{children:`Unique identifier for the invoice`})}),`\n`,_jsx(ResponseField,{name:`profile_id`,type:`string`,id:`param-profile-id`,children:_jsx(_components.p,{children:`Profile ID this invoice belongs to`})}),`\n`,_jsx(ResponseField,{name:`uuid`,type:`string`,id:`param-uuid`,children:_jsx(_components.p,{children:`CFDI UUID (Folio Fiscal)`})}),`\n`,_jsx(ResponseField,{name:`fecha`,type:`string`,id:`param-fecha`,children:_jsx(_components.p,{children:`Invoice date in ISO format`})}),`\n`,_jsx(ResponseField,{name:`mes`,type:`number`,id:`param-mes`,children:_jsx(_components.p,{children:`Month extracted from invoice date (1-12)`})}),`\n`,_jsx(ResponseField,{name:`año`,type:`number`,id:`param-ano`,children:_jsx(_components.p,{children:`Year extracted from invoice date`})}),`\n`,_jsx(ResponseField,{name:`total`,type:`number`,id:`param-total`,children:_jsx(_components.p,{children:`Total amount of the invoice`})}),`\n`,_jsx(ResponseField,{name:`subtotal`,type:`number`,id:`param-subtotal`,children:_jsx(_components.p,{children:`Subtotal before taxes`})}),`\n`,_jsx(ResponseField,{name:`iva`,type:`number`,id:`param-iva`,children:_jsx(_components.p,{children:`IVA percentage rate`})}),`\n`,_jsx(ResponseField,{name:`iva_amount`,type:`number`,optional:true,id:`param-iva-amount`,children:_jsx(_components.p,{children:`IVA transferred amount (impuesto trasladado)`})}),`\n`,_jsx(ResponseField,{name:`retencion_iva_amount`,type:`number`,optional:true,id:`param-retencion-iva-amount`,children:_jsx(_components.p,{children:`IVA withholding amount`})}),`\n`,_jsx(ResponseField,{name:`retencion_isr_amount`,type:`number`,optional:true,id:`param-retencion-isr-amount`,children:_jsx(_components.p,{children:`ISR withholding amount`})}),`\n`,_jsx(ResponseField,{name:`tipo`,type:`enum`,id:`param-tipo`,children:_jsxs(_components.p,{children:[`Payment type: `,_jsx(_components.code,{children:`PUE`}),` (payment in one exhibit), `,_jsx(_components.code,{children:`PPD`}),` (payment in installments), or `,_jsx(_components.code,{children:`COMPLEMENTO_PAGO`}),` (payment complement)`]})}),`\n`,_jsx(ResponseField,{name:`rfc_emisor`,type:`string`,id:`param-rfc-emisor`,children:_jsx(_components.p,{children:`RFC of the issuer`})}),`\n`,_jsx(ResponseField,{name:`nombre_emisor`,type:`string`,id:`param-nombre-emisor`,children:_jsx(_components.p,{children:`Name of the issuer`})}),`\n`,_jsx(ResponseField,{name:`regimen_fiscal_emisor`,type:`string`,optional:true,id:`param-regimen-fiscal-emisor`,children:_jsx(_components.p,{children:`Tax regime code of the issuer`})}),`\n`,_jsx(ResponseField,{name:`rfc_receptor`,type:`string`,id:`param-rfc-receptor`,children:_jsx(_components.p,{children:`RFC of the recipient`})}),`\n`,_jsx(ResponseField,{name:`nombre_receptor`,type:`string`,id:`param-nombre-receptor`,children:_jsx(_components.p,{children:`Name of the recipient`})}),`\n`,_jsx(ResponseField,{name:`regimen_fiscal_receptor`,type:`string`,optional:true,id:`param-regimen-fiscal-receptor`,children:_jsx(_components.p,{children:`Tax regime code of the recipient`})}),`\n`,_jsx(ResponseField,{name:`concepto`,type:`string`,optional:true,id:`param-concepto`,children:_jsx(_components.p,{children:`Invoice concept or description`})}),`\n`,_jsxs(ResponseField,{name:`pagos`,type:`array`,id:`param-pagos`,children:[_jsx(_components.p,{children:`Array of payment records`}),_jsxs(Expandable,{title:`Pago`,children:[_jsx(ResponseField,{name:`fechaPago`,type:`string`,id:`param-fecha-pago`,children:_jsx(_components.p,{children:`Payment date in ISO format`})}),_jsx(ResponseField,{name:`formaPago`,type:`string`,id:`param-forma-pago`,children:_jsx(_components.p,{children:`Payment method code`})}),_jsx(ResponseField,{name:`monedaPago`,type:`string`,id:`param-moneda-pago`,children:_jsx(_components.p,{children:`Payment currency code`})}),_jsx(ResponseField,{name:`monto`,type:`number`,id:`param-monto`,children:_jsx(_components.p,{children:`Payment amount`})}),_jsx(ResponseField,{name:`numOperacion`,type:`string`,optional:true,id:`param-num-operacion`,children:_jsx(_components.p,{children:`Operation or transaction number`})})]})]}),`\n`,_jsxs(ResponseField,{name:`complemento_pago`,type:`object`,optional:true,id:`param-complemento-pago`,children:[_jsx(_components.p,{children:`Payment complement information (for COMPLEMENTO_PAGO type)`}),_jsxs(Expandable,{title:`ComplementoPago`,children:[_jsx(ResponseField,{name:`fechaPago`,type:`string`,id:`param-fecha-pago-1`,children:_jsx(_components.p,{children:`Payment date`})}),_jsx(ResponseField,{name:`formaPago`,type:`string`,id:`param-forma-pago-1`,children:_jsx(_components.p,{children:`Payment method`})}),_jsx(ResponseField,{name:`monedaPago`,type:`string`,id:`param-moneda-pago-1`,children:_jsx(_components.p,{children:`Payment currency`})}),_jsx(ResponseField,{name:`tipoCambio`,type:`number`,id:`param-tipo-cambio`,children:_jsx(_components.p,{children:`Exchange rate`})}),_jsx(ResponseField,{name:`monto`,type:`number`,id:`param-monto-1`,children:_jsx(_components.p,{children:`Payment amount`})}),_jsx(ResponseField,{name:`numOperacion`,type:`string`,optional:true,id:`param-num-operacion-1`,children:_jsx(_components.p,{children:`Operation number`})}),_jsxs(ResponseField,{name:`facturasRelacionadas`,type:`array`,id:`param-facturas-relacionadas`,children:[_jsx(_components.p,{children:`Related invoices being paid`}),_jsxs(Expandable,{title:`FacturaRelacionada`,children:[_jsx(ResponseField,{name:`uuid`,type:`string`,id:`param-uuid-1`,children:_jsx(_components.p,{children:`UUID of related invoice`})}),_jsx(ResponseField,{name:`monedaDR`,type:`string`,id:`param-moneda-dr`,children:_jsx(_components.p,{children:`Currency code`})}),_jsx(ResponseField,{name:`tipoCambioDR`,type:`number`,id:`param-tipo-cambio-dr`,children:_jsx(_components.p,{children:`Exchange rate`})}),_jsx(ResponseField,{name:`metodoPagoDR`,type:`string`,id:`param-metodo-pago-dr`,children:_jsx(_components.p,{children:`Payment method`})}),_jsx(ResponseField,{name:`numParcialidad`,type:`number`,id:`param-num-parcialidad`,children:_jsx(_components.p,{children:`Installment number`})}),_jsx(ResponseField,{name:`impSaldoAnt`,type:`number`,id:`param-imp-saldo-ant`,children:_jsx(_components.p,{children:`Previous balance`})}),_jsx(ResponseField,{name:`impPagado`,type:`number`,id:`param-imp-pagado`,children:_jsx(_components.p,{children:`Amount paid`})}),_jsx(ResponseField,{name:`impSaldoInsoluto`,type:`number`,id:`param-imp-saldo-insoluto`,children:_jsx(_components.p,{children:`Outstanding balance`})})]})]})]})]}),`\n`,_jsxs(ResponseField,{name:`validacion`,type:`object`,id:`param-validacion`,children:[_jsx(_components.p,{children:`Validation results`}),_jsxs(Expandable,{title:`Validacion`,children:[_jsx(ResponseField,{name:`rfcVerificado`,type:`boolean`,id:`param-rfc-verificado`,children:_jsx(_components.p,{children:`Whether RFC was verified`})}),_jsx(ResponseField,{name:`regimenFiscalVerificado`,type:`boolean`,id:`param-regimen-fiscal-verificado`,children:_jsx(_components.p,{children:`Whether tax regime was verified`})}),_jsx(ResponseField,{name:`uuidDuplicado`,type:`boolean`,id:`param-uuid-duplicado`,children:_jsx(_components.p,{children:`Whether UUID is duplicated`})}),_jsx(ResponseField,{name:`advertencias`,type:`string[]`,id:`param-advertencias`,children:_jsx(_components.p,{children:`Array of warning messages`})}),_jsx(ResponseField,{name:`errores`,type:`string[]`,id:`param-errores`,children:_jsx(_components.p,{children:`Array of error messages`})}),_jsx(ResponseField,{name:`valido`,type:`boolean`,id:`param-valido`,children:_jsx(_components.p,{children:`Overall validation status`})})]})]}),`\n`,_jsxs(ResponseField,{name:`estadoPago`,type:`object`,optional:true,id:`param-estado-pago`,children:[_jsx(_components.p,{children:`Payment status details`}),_jsxs(Expandable,{title:`EstadoPago`,children:[_jsx(ResponseField,{name:`estado`,type:`enum`,id:`param-estado`,children:_jsxs(_components.p,{children:[`Payment state: `,_jsx(_components.code,{children:`PAGADO`}),`, `,_jsx(_components.code,{children:`PAGO_PARCIAL`}),`, or `,_jsx(_components.code,{children:`NO_PAGADO`})]})}),_jsx(ResponseField,{name:`totalFactura`,type:`number`,id:`param-total-factura`,children:_jsx(_components.p,{children:`Total invoice amount`})}),_jsx(ResponseField,{name:`totalPagado`,type:`number`,id:`param-total-pagado`,children:_jsx(_components.p,{children:`Total amount paid`})}),_jsx(ResponseField,{name:`saldoPendiente`,type:`number`,id:`param-saldo-pendiente`,children:_jsx(_components.p,{children:`Pending balance`})}),_jsx(ResponseField,{name:`porcentajePagado`,type:`number`,id:`param-porcentaje-pagado`,children:_jsx(_components.p,{children:`Percentage paid (0-100)`})}),_jsx(ResponseField,{name:`completamentePagado`,type:`boolean`,id:`param-completamente-pagado`,children:_jsx(_components.p,{children:`Whether fully paid`})}),_jsx(ResponseField,{name:`ultimoSaldoInsoluto`,type:`number`,optional:true,id:`param-ultimo-saldo-insoluto`,children:_jsx(_components.p,{children:`Last outstanding balance from payment complement`})}),_jsx(ResponseField,{name:`tieneComplementos`,type:`boolean`,id:`param-tiene-complementos`,children:_jsx(_components.p,{children:`Whether has payment complements`})}),_jsx(ResponseField,{name:`tienePagosManuales`,type:`boolean`,id:`param-tiene-pagos-manuales`,children:_jsx(_components.p,{children:`Whether has manual payments`})})]})]}),`\n`,_jsxs(ResponseField,{name:`profile`,type:`object`,optional:true,id:`param-profile`,children:[_jsx(_components.p,{children:`Profile information`}),_jsxs(Expandable,{title:`Profile`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:_jsx(_components.p,{children:`Profile ID`})}),_jsx(ResponseField,{name:`nombre`,type:`string`,id:`param-nombre`,children:_jsx(_components.p,{children:`Profile name`})}),_jsx(ResponseField,{name:`rfc`,type:`string`,id:`param-rfc`,children:_jsx(_components.p,{children:`Profile RFC`})})]})]}),`\n`,_jsx(ResponseField,{name:`created_at`,type:`string`,id:`param-created-at`,children:_jsx(_components.p,{children:`Creation timestamp in ISO format`})}),`\n`,_jsx(ResponseField,{name:`updated_at`,type:`string`,id:`param-updated-at`,children:_jsx(_components.p,{children:`Last update timestamp in ISO format`})}),`\n`,_jsx(Heading,{level:`2`,id:`example-request`,children:`Example Request`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.contafy.com/api/invoices/inv_abc123\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_ACCESS_TOKEN\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`example-response`,children:`Example Response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`48`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`48`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"inv_abc123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"profile_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"prof_123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"uuid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"12345678-90AB-CDEF-1234-567890ABCDEF\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fecha\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-15T10:30:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"año\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`11600.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subtotal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10000.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"iva\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`16`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"iva_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1600.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tipo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PUE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rfc_emisor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"XAXX010101000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nombre_emisor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Empresa Ejemplo SA de CV\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"regimen_fiscal_emisor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"601\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rfc_receptor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BAXX010101000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nombre_receptor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cliente Ejemplo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"regimen_fiscal_receptor\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"612\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"concepto\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Servicios de consultoría\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pagos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"complemento_pago\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"validacion\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rfcVerificado\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"regimenFiscalVerificado\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"uuidDuplicado\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"advertencias\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"errores\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"valido\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"estadoPago\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"estado\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"PAGADO\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalFactura\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`11600.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPagado\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`11600.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"saldoPendiente\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"porcentajePagado\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"completamentePagado\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ultimoSaldoInsoluto\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tieneComplementos\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tienePagosManuales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"profile\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"prof_123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nombre\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Mi Empresa\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rfc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BAXX010101000\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-15T10:35:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-03-15T10:35:00Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsx(ResponseField,{name:`401 Unauthorized`,id:`param-401-unauthorized`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Unauthorized\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invalid or missing access token\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(ResponseField,{name:`404 Not Found`,id:`param-404-not-found`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Not Found\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Invoice not found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(ResponseField,{name:`403 Forbidden`,id:`param-403-forbidden`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Forbidden\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You do not have permission to access this invoice\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(ResponseField,{name:`500 Internal Server Error`,id:`param-500-internal-server-error`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Internal Server Error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"An unexpected error occurred\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get Invoice","api":"GET /api/invoices/{id}","description":"Retrieve a single invoice by its ID","href":"/api/invoices/get-invoice","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Path Parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Example Request","slug":"example-request","depth":2,"children":[]},{"title":"Example Response","slug":"example-response","depth":2,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Get Invoice","path":"/api/invoices/{id}","method":"get","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"string","description":"The unique identifier of the invoice to retrieve","required":true}]}}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"id":[{"type":"string","description":"Unique identifier for the invoice"}],"profile_id":[{"type":"string","description":"Profile ID this invoice belongs to"}],"uuid":[{"type":"string","description":"CFDI UUID (Folio Fiscal)"}],"fecha":[{"type":"string","description":"Invoice date in ISO format"}],"mes":[{"type":"number","description":"Month extracted from invoice date (1-12)"}],"año":[{"type":"number","description":"Year extracted from invoice date"}],"total":[{"type":"number","description":"Total amount of the invoice"}],"subtotal":[{"type":"number","description":"Subtotal before taxes"}],"iva":[{"type":"number","description":"IVA percentage rate"}],"iva_amount":[{"type":"number","description":"IVA transferred amount (impuesto trasladado)"}],"retencion_iva_amount":[{"type":"number","description":"IVA withholding amount"}],"retencion_isr_amount":[{"type":"number","description":"ISR withholding amount"}],"tipo":[{"type":"object","properties":{},"description":"Payment type: `PUE` (payment in one exhibit), `PPD` (payment in installments), or `COMPLEMENTO_PAGO` (payment complement)"}],"rfc_emisor":[{"type":"string","description":"RFC of the issuer"}],"nombre_emisor":[{"type":"string","description":"Name of the issuer"}],"regimen_fiscal_emisor":[{"type":"string","description":"Tax regime code of the issuer"}],"rfc_receptor":[{"type":"string","description":"RFC of the recipient"}],"nombre_receptor":[{"type":"string","description":"Name of the recipient"}],"regimen_fiscal_receptor":[{"type":"string","description":"Tax regime code of the recipient"}],"concepto":[{"type":"string","description":"Invoice concept or description"}],"pagos":[{"type":"array","items":[{"type":"object","properties":{"fechaPago":[{"type":"string","description":"Payment date in ISO format"}],"formaPago":[{"type":"string","description":"Payment method code"}],"monedaPago":[{"type":"string","description":"Payment currency code"}],"monto":[{"type":"number","description":"Payment amount"}],"numOperacion":[{"type":"string","description":"Operation or transaction number"}]}}],"description":"Array of payment records"}],"complemento_pago":[{"type":"object","properties":{"fechaPago":[{"type":"string","description":"Payment date"}],"formaPago":[{"type":"string","description":"Payment method"}],"monedaPago":[{"type":"string","description":"Payment currency"}],"tipoCambio":[{"type":"number","description":"Exchange rate"}],"monto":[{"type":"number","description":"Payment amount"}],"numOperacion":[{"type":"string","description":"Operation number"}],"facturasRelacionadas":[{"type":"array","items":[{"type":"object","properties":{"uuid":[{"type":"string","description":"UUID of related invoice"}],"monedaDR":[{"type":"string","description":"Currency code"}],"tipoCambioDR":[{"type":"number","description":"Exchange rate"}],"metodoPagoDR":[{"type":"string","description":"Payment method"}],"numParcialidad":[{"type":"number","description":"Installment number"}],"impSaldoAnt":[{"type":"number","description":"Previous balance"}],"impPagado":[{"type":"number","description":"Amount paid"}],"impSaldoInsoluto":[{"type":"number","description":"Outstanding balance"}]}}],"description":"Related invoices being paid"}]},"description":"Payment complement information (for COMPLEMENTO_PAGO type)"}],"validacion":[{"type":"object","properties":{"rfcVerificado":[{"type":"boolean","description":"Whether RFC was verified"}],"regimenFiscalVerificado":[{"type":"boolean","description":"Whether tax regime was verified"}],"uuidDuplicado":[{"type":"boolean","description":"Whether UUID is duplicated"}],"advertencias":[{"type":"array","items":[{"type":"string"}],"description":"Array of warning messages"}],"errores":[{"type":"array","items":[{"type":"string"}],"description":"Array of error messages"}],"valido":[{"type":"boolean","description":"Overall validation status"}]},"description":"Validation results"}],"estadoPago":[{"type":"object","properties":{"estado":[{"type":"object","properties":{},"description":"Payment state: `PAGADO` , `PAGO_PARCIAL` , or `NO_PAGADO`"}],"totalFactura":[{"type":"number","description":"Total invoice amount"}],"totalPagado":[{"type":"number","description":"Total amount paid"}],"saldoPendiente":[{"type":"number","description":"Pending balance"}],"porcentajePagado":[{"type":"number","description":"Percentage paid (0-100)"}],"completamentePagado":[{"type":"boolean","description":"Whether fully paid"}],"ultimoSaldoInsoluto":[{"type":"number","description":"Last outstanding balance from payment complement"}],"tieneComplementos":[{"type":"boolean","description":"Whether has payment complements"}],"tienePagosManuales":[{"type":"boolean","description":"Whether has manual payments"}]},"description":"Payment status details"}],"profile":[{"type":"object","properties":{"id":[{"type":"string","description":"Profile ID"}],"nombre":[{"type":"string","description":"Profile name"}],"rfc":[{"type":"string","description":"Profile RFC"}]},"description":"Profile information"}],"created_at":[{"type":"string","description":"Creation timestamp in ISO format"}],"updated_at":[{"type":"string","description":"Last update timestamp in ISO format"}]}}],"examples":{"example":{"value":{"id":"\u003cstring>","profile_id":"\u003cstring>","uuid":"\u003cstring>","fecha":"\u003cstring>","mes":123,"año":123,"total":123,"subtotal":123,"iva":123,"iva_amount":123,"retencion_iva_amount":123,"retencion_isr_amount":123,"tipo":{},"rfc_emisor":"\u003cstring>","nombre_emisor":"\u003cstring>","regimen_fiscal_emisor":"\u003cstring>","rfc_receptor":"\u003cstring>","nombre_receptor":"\u003cstring>","regimen_fiscal_receptor":"\u003cstring>","concepto":"\u003cstring>","pagos":[{"fechaPago":"\u003cstring>","formaPago":"\u003cstring>","monedaPago":"\u003cstring>","monto":123,"numOperacion":"\u003cstring>"}],"complemento_pago":{"fechaPago":"\u003cstring>","formaPago":"\u003cstring>","monedaPago":"\u003cstring>","tipoCambio":123,"monto":123,"numOperacion":"\u003cstring>","facturasRelacionadas":[{"uuid":"\u003cstring>","monedaDR":"\u003cstring>","tipoCambioDR":123,"metodoPagoDR":"\u003cstring>","numParcialidad":123,"impSaldoAnt":123,"impPagado":123,"impSaldoInsoluto":123}]},"validacion":{"rfcVerificado":true,"regimenFiscalVerificado":true,"uuidDuplicado":true,"advertencias":["\u003cstring>"],"errores":["\u003cstring>"],"valido":true},"estadoPago":{"estado":{},"totalFactura":123,"totalPagado":123,"saldoPendiente":123,"porcentajePagado":123,"completamentePagado":true,"ultimoSaldoInsoluto":123,"tieneComplementos":true,"tienePagosManuales":true},"profile":{"id":"\u003cstring>","nombre":"\u003cstring>","rfc":"\u003cstring>"},"created_at":"\u003cstring>","updated_at":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"pakomercado0517-tresa-contafy-web-34","siteName":"Contafy","title":"Get Invoice - Contafy","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-06T18:21:21.358Z","originalFileLocation":"api/invoices/get-invoice.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve a single invoice by its ID\">\u003cmeta data-mint-head name=\"application-name\" content=\"Contafy\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/pakomercado0517-tresa-contafy-web-34/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/pakomercado0517-tresa-contafy-web-34/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/pakomercado0517-tresa-contafy-web-34/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/pakomercado0517-tresa-contafy-web-34/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Invoice - Contafy\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a single invoice by its ID\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Contafy\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.contafy.com.mx/api/invoices/get-invoice\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pakomercado0517-tresa-contafy-web-34.mintlify.site/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Get+Invoice\u0026amp;description=Retrieve+a+single+invoice+by+its+ID\u0026amp;theme=ea77b43f2b4e91caaf8f9ce8\u0026amp;signature=796c225f5245b35dc95f1f5c806dd5d886e0b21649f38319cd750a8fb173873d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get Invoice - Contafy\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a single invoice by its ID\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pakomercado0517-tresa-contafy-web-34.mintlify.site/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Get+Invoice\u0026amp;description=Retrieve+a+single+invoice+by+its+ID\u0026amp;theme=ea77b43f2b4e91caaf8f9ce8\u0026amp;signature=796c225f5245b35dc95f1f5c806dd5d886e0b21649f38319cd750a8fb173873d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/pakomercado0517-tresa-contafy-web-34/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Contafy\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#048c3c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.contafy.com.mx/api/invoices/get-invoice\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/invoices/get-invoice.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.contafy.com.mx/#organization\",\"name\":\"Contafy\",\"url\":\"https://docs.contafy.com.mx\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://media.brand.dev/8cd742fa-76cb-4e86-8580-0ee4231354a2.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.contafy.com.mx#website\",\"name\":\"Contafy\",\"url\":\"https://docs.contafy.com.mx\",\"publisher\":{\"@id\":\"https://docs.contafy.com.mx/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.contafy.com.mx/api/invoices/get-invoice#webpage\",\"url\":\"https://docs.contafy.com.mx/api/invoices/get-invoice\",\"name\":\"Get Invoice\",\"description\":\"Retrieve a single invoice by its ID\",\"dateModified\":\"2026-03-06T18:21:21.358Z\",\"isPartOf\":{\"@id\":\"https://docs.contafy.com.mx#website\"},\"breadcrumb\":{\"@id\":\"https://docs.contafy.com.mx/api/invoices/get-invoice#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.contafy.com.mx/api/invoices/get-invoice#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Invoices\",\"item\":\"https://docs.contafy.com.mx/api/invoices/list-invoices\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Invoice\",\"item\":\"https://docs.contafy.com.mx/api/invoices/get-invoice\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.contafy.com.mx/api/invoices/get-invoice#apireference\",\"headline\":\"Get Invoice\",\"name\":\"Get Invoice\",\"description\":\"Retrieve a single invoice by its ID\",\"url\":\"https://docs.contafy.com.mx/api/invoices/get-invoice\",\"mainEntityOfPage\":{\"@id\":\"https://docs.contafy.com.mx/api/invoices/get-invoice#webpage\"},\"dateModified\":\"2026-03-06T18:21:21.358Z\",\"publisher\":{\"@id\":\"https://docs.contafy.com.mx/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.contafy.com.mx#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Contafy\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Contafy\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/invoices/get-invoice.md","siteName":"Contafy","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Authentication","pages":[{"title":"Register","api":"POST /api/auth/register","href":"/api/auth/register"},{"title":"Login","api":"POST /api/auth/login","href":"/api/auth/login"},{"title":"Refresh Token","api":"POST /api/auth/refresh","href":"/api/auth/refresh-token"},{"title":"Verify Email","api":"POST /api/auth/verify-email","href":"/api/auth/verify-email"},{"title":"Forgot Password","api":"POST /api/auth/forgot-password","href":"/api/auth/forgot-password"},{"title":"Reset Password","api":"POST /api/auth/reset-password","href":"/api/auth/reset-password"}]},{"group":"Profiles","pages":[{"title":"List Profiles","api":"GET /api/profiles","href":"/api/profiles/list-profiles"},{"title":"Create Profile","api":"POST /api/profiles","href":"/api/profiles/create-profile"},{"title":"Update Profile","api":"PUT /api/profiles/{profileId}","href":"/api/profiles/update-profile"},{"title":"Delete Profile","api":"DELETE /api/profiles/{profileId}","href":"/api/profiles/delete-profile"}]},{"group":"Invoices","pages":[{"title":"List Invoices","api":"GET /api/invoices","href":"/api/invoices/list-invoices"},{"title":"Upload Invoice","api":"POST /api/invoices/upload","description":"Upload a CFDI XML invoice file","href":"/api/invoices/upload-invoice"},{"title":"Get Invoice","api":"GET /api/invoices/{id}","href":"/api/invoices/get-invoice"},{"title":"Delete Invoice","api":"DELETE /api/invoices/{id}","description":"Delete an invoice by its ID","href":"/api/invoices/delete-invoice"},{"title":"Get Metrics","api":"GET /api/metrics","href":"/api/invoices/get-metrics"},{"title":"Get Trend Data","api":"GET /api/trends","href":"/api/invoices/get-trend-data"}]},{"group":"Expenses","pages":[{"title":"List Expenses","href":"/api/expenses/list-expenses"},{"title":"Create Expense","href":"/api/expenses/create-expense"},{"title":"Update Expense","href":"/api/expenses/update-expense"},{"title":"Delete Expense","href":"/api/expenses/delete-expense"}]},{"group":"Subscription","pages":[{"title":"Get Subscription","href":"/api/subscription/get-subscription"},{"title":"Get Plans","href":"/api/subscription/get-plans"},{"title":"Create Checkout Session","href":"/api/subscription/create-checkout"},{"title":"Create Portal Session","href":"/api/subscription/create-portal-session"}]},{"group":"SAT Search","pages":[{"title":"Search SAT Products","href":"/api/sat/search"},{"title":"Get SAT Product Details","href":"/api/sat/get-details"},{"title":"Get Fiscal Regimes","href":"/api/sat/validate-rfc"}]}]},{"tab":"Development","pages":[{"title":"Development","href":"/development/architecture"}]}]},"basePath":"","title":"Get Invoice - Contafy","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js"]}