POST api/faturamento/faturarTP

Request Information

URI Parameters

None.

Body Parameters

FaturamentoTpRequest
NameDescriptionTypeAdditional information
numeroInstalacao

string

None.

unidadeConsumidora

string

None.

gerarBoletoAsaas

boolean

None.

periodoReferente

string

None.

dataVencimento

date

None.

leituraProximoMes

date

None.

formaPagamentoId

integer

None.

tipoFechamento

string

None.

valorAjuste

decimal number

None.

observacaoFechamento

string

None.

saldoEnergia

decimal number

None.

anexoUrl

string

None.

entradaTP

FaturamentoEntradaTp

None.

Request Formats

application/json, text/json

Sample:
{
  "numeroInstalacao": "sample string 1",
  "unidadeConsumidora": "sample string 2",
  "gerarBoletoAsaas": true,
  "periodoReferente": "sample string 4",
  "dataVencimento": "2026-06-01T14:33:39.9216754-03:00",
  "leituraProximoMes": "2026-06-01T14:33:39.9216754-03:00",
  "formaPagamentoId": 5,
  "tipoFechamento": "sample string 6",
  "valorAjuste": 7.0,
  "observacaoFechamento": "sample string 8",
  "saldoEnergia": 9.0,
  "anexoUrl": "sample string 10",
  "entradaTP": {
    "contaAtual": {
      "kwhTusd": 1.0,
      "tarifaAneelTusd": 2.0,
      "tarifaTusd": 3.0,
      "kwhTe": 4.0,
      "tarifaAneelTe": 5.0,
      "tarifaTe": 6.0,
      "valorBandeira": 7.0,
      "iluminacaoPublica": 8.0,
      "outrosDebitos": 9.0,
      "outrasContribuicoes": 10.0
    },
    "energiaInjetada": {
      "kwhTusd": 1.0,
      "tarifaAneelTusd": 2.0,
      "tarifaTusd": 3.0,
      "kwhTe": 4.0,
      "tarifaAneelTe": 5.0,
      "tarifaTe": 6.0,
      "impostoPisCofins": 7.0
    },
    "impostosGerador": {
      "icmsPercentual": 1.0,
      "pisPercentual": 2.0,
      "cofinsPercentual": 3.0
    }
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.