POST api/faturamento/faturarTodosTP

Request Information

URI Parameters

None.

Body Parameters

FaturamentoTodosTpRequest
NameDescriptionTypeAdditional information
periodoReferente

string

None.

itens

Collection of FaturamentoTpItem

None.

Request Formats

application/json, text/json

Sample:
{
  "periodoReferente": "sample string 1",
  "itens": [
    {
      "numeroInstalacao": "sample string 1",
      "unidadeConsumidora": "sample string 2",
      "gerarBoletoAsaas": true,
      "periodoReferente": "sample string 4",
      "dataVencimento": "2026-06-01T14:33:39.6633686-03:00",
      "leituraProximoMes": "2026-06-01T14:33:39.6633686-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
        }
      }
    },
    {
      "numeroInstalacao": "sample string 1",
      "unidadeConsumidora": "sample string 2",
      "gerarBoletoAsaas": true,
      "periodoReferente": "sample string 4",
      "dataVencimento": "2026-06-01T14:33:39.6633686-03:00",
      "leituraProximoMes": "2026-06-01T14:33:39.6633686-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.