Skip to main content

Create a ledger billing group report

POST 
/ledger_billing_group_reports

Request

Body

    year integer

    Year of the ledger billing group report

    month integer

    Month of the ledger billing group report

Responses

200: Expected ledger billing group report response to a valid request

Response Headers

    500: Unexpected error

    Response Headers

      Request samples


      curl -L 'https://api.telnyx.com/v2/ledger_billing_group_reports' \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json' \
      -H 'Authorization: Bearer <TOKEN>' \
      -d '{
      "year": 2019,
      "month": 10
      }'

      Response samples


      {
      "data": [
      {
      "record_type": "ledger_billing_group_report",
      "id": "f5586561-8ff0-4291-a0ac-84fe544797bd",
      "organization_id": "f5586561-8ff0-4291-a0ac-84fe544797bd",
      "report_url": "https://example.com",
      "created_at": "2019-10-15T10:07:15.527Z",
      "updated_at": "2019-10-15T10:07:15.527Z"
      }
      ]
      }