nigerian-fintech-compliance-architect

Implements Nigerian tax computation, FIRS e-invoicing, and identity validation for fintech products.

1|Updated Sep 3, 2026
One-click install
npx skills add https://github.com/sabiscore/the-yap-engine --skill nigerian-fintech-compliance-architect-sabiscore
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nigerian-fintech-compliance-architect
Source: https://github.com/sabiscore/the-yap-engine/tree/main/.ai/skills/nigerian-fintech-compliance-architect
Command: npx skills add https://github.com/sabiscore/the-yap-engine --skill nigerian-fintech-compliance-architect-sabiscore

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building fintech products for Nigeria requires jurisdiction-specific tax rules, FIRS e-invoicing integration, and identity validation that generic fintech patterns cannot handle. This Skill provides Finance Act–versioned computation kernels and integration patterns so VAT, CIT, WHT, BVN/NIN validation, and NDPR data handling are implemented correctly the first time. ## Core Features & Use Cases - Tax Computation Kernel: Pure, testable TypeScript functions for VAT (7.5% standard, zero-rated, exempt), WHT across six categories, and VAT return netting with input VAT credit carry-forward. - FIRS e-Invoice Integration: Effect-based API service for TaxPro-Max IRN generation with HMAC-SHA256 payload signing, exponential backoff retries, and 6-year audit trail support. - Identity & Locale Tooling: Validators for TIN, BVN, NIN, CAC numbers, and Nigerian phone numbers, plus Naira currency formatting and Lagos Pidgin (pcm) as a first-class i18n locale. - Use Case: When adding a VAT return feature to a TaxBridge product, use this Skill to compute output/input VAT, validate the customer's TIN and CAC number, submit the e-invoice to FIRS, and render all user-facing strings in both English and Lagos Pidgin. ## Quick Start Use the nigerian-fintech-compliance-architect skill to implement VAT computation and FIRS e-invoice submission for my TaxBridge invoice feature.

Frequently Asked Questions about nigerian-fintech-compliance-architect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compute VAT and WHT for Nigerian fintech products?▼

Use pure kernel functions like computeVAT and computeWHT with explicit rate codes rather than inline arithmetic. VAT is 7.5% standard with zero-rated and exempt codes, while WHT rates vary by category such as 10% for rent and 5% for resident professional fees.

How to integrate FIRS e-invoicing API in TypeScript?▼

Submit invoices to the FIRS TaxPro-Max endpoint with an HMAC-SHA256 signed payload, Bearer API key, and X-TIN header. Use exponential backoff retries since the FIRS API is often slow, and store the returned IRN and QR code for the 6-year audit retention requirement.

What regex validates BVN, NIN, TIN, and CAC numbers in Nigeria?▼

BVN, NIN, and TIN are each exactly 11 digits, validated with /^\d{11}$/ after stripping whitespace. CAC registration numbers start with RC, BN, or IT followed by 5 to 7 digits, such as RC123456.

Does this approach support Lagos Pidgin localization?▼

Yes, Lagos Pidgin (pcm) is treated as a co-equal locale alongside English, with a type-safe translation hook and fallback to English keys. Every user-facing message must have both en and pcm strings to pass the quality gates.

Why should BVN and NIN never appear in application logs?▼

NDPR requires explicit consent and minimization for PII, so fields like BVN, NIN, TIN, and phone must be masked before logging. The maskPII utility replaces values with a partially redacted form such as the first three and last two characters.

What are the limitations of the Nigerian tax computation kernel?▼

The kernel covers VAT, WHT, and VAT return netting but rates change with each Finance Act, so hardcoded rate tables must be reviewed per fiscal year. It also has no safe defaults for edge cases outside the defined rate codes and WHT categories.