---
title: "Get Invoice"
method: GET
path: "/v1/billing/invoices/{invoice_id}"
tags: ["Billing"]
---

# Get Invoice

`GET /v1/billing/invoices/{invoice_id}`

Get full details of an invoice and ay associated transactions

## Path parameters

- `invoice_id` integer, required

## Response `200`

OK

- BillingInvoiceResponse
  - `success` boolean — whether the request succeeded
  - `errors` string[]
  - `messages` string[], nullable
  - `result` BillingInvoice — Invoice for hosting plan and addon(s)
    - `id` integer — ID of the invoice
    - `date` string — Date the invoice was created
    - `due_date` string — Date the invoice is due
    - `payment` object
      - `status` 'Collections' | 'Payment Pending' | 'Paid' | 'Refunded' | 'Unpaid'
      - `date_paid` string — If paid, the date upon when the payment was made
      - `last_capture_attempt` string — Date when the last payment was attempted to be captured
      - `date_refunded` string — If the invoice has been refunded, the date upon which that happened
      - `date_cancelled` string — If the invoice has been cancelled, the date upon which that happened
      - `payment_method` BillingPaymentMethod — Payment method on the account. Either a Credit Card or PayPal. Onlty the 'active' payment method will be used to pay any automated payments.
        - `id` integer, required — ID of the payment method
        - `type` 'Credit Card' | 'PayPal', required
        - `active` boolean, required — The active payment method is the one that will be used to pay any automated payments
        - `description` string, required — Optional description of the card
        - `address` BillingAddress — Address associated with a credit card or billing contact
          - `id` integer — Billing address identifier
          - `first_name` string — First name of the billing contact
          - `last_name` string — Last name of the billing contact
          - `address_line_1` string — First Address line of the billing contact
          - `address_line_2` string — Second Address line of the billing contact
          - `company_name` string — Company name of the billing contact
          - `email` string — Email address of the billing contact
          - `city` string — City of the billing contact
          - `state` string — State / Province of the billing contact
          - `country` string — Country Code of the billing contact
          - `postal_code` string — Postal code of the billing contact
          - `telephone` string — Telephone number of the billing contact
          - `receive_invoice_emails` boolean — If this email address should receive invoice related emails
        - `address_id` integer — ID of the billing address used for this payment method
        - `card_last_four` string — Last 4 digits of the payment method (if it is a credit card)
        - `card_type` string — Used payment card network
        - `expiry_date` string — Expiration month and year of the payment method (if it is a credit card)
        - `last_updated` string — Date the payment method was last updated
        - `gateway_token` string — If requested, the token used to pay at the payment gateway
    - `subtotal` number — Sub-Total amount of the invoice
    - `total` number — Total amount of the invoice
    - `credit` number — Any account credits that were applied to the invoice
    - `items` BillingInvoiceItem[] — Items on the invoice
      - `id` integer
      - `type` 'Hosting Plan' | 'Addon' — The type of item
      - `product_or_addon_id` integer — ID of the Hosting Plan Product or Addon Product
      - `description` string — Description of the product
      - `amount` number — Cost of the product
    - `transactions` BillingInvoiceTransaction[] — Transactions related to the invoice
      - `id` string — ID of the transaction at the payment gateway
      - `type` 'Credit Card' | 'PayPal' — The type of transaction
      - `date` string — Date the transaction occurred
      - `amount` number — Amount of the transaction
    - `download_link` string — Link that can be used to download the invoice
    - `pay_to_address` string — Address that the invoice is payable to

## Other responses

- `400` — Bad Request
- `401` — Authentication failed
- `403` — Not authorized to access endpoint
- `405` — Invalid input
- `500` — Internal error

---

[API](https://skmtc.net/rocket/apis/rocket-net-api.md) · [All operations](https://skmtc.net/rocket/apis/rocket-net-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rocket/rocket-net-api/versions/db0dcbbc5764/schema)
