Mx Get Supported Scope
mx__get_supported_scopeCheck supported CFDI document types, complementos, and sealing modes before generating, validating, sealing, or verifying invoices.
Instructions
Return the CFDI document types, complementos, and sealing modes this package supports.
Reflects Phase 1 scope: CFDI 4.0 Ingreso + Egreso + Complemento de Pagos
2.0, PAC-agnostic sealing. Build (mx__build_cfdi/mx__build_pago),
XSD validation (mx__validate_cfdi), sealing (mx__seal_cfdi), and TFD
verification (mx__verify_tfd) are all implemented. PAC submission
transport and later-phase complementos are not.
Returns:
A ScopeInfo describing current scope, for callers to check before
assuming a document type or complemento is supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phase | Yes | Package's own delivery-phase number | |
| out_of_scope | No | Capabilities deliberately not implemented yet | |
| sealing_modes | Yes | ||
| schema_version | Yes | Wire-format schema version this package targets | |
| supported_complementos | Yes | ||
| supported_document_types | No | Document-type codes supported today |