nfephp-org/sped-gtin
Valide GTINs (EAN-8/12/13/14) para NFe/NFCe layout 4.00 conforme NT 2021.003: verifica estrutura, prefixo 789/790, região e dígito verificador, ajudando a evitar rejeições da SEFAZ por código inválido.
789, 790).*"This package is a compliance safeguard for our Brazilian operations. Since September 2021, the SEFAZ tax authority has mandated GTIN validation for all NFe/NFCe invoices—rejections can halt sales, trigger fines, and damage supplier relationships. By integrating this tool, we:
Ask: Approve a 1-sprint integration into our product onboarding/validation workflows. ROI: Zero cost, immediate compliance, and long-term supplier trust."*
*"Why Use This Package:
789/790, check digits, length) out of the box.use NFePHP\Gtin\Gtin;
if (Gtin::check($gtin)->isValid()) { /* Proceed */ }
Trade-offs:
Recommendation:
SEM GTIN, invalid prefixes) in QA.Effort Estimate: 2–3 dev days for core integration."*
How can I help you explore Laravel packages today?