NotaFiscalConfiguracao

Insere uma configuração de serviço para nota fiscal

Changed on

Esta API permite que você crie uma nova configuração de serviço para emissão de notas fiscais.

Requisição

CampoTipoDescriçãoObrigatório
IdGUIDId da configuraçãoNão
CodigoServicoMunicipalTextoCódigo de serviço municipal da configuraçãoSim
CodigoCNAETextoCódigo CNAE da configuraçãoSim
ISSNúmeroISS da configuraçãoSim
PadraoBooleanoIndicativo de serviço padrão da configuraçãoSim
DescricaoCNAETextoDescrição do código CNAE da configuraçãoSim
IssRetidoFonteBooleanoIndica se o IIS é Retido na FonteSim

Resposta

CampoTipoDescrição
IdTextoId da configuração
CodigoServicoMunicipalTextoCódigo de serviço municipal da configuração
CodigoCNAETextoCódigo CNAE da configuração
ISSNúmeroISS da configuração
PadraoBooleanoIndicativo de serviço padrão da configuração
DescricaoCNAETextoDescrição do código CNAE da configuração
IssRetidoFonteBooleanoIndica se o IIS é Retido na Fonte
post/api/NotaFiscal/Configuracao/Servicos

Request

  • Base URL
    https://pagamentos.meuk8.com.br/PagamentosAPI
  • Auth
    OAuth 2
    Password
    Token URL/BknBankPagamentosAPI/token
    ScopesBknBankPagamentosAPI

Headers

Aeskeystring required

Request body

Idstring
CodigoServicostring
CodigoCNAEstring
ISSnumber double
Padraoboolean
DescricaoCNAEstring
IssRetidoFonteboolean

Response

Configuração criada

ClientePagamentosIdstring uuid
CodigoServicostring
ItemListaServicostring
CodigoCNAEstring
ISSnumber double
IssRetidoFonteboolean
Padraoboolean
DescricaoCNAEstring
CodigoTributacaoNacionalstring
Descricaostring
TipoServicointeger
PadraoDescricaostring
CodigoDescricaoCNAEstring
IssRetidoFonteDescricaostring
Idstring uuid

Example response

{
  "ClientePagamentosId": "00000000-0000-0000-0000-000000000000",
  "Id": "00000000-0000-0000-0000-000000000000"
}

Changes

    • breaking

      the response's body type changed from object to string for status (media type: application/json)

    • breaking

      the response's body type changed from object to string for status (media type: text/json)

    • breaking

      the response's body type changed from object to string for status (media type: application/xml)

    • breaking

      the response's body type changed from object to string for status (media type: text/xml)

    • breaking

      the response's body type changed from object to string for status (media type: application/json)

    • breaking

      the response's body type changed from object to string for status (media type: text/json)

    • breaking

      the response's body type changed from object to string for status (media type: application/xml)

    • breaking

      the response's body type changed from object to string for status (media type: text/xml)

    • warning

      removed the optional property from the response with the status (media type: application/json)

    • warning

      removed the optional property from the response with the status (media type: text/json)

    • warning

      removed the optional property from the response with the status (media type: application/xml)

    • warning

      removed the optional property from the response with the status (media type: text/xml)

    • warning

      removed the optional property from the response with the status (media type: application/json)

    • warning

      removed the optional property from the response with the status (media type: text/json)

    • warning

      removed the optional property from the response with the status (media type: application/xml)

    • warning

      removed the optional property from the response with the status (media type: text/xml)

    • info

      added the non-success response with the status