---
title: "Returns an array containing a country specification"
method: GET
path: "/country-specs"
tags: ["Country specifications"]
---

# Returns an array containing a country specification

`GET /country-specs`

Gets a country specification.

## Query parameters

- `country` string, required
- `sellingEntity` string, required

## Response `200`

200 OK

- object
  - `data` CountrySpecification[]
    - `country` string — An ISO 3166-1 alpha-2 country code.
    - `sellingEntity` string — A Digital River selling entity.
    - `billingAddressSchema` string, nullable — A billing address schema.
    - `shippingAddressSchema` string, nullable — A ship to address schema.
    - `billingAddressOnlySchema` string, nullable — A billing address only schema.
    - `individualTaxIdentifiersSchemas` string[]
    - `businessTaxIdentifiersSchemas` string[]
    - `taxIdentifiersInfo` TaxIdentifiersInfo
      - `type` string — The type of tax identifier.
      - `customerType` 'business' | 'customer' — The type of customer.
      - `isRequired` boolean — Indicates whether or not tax id is required.
      - `formatPattern` string — The format pattern of the tax id.
      - `locales` string — A designator that combines the two-letter ISO 639-1 language code with the ISO 3166-1 alpha-2 country code.
    - `invoiceAttributeInfo` InvoiceAttributeInfo
      - `isRequired` boolean — Designates if the invoice attributes are required.
      - `individual` Individual
        - `type` 'cn_individual_general' | 'tw_individual_member_carrier' | 'tw_individual_mobile_barcode' | 'tw_individual_citizen_cert' | 'tw_individual_donate' — The type of invoice.
        - `attributes` Attributes
          - `invoiceTitle` string — The title of the invoice.
          - `regAccount` string — The identifier for the account.
          - `regAddress` string — The address associated to the invoice.
          - `regBank` string — The name of the bank.
          - `regPhone` string — The phone number associated to the invoice
      - `business` Business
        - `type` 'cn_business_general' | 'cn_business_special' — The type of invoice.
        - `attributes` Attributes[]
          - `invoiceTitle` string — The title of the invoice.
          - `regAccount` string — The identifier for the account.
          - `regAddress` string — The address associated to the invoice.
          - `regBank` string — The name of the bank.
          - `regPhone` string — The phone number associated to the invoice
    - `liveMode` boolean — Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.

## Other responses

- `400` — 400 Bad Request
- `401` — 401 Unauthorized
- `403` — 403 Forbidden
- `405` — 405 Method Not Allowed
- `406` — 406 Not Acceptable
- `408` — 408 Request Timeout
- `429` — 429 Too Many Requests
- `500` — 500 Internal Server Error
- `502` — 502 Bad Gateway Error
- `503` — 503 Service Unavailable Error
- `504` — 504 Gateway Timeout Error

---

[API](https://skmtc.net/digitalriver/apis/digital-river-api-reference.md) · [All operations](https://skmtc.net/digitalriver/apis/digital-river-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalriver/digital-river-api-reference/revisions/f21981db32be/schema)
