Declaração em C# |
[DllImport("BemaFI32.dll")] public static extern int Bematech_FI_AdicionaInformacoesCombustivel(string itemIndex, string ANPProductCode, string percentMixGN, string CODIF, string quantity, string consumeUF, string BCProductCIDE, string taxProductCIDE, string valueCIDE, string fuelNozzleNumber, string fuelPumpNumber, string fuelTankNumber, string fuelGaugeInitial, string fuelGaugeFinal); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_ChaveAcessoNFCe(string index, string counter); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_DadosConsumidorNFCe(string CPF, string name, string address, string complement, string number, string neighborhood, string IBGECode, string city, string UF, string CEP, string countyCode, string country, string phone, string stateRegistrationIndicator, string stateRegistration, string SUFRAMACode, string email); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_DadosEnvioNFCe(string TipoLayout, string TipoEmissao, string cEmail); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_EfetuaFormaPagamentoNFCeEx(string paymentForm, string value, string licensingCNPJ, string licensingCode, string authorizationCode, string integrationCode); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_NumeroNotaNFCe([MarshalAs(UnmanagedType.VBByRefStr)] ref string NumeroNota); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_NumeroSerieNFCe([MarshalAs(UnmanagedType.VBByRefStr)] ref string NumeroSerie); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_ProgramaContadorNFCe(string indice, string contador); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_ProtocoloUltimaNFCe(string protocolo, string dataHora); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_RetornaInformacoesNFCe(string type, string value, ref string accessKey, ref string serie, ref string NFCeNumber, ref string cancelled, ref string sendStatus, ref string sendProtocol, ref string sendProtocolDatetime, ref string cancellationStatus, ref string cancellationProtocol); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_StatusUltimaNFCe(string status); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_StatusUltimoCancelamentoNFCe(string status); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_TerminaFechamentoCupomNFCe(string menssagem, string taxas); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_UltimaChaveAcessoNFCe(string chaveAcesso); [DllImport("BemaFI32.dll")] public static extern int Bematech_FI_VendeItemCompleto(string Codigo, string EAN13, string Descricao, string IndiceDepartamento, string Aliquota, string UnidadeMedida, string TipoQuantidade, string CasasDecimaisQtde, string Quantidade, string CasasDecimaisValor, string ValorUnitario, string TipoDesconto, string ValorAcrescimo, string ValorDesconto, string ArredondaTrunca, string NCM, string CFOP, string InformacaoAdicional, string CST_ICMS, string OrigemProduto, string ItemListaServico, string CodigoISS, string NaturezaOperacaoISS, string IndicadorIncentivoFiscal, string CodigoIBGE, string CSOSN, string ValorBaseCalculoSimples, string ValorICMSRetidoSimples, string ModalidadeBaseCalculo, string PercentualReducaoBase, string ModalidadeBC, string PercentualMargemICMS, string PercentualBCICMS, string ValorReducaoBCICMS, string ValorAliquotaICMS, string ValorICMS, string ValorICMSDesonerado, string MotivoDesoneracaoICMS, string AliquotaCalculoCredito, string ValorCreditoICMS, string ValorTotalTributos, string CSTPIS, string BaseCalculoPIS, string AliquotaPIS, string ValorPIS, string QuantVendidaPIS, string ValorAliquotaPIS, string CSTCOFINS, string BaseCalculoCOFINS, string AliquotaCOFINS, string ValorCOFINS, string QunatVendidaCOFINS, string ValorAliquotaCOFINS, string CEST, string Reservado01, string Reservado02, string Reservado03, string Reservado04, string Reservado05, string Reservado06, string Reservado07, string Reservado08, string Reservado09);
|