FinOpenPOS
API ReferenceFunctions

getStateCode()

@finopenpos/fiscal / getStateCode

function getStateCode(uf): string;

Defined in: state-codes.ts:40

Get the IBGE numeric code for a state abbreviation.

Parameters

ParameterType
ufstring

Returns

string

Throws

if the UF is unknown

On this page