Skip to main content
GET
/
companies
/
{company_id}
/
invoices
/
{uuid}
Get Invoice
curl --request GET \
  --url https://api.getmeasure.com/api/v1/companies/{company_id}/invoices/{uuid} \
  --header 'Authorization: Bearer <token>'
{
  "auto_charges": true,
  "billed_customer": {
    "address": {
      "address_line_1": "<string>",
      "address_line_2": "<string>",
      "city": "<string>",
      "country": "<string>",
      "place_id": "<string>",
      "state": "<string>",
      "zip": "<string>"
    },
    "arr": {
      "currency": "<string>",
      "value_in_cents": 123
    },
    "billing_emails": [
      "<string>"
    ],
    "company_id": "<string>",
    "computed_entitlements": [
      {
        "entitlement_id": "<string>",
        "id": "<string>",
        "inherited_from_id": "<string>",
        "inherited_from_type": "<string>",
        "key": "<string>",
        "name": "<string>",
        "original_value": "<unknown>",
        "overridden": true,
        "type": "<string>",
        "value": "<unknown>"
      }
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "customer_integration_metadata": {},
    "display_name": "<string>",
    "email": "<string>",
    "exclude_from_metrics": true,
    "id": "<string>",
    "identifier": "<string>",
    "integration_references": [
      {
        "integration_icon": "<string>",
        "integration_id": "<string>",
        "integration_key": "<string>",
        "integration_name": "<string>",
        "reference_type": "<string>",
        "remote_id": "<string>",
        "remote_type": "<string>"
      }
    ],
    "locale": "<string>",
    "managed_externally": true,
    "metadata": {},
    "mrr": {
      "currency": "<string>",
      "value_in_cents": 123
    },
    "name": "<string>",
    "org_name": "<string>",
    "owner_id": "<string>",
    "parent_customer_id": "<string>",
    "phone": "<string>",
    "status": "<string>",
    "title": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "billed_customer_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "currency": "<string>",
  "customer": {
    "address": {
      "address_line_1": "<string>",
      "address_line_2": "<string>",
      "city": "<string>",
      "country": "<string>",
      "place_id": "<string>",
      "state": "<string>",
      "zip": "<string>"
    },
    "arr": {
      "currency": "<string>",
      "value_in_cents": 123
    },
    "billing_emails": [
      "<string>"
    ],
    "company_id": "<string>",
    "computed_entitlements": [
      {
        "entitlement_id": "<string>",
        "id": "<string>",
        "inherited_from_id": "<string>",
        "inherited_from_type": "<string>",
        "key": "<string>",
        "name": "<string>",
        "original_value": "<unknown>",
        "overridden": true,
        "type": "<string>",
        "value": "<unknown>"
      }
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "customer_integration_metadata": {},
    "display_name": "<string>",
    "email": "<string>",
    "exclude_from_metrics": true,
    "id": "<string>",
    "identifier": "<string>",
    "integration_references": [
      {
        "integration_icon": "<string>",
        "integration_id": "<string>",
        "integration_key": "<string>",
        "integration_name": "<string>",
        "reference_type": "<string>",
        "remote_id": "<string>",
        "remote_type": "<string>"
      }
    ],
    "locale": "<string>",
    "managed_externally": true,
    "metadata": {},
    "mrr": {
      "currency": "<string>",
      "value_in_cents": 123
    },
    "name": "<string>",
    "org_name": "<string>",
    "owner_id": "<string>",
    "parent_customer_id": "<string>",
    "phone": "<string>",
    "status": "<string>",
    "title": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "customer_id": "<string>",
  "due": {
    "currency": "<string>",
    "value_in_cents": 123
  },
  "due_date": "2023-11-07T05:31:56Z",
  "hosted_link": "<string>",
  "invoice_date": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "number": "<string>",
  "paid": {
    "currency": "<string>",
    "value_in_cents": 123
  },
  "paid_date": "2023-11-07T05:31:56Z",
  "pdf_link": "<string>",
  "prorated_amount": {
    "currency": "<string>",
    "value_in_cents": 123
  },
  "revenue": {
    "currency": "<string>",
    "value_in_cents": 123
  },
  "status": "<string>",
  "sub_total": {
    "currency": "<string>",
    "value_in_cents": 123
  },
  "subscription_id": "<string>",
  "total": {
    "currency": "<string>",
    "value_in_cents": 123
  },
  "updated_at": "2023-11-07T05:31:56Z",
  "uuid": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

The idempotency key that will be used to ensure the request is only performed once

Path Parameters

company_id
string
required

The company ID with the prefix 'cmp_'.

uuid
string
required

The resource UUID

Response

200 - application/json

OK

auto_charges
boolean

Whether the invoice is automatically charged to the payment method on file for the customer

billed_customer
object

The expanded billed customer details for the invoice

billed_customer_id
string

The billed customer ID for the invoice. This matches the customer_id by default, but can be set to another parent customer ID

created_at
string<date-time>

The date the invoice was created

currency
string | null

The currency of the invoice

customer
object

The expanded customer details for the invoice

customer_id
string

The customer ID for the invoice

due
object

The total amount due on the invoice after any payments

due_date
string<date-time>

The date the invoice total is due

The hosted link for the invoice

invoice_date
string<date-time>

The date for the invoice

name
string

The name of the invoice

number
string

The invoice number for the invoice

paid
object

The total amount paid against the invoice

paid_date
null | string<date-time>

The date the invoice was paid

The PDF link for the invoice

prorated_amount
object

Any prorated amounts for the invoice

revenue
object

The revenue amount of the invoice (total minus credits)

status
string

The status of the invoice such as PAID, DRAFT, VOID or PENDING

sub_total
object

The subtotal of the invoice which is prior to applying credits

subscription_id
null | string

The subscription ID for the invoice, if is not a one-time invoice

total
object

The final total of the invoice after applying all credits, discounts and taxes

updated_at
string<date-time>

The last date the invoice was updated

uuid
string

The unique identifier for the invoice