MCPcopy Create free account
hub / github.com/BrasilAPI/BrasilAPI / fetchNcmListFromSefaz

Function fetchNcmListFromSefaz

services/sefaz/index.js:35–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35const fetchNcmListFromSefaz = async () => {
36 const url =
37 'https://portalunico.siscomex.gov.br/classif/api/publico/nomenclatura/download/json';
38
39 const { data: body } = await axios.get(url);
40
41 return body;
42};
43
44export const getNcmData = async () => {
45 try {

Callers 1

getNcmDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected