Repository navigation
Conversation
Las sugerencias de una respuesta de WSFE salen de una tabla (arca-rejections.ts): código o mensaje -> qué pasó, qué hacer y el link a troubleshooting. Ahora también se leen los códigos de las observaciones, no solo de los errores. Cada código tiene su fila en docs/troubleshooting.md y un test lo verifica. La forma del JSON no cambia. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué cambia
Cuando ARCA rechaza o deja una observación,
sugerencias(y el panel de la salida humana) ahora dice qué pasó, qué hacer y el link a la guía, para los códigos más comunes:10005/11002100161015210243101741011910038--misma-moneda, la cotización ya no es la oficial exacta10017/10217Siguen reconociéndose por el mensaje los que no traen código: receptor igual al emisor (nuevo),
Transacción Activa, CUIT receptor inexistente y detalle de IVA obligatorio. Si no hay coincidencia y el comprobante fue rechazado, sigue la sugerencia genérica de antes.src/modules/billing/arca-rejections.ts, en el mismo estilo quearca-codes.tsycurrency-codes.ts. Reemplaza losifsueltos debilling-response.ts.Errors; ahora también los deObservaciones, que es donde ARCA suele mandar el motivo de un rechazo de un comprobante.Los códigos y textos salen de lo que ya documentan
validation-rules.md,troubleshooting.mdylimitations.md; no se agregó ninguno que no estuviera en el repo. WSFEX (export.response.ts) ya tiene sus propias sugerencias y quedó igual.Por qué
REV-26 del backlog:
billing-response.tsreconocía pocos patrones, y ante un rechazo la sugerencia solía ser "revisá observaciones y errores".Contrato público
--json.sugerenciassigue siendo un array de textos; cambian y se suman textos, que no son contrato.CHANGELOG.md(si rompe compatibilidad, explicá por qué hace falta)Checklist
arca-rejections.test.ts: tabla vs. docs, links, códigos de observaciones, observación de padrón en un aprobado, fallback)troubleshooting)CHANGELOG.mdsi le afecta a quien usa el CLIyarn typecheck,yarn lintyyarn testpasan (1095 tests)--brutoen el código, los tests o las capturas🤖 Generated with Claude Code