Fiscal Document - NFe Table
This section describes the FinancialManagementNfeTableComponent component.
It renders the table of NFe (product invoices), handling data fetching, pagination, sorting
and the action menu (view, copy key, download DANFe/XML). It provides the NfeListService
internally and opens the invoice detail modal when an item is viewed.
Visibility
This table is part of the dashboard/list section, shown only while the fiscal document
module is activated for the active company (@if (nfModuleActivated() === true)). See
Module activation status
for the full rule and example.
Usage
You need to import it in your module and use it in your template.
import {
FinancialManagementNfeTableComponent,
CategoryFinancialManagement,
} from '@celerofinancas/ui-charges';
@Component({
standalone: true,
selector: 'nfe-table',
imports: [FinancialManagementNfeTableComponent],
templateUrl: './nfe-table.component.html',
})
export class NfeTableComponent {
protected readonly category = CategoryFinancialManagement.PAYABLES_NFE;
}
Then, in your template, you can use the component like this:
<bfm-financial-management-nfe-table
[categoryFinancialManagement]="category"
/>
Inputs
The FinancialManagementNfeTableComponent component has the following inputs:
categoryFinancialManagement
Defines the financial management category used for tracking and detail context.
| Type | Default |
|---|---|
| CategoryFinancialManagement | undefined |
Events
The FinancialManagementNfeTableComponent component has no events. Pagination, sorting and
row actions are handled internally by the component and its NfeListService.