> ## Documentation Index
> Fetch the complete documentation index at: https://docs.partners.inra.co.th/llms.txt
> Use this file to discover all available pages before exploring further.

# Sandbox vs production

> Hosts, credentials, identifiers, what is billed, and which behaviours are shared.

Treat the sandbox as a complete rehearsal of the protocol, not as a copy of the production company file.

## Side by side

| | Sandbox | Production |
| - | - | - |
| Base URL | `https://partners-sandbox.inra.co.th` | `https://partners.inra.co.th` |
| Credentials | A sandbox `client_id` / `client_secret` | A separate production credential |
| `company_id` | Sample ids such as `100001` | Nine-digit [`public_id`](https://docs.partners.inra.co.th/concepts/public-id) |
| Company file | A handful of masked sample companies | Live companies with a [Thai address](https://docs.partners.inra.co.th/concepts/coverage.md) |
| Database report | Masked fixture, returned immediately, no HQ order, not billed | Real report from INRA's file, real order, may be billed |
| Offline report | Completes automatically after a short delay with a sample report | Reviewed by INRA staff, then completed or cancelled; may be billed |
| `reference` starting `test-cancel` | The offline order is cancelled, so you can practise that path | Not a special value; do not use it to cancel a real order |
| Scalar Try it at `/reference` | Enabled | Not relied on; use this docs playground against the host you select |

Credentials, tokens, and company identifiers are not interchangeable. A sandbox token is rejected by production, and the other way around.

## What is identical

* OAuth client credentials, RS256 tokens, 15-minute expiry, JWKS
* XML and JSON from the same model, XML by default, the same error envelope
* Path shapes, field names, dictionary identifiers, and report structure
* Callback signing (`X-INRA-Signature`, timestamp window, event id)

## Try-it and this playground

The API reference playground on this site can target either server. The dropdown defaults to production. If you paste a production secret into the playground, you are calling the live API. Use sandbox credentials, and the sandbox server, until you mean to place a real order.

## Test companies (sandbox)

| `company_id` | Name | Registration number | Legal form | Database report |
| - | - | - | - | - |
| `100001` | Sample Alpha Co., Ltd. / แซมเพิล อัลฟา จำกัด | `0105550000001` | Private limited | Yes |
| `100002` | Sample Beta Limited Partnership / แซมเพิล เบตา ห้างหุ้นส่วนจำกัด | `0105550000002` | Limited partnership | Yes |
| `100003` | Sample Gamma Ltd. / แซมเพิล แกมมา จำกัด | `0105550000003` | Private limited | No — practise `report_not_available` |
| `100004` | Other Delta Co., Ltd. / อื่น เดลตา จำกัด | `0105550000004` | Private limited, status Dormant | No |
| `100005` | Sample Epsilon Public Co., Ltd. / แซมเพิล เอปไซลอน จำกัด (มหาชน) | `0105550000005` | Public limited | Yes |
| `100006` | Sample Theta Bank Public Co., Ltd. / ธนาคารแซมเพิล ธีตา จำกัด (มหาชน) | `0105550000006` | Bank | Yes |
| `100007` | Sample Zeta Registered Ordinary Partnership / ห้างหุ้นส่วนสามัญนิติบุคคลแซมเพิล ซีตา | `0105550000007` | ROP | Yes |

Useful search keywords: `Sample`, `Other`, `แซมเพิล`, `อื่น`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.