advpl-matxfis

Community

Domine o cálculo fiscal sem queimar contexto.

AuthorJoniPraia
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you navigate Protheus MATXFIS fiscal routines by explaining where taxes, obligations, and SPED/ECF/REINF flows live and which entry points to use, reducing trial-and-error when implementing or debugging tax-related behavior.

Core Features & Use Cases

  • Fiscal panorama for obligations: covers NF-e/NFC-e/CT-e and integrations with SPED Fiscal, SPED Contribuições, ECF, EFD-Reinf, GIA and DAPI.
  • Table + routine mapping: points to the Protheus tables and typical flows (SF1/SF2/SD1/SD2/SF3/SF6/CDA/CDF, etc.) related to each fiscal step.
  • Safe integration guidance: emphasizes correct usage patterns for MaFisIni/MaFisRef/MaFisCalc/MaFisEnd, including the critical pairing to prevent “context leakage” bugs and incorrect ICMS/IPI results.
  • Entry points (PEs) and customization points: lists common PEs (e.g., M460FIM, MA440PGN, NFEXMLAUT, NFEXMLENV, NFEREJ, SPEDFIS) to locate implementations.

Use Case Example: when you need to understand how a specific fiscal computation or obligation is triggered for a document in the Protheus fiscal module, start with MATXFIS entry points and references, then trace where the PE is implemented using the project lookup commands.

Quick Start

Use the advpl-matxfis Skill when your question is about Protheus nota fiscal, SPED/ECF/REINF, or fiscal obligations, and ask it which MATXFIS entry point (PE) and tables apply to your scenario.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: advpl-matxfis
Download link: https://github.com/JoniPraia/plugadvpl/archive/main.zip#advpl-matxfis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.