open-nfse / BuildEventoPedidoIdParams
Interface: BuildEventoPedidoIdParams
Defined in: src/eventos/event-id.ts:12
Per Anexo II do SEFIN_ADN v1.00-20251226 (publicado 2025-12-27): PRE + chave(50) + tipoEvento(6) = 59 chars. Pattern PRE[0-9]{56}.
Mudança breaking vs RTC v1.01 original: o nPedRegEvento (3 dígitos) foi removido tanto da composição do Id quanto do corpo de infPedReg. Manter o formato antigo causa rejeição E1235 ("Falha no esquema XML do DF-e — The Pattern constraint failed") em produção.
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
chaveAcesso | readonly | string | src/eventos/event-id.ts:13 |
tipoEvento | readonly | string | src/eventos/event-id.ts:14 |