e-invoice-country-download

Configure country- or BA-driven e-invoice downloads in ui-myfinance.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/obaDev95/myf-agent-skills --skill e-invoice-country-download
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e-invoice-country-download
Source: https://github.com/obaDev95/myf-agent-skills/tree/main/skills/e-invoice-country-download
Command: npx skills add https://github.com/obaDev95/myf-agent-skills --skill e-invoice-country-download

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill enables configuring and delivering e-invoices based on the customer's country or business area, ensuring the correct document type and file extension are shown in the UI and properly generated by the backend contracts.

Core Features & Use Cases

  • Config-driven gating of e-invoice visibility by country and/or business area.
  • DownloadMenu routing using E_INVOICE_PREFIXES and getEInvoiceData, along with getDocumentType and getExtension logic.
  • Optional references to mocks and tests to verify behavior across BE and other regions.

Quick Start

Update the configuration and UI wiring to enable e-invoice for the target country or BA, then run the unit tests to verify the changes.

Frequently Asked Questions about e-invoice-country-download

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

FAQPage Schema
How do I configure e-invoice downloads for a specific country or business area?

To configure e-invoice downloads, update configItems and E_INVOICE_PREFIXES mappings to gate visibility by country or business area. You then wire the DownloadMenu routing using getEInvoiceData to enable the correct document type and file extension in the UI.

Why is the e-invoice download menu not showing for a specific country?

Menu visibility issues occur when configItems or E_INVOICE_PREFIXES lack the correct country or business area mappings. Debug the DownloadMenu routing and verify getEInvoiceData returns the expected documentType to restore the missing e-invoice download option.

How does getDocumentType and getExtension logic work for e-invoices?

The getDocumentType and getExtension logic determines the correct file format and document type based on the configured country or business area prefix. Updating these functions ensures the backend contracts properly generate the e-invoice files displayed in the UI.

Do I need unit tests and mocks to verify country-based e-invoice configurations?

Yes, adding unit tests and mocks is required to verify behavior across backend regions. Testing validates that getDocumentType and getExtension logic correctly processes E_INVOICE_PREFIXES for each configured country and business area.

Can I gate e-invoice visibility by both country and business area simultaneously?

Yes, the configuration supports gating e-invoice visibility by country and business area simultaneously. Update the configItems mappings to define the required conditions, and the DownloadMenu routing will enforce the combined visibility rules.

What is config-driven e-invoice gating and when do I need it?

Config-driven e-invoice gating controls download visibility using country and business area mappings rather than hardcoding. You need this approach to dynamically deliver the correct e-invoice document types and file extensions across different regions.