Skip to main content

MOTOR FISCAL -> ZAPIER | Integration by Webhook

NFSE - Webhook

GATILHOTRIGGER

Reception Recebimentoof deEletronic umaService Nota Fiscal de Serviço EletrônicaInvoice (NFSE) peloby Motor Fiscal, atravésthrough dedirect integraçãointegration diretawith comMunicipality aor PrefeituraOCR ou Processamento via OCR.processing.

BODY - REQUEST
{
    "tipo": "recebida"received",
    "statusNFe": "Normal",
    "codMun": "3203130",
    "customValues": [],
    "COFINS": 7073.33,
    "CSLL": 2357.78,
    "INSS": 25935.54,
    "IR": 2357.78,
    "ISS": 11788.88,
    "ISSRetido": "true",
    "PIS": 1532.55,
    "UFPrestador": "ES",
    "aliqServico": "5",
    "cepPrestador": "29680-000",
    "cidadePrestador": "João Neiva",
    "cnpjCpfPrestador": "36557131000165",
    "cnpjCpfTomador": "34562939000131",
    "codServico": "7.10",
    "codVerificacao": "3140C8B381981FASDG12445A74741A07E9D1",
    "deducoes": 0,
    "descServico": "Limpeza,Cleaning, manutençãomaintenance eand conservaçãoconservation deof viaspublic eroads logradourosand públicos,places, imóveis,properties, chaminés,chimneys, piscinas,swimming parques,pools, jardinsparks, egardens congeneresand "similar",
    "discriminacao": "PrestacaoProvision deof servicoscleaning deservices limpezaat nothe posto de Vitoria/Vitória/ES destation acordoin comaccordance owith contratocontract 19.08.2012. ReferenteReferring aosto servicosservices prestadosprovided emin Novembro deNovember 2023. NoIn PedidoOrder 132461",
    "dtEmissaoNfe": "2023-12-19T12:00:00.000Z",
    "dtEmissaoRPS": "2023-12-19T12:00:00.000Z",
    "emailPrestador": "teste@compila.com.br",
    "enderecoPrestador": "AV.PAULISTA, 2006 ",
    "inscPrestador": "451.441",
    "inscTomador": "",
    "inscriEsPrestador": "",
    "lei": {
        "codigo": "7.10",
        "descricao": "Limpeza,Cleaning, manutençãomaintenance eand conservaçãoconservation deof viaspublic eroads logradourosand públicos,places, imóveis,properties, chaminés,chimneys, piscinas,swimming parques,pools, jardinsparks, egardens congeneresand "similar"
    },
    "nome_municipio": "João Neiva",
    "numLote": "",
    "numRPS": "3413",
    "numeroNfe": "28426",
    "simples_nacional": { 
        "descricao": "OptanteOpting - MicroempreendedorIndividual IndividualMicroentrepreneur (MEI)"
    },
    "outrasRetencoes": 0,
    "prefeitura": "João Neiva",
    "razaoPrestador": "COMPILA PROCESSAMENTO DE DADOS LTDA ",
    "razaoTomador": "Posto do Sudeste do Brasil S.A.",
    "serie": "",
    "serieRPS": "NF",
    "telefonePrestador": "",
    "tribNfe": "U0",
    "vlrCredito": 0,
    "vlrServico": 235777.6
}
BODY - ESPECIFICAÇÃO
ELEMENTOELEMENT TPID DESCRICAOTYPE
DESCRIPTION tipo Stype Opções:string rebidaOptions: / emitadareceived/outgoing statusNFe SStatus NFSE  Opções:string Options: Normal / CanceladaCanceled / SubstituidaReplaced codMun SCity Code Codigostring MunicipioCity padraocode - IBGE standard customValues SCustom Values Camposstring customizadosCustom criadosfields pelocreated usuárioby dentrouser dainside plataformathe Motor Fiscal plataform COFINS NLabel ValorNumber COFINS value CSLL NLabel ValorNumber CSLL value INSS NLabel ValorNumber INSS value IR NLabel ValorNumber IR value ISS NLabel ValorNumber ISS value ISSRetido SLabel string "true" / "false" PIS NLabel ValorNumber PIS value UFPrestador SService Provider State Siglastring UF value aliqServico NPercent Tax Service  AlíquotaNumber deService Serviçoaliquot (ISS) cepPrestador S

Service Provider

Zip code

Cepstring PrestadorZip code of Service Provider cidadePrestador SService Provider City  Cidadestring PrestadorService Provider City cnpjCpfPrestador SCNPJ of Service Provider  string CNPJ ouor CPF doof PrestadorService Provider  cnpjCpfTomador SCNPJ of Service Taker string CNPJ ouor CPF doof TomadorService Taker codServico SService Code Códigostring doService Serviço code codVerificacao SVerification code of invoice Códigostring deVerification Verificação,code, CódigoAutenticity de Autenticidade code deducoes Sdedutions ValorNumber dasDedutions deduçõesvalues descServico SService description Descriçãostring dosService serviçosdescription discriminacao SDetailed Service description Discriminaçãostring dosDetailed ServiçosService description dtEmissaoNfe SEmission date of NFSE DataDatetime EmissãoInvoice Notadate Fiscalof issue dtEmissaoRPS SEmission date of RPS  DataDatetime EmissãoProvisional ReciboService Provisório de ServiçoReceipt (RPS) date of issue emailPrestador Semail of Service Provider string Service Provider Email Prestador enderecoPrestador SAdress of Service Provider Endereçostring PrestadorService Provider adress inscPrestador SService Provider Municipal inscription  Inscriçãostring Service Provider Municipal Prestadorinscription  inscTomador SService Taker Municipal inscription  Inscriçãostring Service Taker Municipal Tomadorinscription  inscriEsPrestador SService Provider State inscription  Inscriçãostring EstadualService PrestadorProvider State inscription  lei -> codigo Slaw -> code Códigostring doService Serviçocode mediantethrough a leilaw 116 lei -> descricao Slaw -> description Descriçãostring doService Serviçodescription mediantethrough a leilaw 116 nome_municipio Sname_city Nomestring MunicípioService Prestadorprovider City name numLote SBatch number Numerostring doBatch Lotenumber numRPS SNumber of RPS Numerostring daProvisional ReciboService Provisório de ServiçoReceipt (RPS) Number numeroNfe SNfe number Numerostring daInvoice Nota Fiscalnumber
simples_nacional -> 
descricao
S
simples_nacional -> description
string
Is service provider opting for Simples?
Descrição se prestador é Optante pelo Simples ? 
Exemplo:Example: "OptanteOpting - MicroempreendedorIndividual IndividualMicroentrepreneur (MEI)"


outrasRetencoes NOther retentions ValorNumber outrasOther deduçõesretentions values prefeitura Smunicipality Prefeiturastring municipality razaoPrestador SService Provider Company name Razãostring SocialService PrestadorProvider Company name razaoTomador SService Taker Company name Razãostring SocialService TomadorTaker Company name serie Sseries Seriestring daInvoice Nota Fiscalseries serieRPS SRPS series Seriestring daProvisional ReciboService Provisório de ServiçoReceipt (RPS) Series telefonePrestador SService Provider phone Telefonestring PrestadorService Provider phone tribNfe SNfe tax string
Tipos Descrição
T TributadoTaxed emin São Paulo.
F TributadoTaxed Foraout deof São Paulo.
A TributadoTaxed emin São Paulo, porémbut Isento.with total exemption.
B TributadoTaxed Foraout deof São Paulo, porémbut Isento.with total exemption.
D TributadoTaxed emin São Paulo comwith isençãopartial parcia.exemption.
M TributadoTaxed emin São Paulo, porémbut comwith indicaçãosubjective deimmunity imunidade subjetiva.indication.
N TributadoTaxed Foraout deof São Paulo, porémbut comwith indicaçãosubjective deimmunity imunidade subjetiva.indication.
R Tributado em

Taxed in São Paulo, porémbut comwith indicaçãoobjective deimmunity imunidadeindication.

objetiva.
S Tributado fora

Taxed deout of São Paulo, porémbut comwith indicaçãoobjective deimmunity imunidadeindication.

objetiva.
X Tributado em

Taxed in São Paulo, porémbut Exigibilidadesuspended Suspensa.collection.

V TributadoTaxed Foraout deof São Paulo, porémbut Exigibilidadesuspended Suspensa.collection.
P ExportaçãoExport deof Serviços.services
U0 Upload, semwithout informaçãotax de tributação.information.
vlrCredito NCredited tax value  ValorNumber doCredited Créditotax value  vlrServico NTotal service value ValorNumber totalTotal doservice serviçovalue