Browse the API reference

Get Organization Upcoming Invoice

get/v1/billing/invoices/{org_id}/upcoming

Part of Billing.

Requires admin or owner role. Returns null if no billing activity yet.

Authentication

Authenticate in any one of these ways — not all of them:

  • API key in the X-API-Key header.
  • Bearer token in the Authorization header.

Path parameters

NameTypeDescription
org_idrequiredstringOrg Id

Example request

curl
curl -X GET "https://api.robosystems.ai/v1/billing/invoices/{org_id}/upcoming" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY"

Responses

200 Successful Response

Response
{
  "amount_due": 0,
  "currency": "string",
  "period_start": "string",
  "period_end": "string",
  "line_items": [
    {
      "description": "string",
      "amount": 0,
      "quantity": 0
    }
  ]
}
StatusMeaning
400Invalid request
401Authentication required
403Access denied
404Resource not found
422Validation Error
429Rate limit exceeded
500Internal server error