Skip to main content

Module status_codes

Module status_codes 

Source
Expand description

SEFAZ status code constants and valid-status sets. SEFAZ status code constants (cStat) and valid-status sets.

The [sefaz_status] submodule exposes named constants for the most common response codes from the SEFAZ web services. The [VALID_PROTOCOL_STATUSES] and [VALID_EVENT_STATUSES] slices are used by crate::complement to validate responses before attaching protocols.

Modules§

sefaz_status
SEFAZ status code constants (cStat) used across the fiscal module.

Constants§

VALID_EVENT_STATUSES
Valid status codes for event attachment.
VALID_PROTOCOL_STATUSES
Valid status codes for protocol attachment.