# Get billing details

`GET /apis/cra.diagrid.io/v1beta1/billing/details`

Get the name, email, address and tax ID your organization's invoices are addressed to.

## Responses

### 200 — The billing details.

`application/json`

Who your organization's invoices are addressed to. When saving, any field left out is kept as it is.

- `name` (string) — The name printed on invoices.
- `email` (string) — The address invoices, receipts and payment notices are sent to.
- `address` (object) — A postal address. An empty field is cleared when the address is saved.
  - `line1` (string)
  - `line2` (string)
  - `city` (string)
  - `state` (string)
  - `postalCode` (string)
  - `country` (string) — Two-letter ISO 3166-1 country code.
- `taxId` (object) — A business tax ID, such as an EU VAT number. When saving, a tax ID with no type and no value removes the organization's tax ID.
  - `type` (string) — The kind of tax ID, for example `eu_vat`, `gb_vat` or `us_ein`. See https://docs.stripe.com/billing/customer/tax-ids for the full list.
  - `value` (string)
  - `verificationStatus` (string) — Read-only. Whether the tax authority has verified the ID. Absent for kinds of tax ID that are never verified. One of: `pending`, `verified`, `unverified`, `unavailable`.

### default — Unexpected error.

`application/json`

In the case of an error, a standard format error response body will be returned and the HTTP status code will be set to an error status. The response contains an object with a single error object.

- `code` (string) — Required. This is the same as the HTTP status of the response.
- `message` (string) — Required. A short description of the error.
- `status` (object) — Required. A status code that indicates the error type.
- `details` (object) — Additional details about the errors.
  - `@type` (string) — The type of error.
  - `reason` (string) — A reason for the error.
  - `domain` (string) — The domain in which the error occurred.
  - `metadata` (object) — Additional metadata about the error.

`application/vnd.api+json`

JSONAPI.org specification error response wrapper for UI.

- `error` (object) — In the case of an error, a standard format error response body will be returned and the HTTP status code will be set to an error status. The response contains an object with a single error object.
  - `code` (string) — Required. This is the same as the HTTP status of the response.
  - `message` (string) — Required. A short description of the error.
  - `status` (object) — Required. A status code that indicates the error type.
  - `details` (object) — Additional details about the errors.
    - `@type` (string) — The type of error.
    - `reason` (string) — A reason for the error.
    - `domain` (string) — The domain in which the error occurred.
    - `metadata` (object) — Additional metadata about the error.
- `meta` (object<string, object>) — Link members related to the primary data.
  - One of:
    - **string (uri-reference)** — A string containing the link's URL.
    - **object**
      - `href` (string (uri-reference)) — Required. A string containing the link's URL.
      - `meta` (object) — Non-standard meta-information that can not be represented as an attribute or relationship.
- `links` (object) — Non-standard meta-information that can not be represented as an attribute or relationship.
