---
title: "Create orders of other formats"
description: "How to create orders and pre-approved orders of the Paraguay, Cabo Verde and SSL formats in Amplia Reg: routes, parameters fields and examples in .NET and REST."
canonical: "https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/other-formats"
locale: "en"
product: "Amplia Reg"
last_updated: "2026-11-17"
---

# Create orders of other formats

In addition to the ICP-Brasil format, the API creates orders of the Paraguay, Cabo Verde and SSL formats. Each format has its own route
and its own `parameters` class. The other request fields are the same as in [Create an order](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/create-order#request-fields).

## Before you start

* For regular orders, an API key of an application with the **Sales app** role. See [Application roles](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/authentication#roles).
* For pre-approved orders, the **Electronic registration authority** role and the registration authority (RA) ID in the
  `X-Subscription` header. See [Creating pre-approved orders](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/preapproved-orders).
* The code of a certificate type of the applicable format. See [List the certificate types](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/create-order#certificate-types).

## Routes and parameters classes

Use the route of the format of the certificate type. In .NET, `CreateOrderAsync` and `CreatePreApprovedOrderAsync` select the route from
the class of `Parameters`.

| Format | Order | `parameters` class (.NET) |
|---|---|---|
| Paraguay | `POST /api/paraguay/orders` | `ParaguayOrderCreateParameters` |
| Cabo Verde | `POST /api/cabo-verde/orders` | `CaboVerdeOrderCreateParameters` |
| SSL | `POST /api/ssl/orders` | `SslOrderCreateParameters` |

| Format | Pre-approved order | `parameters` class (.NET) |
|---|---|---|
| Paraguay | `POST /api/paraguay/orders/pre-approved` | `CreatePreApprovedOrderParaguayParameters` |
| Cabo Verde | `POST /api/cabo-verde/orders/pre-approved` | `CreatePreApprovedOrderCaboVerdeParameters` |
| SSL | `POST /api/ssl/orders/pre-approved` | `CreatePreApprovedOrderSslParameters` |

In a regular order, `parameters` contains only the identification of the holder. The validation agent fills in the other data. To send
this data before the validation, see [Pre-fill the holder data](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/prefill-holder).

In a pre-approved order, `parameters` contains all the holder data that goes into the certificate. The pre-approved order examples omit
`holderType` and `holderFiles`. If the certificate type has the documents step enabled, send the documents. See
[Holder documents](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/preapproved-orders#holder-files).

## Identify the format and the subtype

The certificate type list gives the format of each type in the `format` field. The subtype defines which `parameters` fields are required.

| Format | `format` | Subtype |
|---|---|---|
| Paraguay | `PkiParaguay` | `paraguayParameters.paraguayType`: `Firma`, `Sello` or `Tributario` |
| Cabo Verde | `PkiCaboVerde` | `caboVerdeParameters.caboVerdeType`: `AutenticacaoIndividual`, `AssinaturaDigital` or `SeloElectronico` |
| SSL | `Ssl` | No subtype. `sslParameters` contains `maxAlternativeDnsNames`, `serialNumberMode` and `evCountryMode` |

Country codes have two letters, in the ISO 3166-1 alpha-2 standard, for example `CV`.

## Create a Paraguay format order

Send the holder's identity document in `parameters`. In .NET, the class is `ParaguayOrderCreateParameters`.

| Field | Required | Description |
|---|---|---|
| `holderIdentification` | Yes | Number of the holder's identity document. Letters and digits only, maximum 20 characters |
| `holderIdentificationType` | Yes | Type of the identity document: `CedulaDeIdentidad` or `Pasaporte` |
| `organizationRuc` | No | RUC of the organization |

The RUC has 6 to 8 digits, an optional letter and the check digit, with no hyphen. Amplia Reg verifies the check digit.

**.NET**

```cs
var orderCreateResponse = await ampliaRegService.CreateOrderAsync(new OrderCreateRequest<ParaguayOrderCreateParameters>() {
	RegistrationAuthority = AuthorityReference.FromId(Guid.Parse("3fa85f64-5717-4562-b3fc-2c963f66afa6")), // RA ID
	CertificateType = CertificateTypeReference.FromCode("FIRMAF1"), // Certificate type code
	IssueType = IssueTypes.Presential,
	Parameters = new ParaguayOrderCreateParameters() {
		HolderIdentification = "4203918", // Number of the holder's identity document
		HolderIdentificationType = ParaguayDocumentTypes.CedulaDeIdentidad, // or ParaguayDocumentTypes.Pasaporte
	},
	Validity = PeriodModel.FromYears(1), // Certificate validity (the certificate type must allow it)
	Contact = new ContactData() {
		EmailAddress = "maria.benitez@example.com", // Holder's email
		Phone = "+595981000000", // Holder's mobile number, with the country code
	},
});
```

**REST**

```js
POST /api/paraguay/orders
{
	"registrationAuthority": {
		"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6" // RA ID
	},
	"certificateType": {
		"code": "FIRMAF1" // Certificate type code
	},
	"issueType": "Presential",
	"parameters": {
		"holderIdentification": "4203918", // Number of the holder's identity document
		"holderIdentificationType": "CedulaDeIdentidad" // or "Pasaporte"
	},
	"validity": {
		"years": 1 // Certificate validity (the certificate type must allow it)
	},
	"contact": {
		"emailAddress": "maria.benitez@example.com", // Holder's email
		"phone": "+595981000000" // Holder's mobile number, with the country code
	}
}
```

**curl**

```bash
curl -X POST "https://ampliareg.yourcompany.com/api/paraguay/orders" \
  -H "X-Api-Key: your-app|YOUR_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @body.json
```

Content of `body.json`:

```json
{
  "registrationAuthority": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  },
  "certificateType": {
    "code": "FIRMAF1"
  },
  "issueType": "Presential",
  "parameters": {
    "holderIdentification": "4203918",
    "holderIdentificationType": "CedulaDeIdentidad"
  },
  "validity": {
    "years": 1
  },
  "contact": {
    "emailAddress": "maria.benitez@example.com",
    "phone": "+595981000000"
  }
}
```

### Create a pre-approved Paraguay format order

In .NET, the `parameters` class is `CreatePreApprovedOrderParaguayParameters`. For the other fields, see
[Request fields](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/preapproved-orders#request-fields).

| Field | Required | Description |
|---|---|---|
| `identification` | Yes | Number of the holder's identity document. Letters and digits only, maximum 20 characters |
| `identificationType` | Yes | Type of the identity document: `CedulaDeIdentidad` or `Pasaporte` |
| `givenNames` | Yes | Holder's given names (maximum 100 characters) |
| `surnames` | Yes | Holder's surnames (maximum 100 characters) |
| `organizationName` | Depends | Name of the organization (maximum 200 characters). Required for the `Sello` and `Tributario` subtypes |
| `organizationRuc` | Depends | RUC of the organization, in the same format as in the regular order. Required for the `Sello` and `Tributario` subtypes |
| `organizationUnit` | Depends | Organization unit (maximum 100 characters). Required for the `Sello` subtype |
| `application` | Depends | System or application (maximum 200 characters). Required for the `Sello` subtype |
| `organizationTitle` | No | Holder's role in the organization (maximum 100 characters) |

**.NET**

```cs
var response = await ampliaRegService.CreatePreApprovedOrderAsync(new CreatePreApprovedOrderOptions2<CreatePreApprovedOrderParaguayParameters>() {
	RegistrationAuthorityId = Guid.Parse("3fa85f64-5717-4562-b3fc-2c963f66afa6"), // RA ID
	CertificateType = CertificateTypeReference.FromCode("FIRMAF1"), // Certificate type code
	Validity = PeriodModel.FromYears(1), // Certificate validity (the certificate type must allow it)
	Parameters = new CreatePreApprovedOrderParaguayParameters() {
		Identification = "4203918", // Number of the holder's identity document
		IdentificationType = ParaguayDocumentTypes.CedulaDeIdentidad, // or ParaguayDocumentTypes.Pasaporte
		GivenNames = "María Fernanda", // Holder's given names
		Surnames = "Benítez Rojas", // Holder's surnames
	},
	Contact = new ContactData() {
		EmailAddress = "maria.benitez@example.com",
		Phone = "+595981000000",
	},
});
```

**REST**

```js
POST /api/paraguay/orders/pre-approved
X-Subscription: 3fa85f64-5717-4562-b3fc-2c963f66afa6 // RA ID
{
	"certificateType": {
		"code": "FIRMAF1" // Certificate type code
	},
	"validity": {
		"years": 1 // Certificate validity (the certificate type must allow it)
	},
	"parameters": {
		"identification": "4203918", // Number of the holder's identity document
		"identificationType": "CedulaDeIdentidad", // or "Pasaporte"
		"givenNames": "María Fernanda", // Holder's given names
		"surnames": "Benítez Rojas" // Holder's surnames
	},
	"contact": {
		"emailAddress": "maria.benitez@example.com",
		"phone": "+595981000000"
	}
}
```

**curl**

```bash
curl -X POST "https://ampliareg.yourcompany.com/api/paraguay/orders/pre-approved" \
  -H "X-Api-Key: your-app|YOUR_KEY" \
  -H "X-Subscription: 3fa85f64-5717-4562-b3fc-2c963f66afa6" \
  -H "Content-Type: application/json" \
  --data-binary @body.json
```

Content of `body.json`:

```json
{
  "certificateType": {
    "code": "FIRMAF1"
  },
  "validity": {
    "years": 1
  },
  "parameters": {
    "identification": "4203918",
    "identificationType": "CedulaDeIdentidad",
    "givenNames": "María Fernanda",
    "surnames": "Benítez Rojas"
  },
  "contact": {
    "emailAddress": "maria.benitez@example.com",
    "phone": "+595981000000"
  }
}
```

## Create a Cabo Verde format order

Send the identification that the certificate subtype requires. In .NET, the class is `CaboVerdeOrderCreateParameters`.

| Field | Required | Description |
|---|---|---|
| `nif` | Depends | Holder's NIF. Digits only, 4 to 20. Required for the `AutenticacaoIndividual` and `AssinaturaDigital` subtypes |
| `identification` | Depends | Identification number. Letters and digits only, 4 to 20 characters. Required for the `SeloElectronico` subtype |
| `identificationCountryCode` | Depends | Code of the country that issued the identification. Required for the `SeloElectronico` subtype |

For the `AutenticacaoIndividual` and `AssinaturaDigital` subtypes, Amplia Reg uses only `nif`. For the `SeloElectronico` subtype, it uses
only `identification` and `identificationCountryCode`.

**.NET**

```cs
var orderCreateResponse = await ampliaRegService.CreateOrderAsync(new OrderCreateRequest<CaboVerdeOrderCreateParameters>() {
	RegistrationAuthority = AuthorityReference.FromId(Guid.Parse("3fa85f64-5717-4562-b3fc-2c963f66afa6")), // RA ID
	CertificateType = CertificateTypeReference.FromCode("ASSINATURA1"), // Certificate type code
	IssueType = IssueTypes.Presential,
	Parameters = new CaboVerdeOrderCreateParameters() {
		Nif = "254718390", // Holder's NIF
	},
	Validity = PeriodModel.FromYears(1), // Certificate validity (the certificate type must allow it)
	Contact = new ContactData() {
		EmailAddress = "joao.tavares@example.com", // Holder's email
		Phone = "+2389910000", // Holder's mobile number, with the country code
	},
});
```

**REST**

```js
POST /api/cabo-verde/orders
{
	"registrationAuthority": {
		"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6" // RA ID
	},
	"certificateType": {
		"code": "ASSINATURA1" // Certificate type code
	},
	"issueType": "Presential",
	"parameters": {
		"nif": "254718390" // Holder's NIF
	},
	"validity": {
		"years": 1 // Certificate validity (the certificate type must allow it)
	},
	"contact": {
		"emailAddress": "joao.tavares@example.com", // Holder's email
		"phone": "+2389910000" // Holder's mobile number, with the country code
	}
}
```

**curl**

```bash
curl -X POST "https://ampliareg.yourcompany.com/api/cabo-verde/orders" \
  -H "X-Api-Key: your-app|YOUR_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @body.json
```

Content of `body.json`:

```json
{
  "registrationAuthority": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  },
  "certificateType": {
    "code": "ASSINATURA1"
  },
  "issueType": "Presential",
  "parameters": {
    "nif": "254718390"
  },
  "validity": {
    "years": 1
  },
  "contact": {
    "emailAddress": "joao.tavares@example.com",
    "phone": "+2389910000"
  }
}
```

### Create a pre-approved Cabo Verde format order

In .NET, the `parameters` class is `CreatePreApprovedOrderCaboVerdeParameters`. For the other fields, see
[Request fields](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/preapproved-orders#request-fields).

| Field | Required | Description |
|---|---|---|
| `countryCode` | Yes | Code of the holder's country. Amplia Reg stores it as the nationality and uses it in the country field of the certificate |
| `givenNames` | Depends | Holder's given names (maximum 100 characters). Required for the `AutenticacaoIndividual` and `AssinaturaDigital` subtypes |
| `surnames` | Depends | Holder's surnames (maximum 100 characters). Required for the `AutenticacaoIndividual` and `AssinaturaDigital` subtypes |
| `nif` | Depends | Holder's NIF. Digits only, 4 to 20. Required for the `AutenticacaoIndividual` and `AssinaturaDigital` subtypes |
| `identification` | Depends | Identification number. Letters and digits only, 4 to 20 characters. Required for the `AssinaturaDigital` and `SeloElectronico` subtypes |
| `identificationCountryCode` | Depends | Code of the country that issued the identification. Required for the `AssinaturaDigital` and `SeloElectronico` subtypes |
| `organization` | Depends | Name of the organization (maximum 200 characters). Required for the `SeloElectronico` subtype |
| `organizationTradeName` | Depends | Trade name of the organization (maximum 200 characters). Required for the `SeloElectronico` subtype |
| `organizationUnit` | No | Organization unit (maximum 100 characters) |
| `title` | No | Holder's title (maximum 100 characters) |
| `state` | No | State (maximum 100 characters) |
| `locality` | No | Locality (maximum 100 characters) |

**.NET**

```cs
var response = await ampliaRegService.CreatePreApprovedOrderAsync(new CreatePreApprovedOrderOptions2<CreatePreApprovedOrderCaboVerdeParameters>() {
	RegistrationAuthorityId = Guid.Parse("3fa85f64-5717-4562-b3fc-2c963f66afa6"), // RA ID
	CertificateType = CertificateTypeReference.FromCode("ASSINATURA1"), // Certificate type code
	Validity = PeriodModel.FromYears(1), // Certificate validity (the certificate type must allow it)
	Parameters = new CreatePreApprovedOrderCaboVerdeParameters() {
		CountryCode = "CV", // Code of the holder's country
		GivenNames = "João Pedro", // Holder's given names
		Surnames = "Tavares Lopes", // Holder's surnames
		Nif = "254718390", // Holder's NIF
		Identification = "7K29D41", // Identification number
		IdentificationCountryCode = "CV", // Code of the country that issued the identification
		Locality = "Praia",
	},
	Contact = new ContactData() {
		EmailAddress = "joao.tavares@example.com",
		Phone = "+2389910000",
	},
});
```

**REST**

```js
POST /api/cabo-verde/orders/pre-approved
X-Subscription: 3fa85f64-5717-4562-b3fc-2c963f66afa6 // RA ID
{
	"certificateType": {
		"code": "ASSINATURA1" // Certificate type code
	},
	"validity": {
		"years": 1 // Certificate validity (the certificate type must allow it)
	},
	"parameters": {
		"countryCode": "CV", // Code of the holder's country
		"givenNames": "João Pedro", // Holder's given names
		"surnames": "Tavares Lopes", // Holder's surnames
		"nif": "254718390", // Holder's NIF
		"identification": "7K29D41", // Identification number
		"identificationCountryCode": "CV", // Code of the country that issued the identification
		"locality": "Praia"
	},
	"contact": {
		"emailAddress": "joao.tavares@example.com",
		"phone": "+2389910000"
	}
}
```

**curl**

```bash
curl -X POST "https://ampliareg.yourcompany.com/api/cabo-verde/orders/pre-approved" \
  -H "X-Api-Key: your-app|YOUR_KEY" \
  -H "X-Subscription: 3fa85f64-5717-4562-b3fc-2c963f66afa6" \
  -H "Content-Type: application/json" \
  --data-binary @body.json
```

Content of `body.json`:

```json
{
  "certificateType": {
    "code": "ASSINATURA1"
  },
  "validity": {
    "years": 1
  },
  "parameters": {
    "countryCode": "CV",
    "givenNames": "João Pedro",
    "surnames": "Tavares Lopes",
    "nif": "254718390",
    "identification": "7K29D41",
    "identificationCountryCode": "CV",
    "locality": "Praia"
  },
  "contact": {
    "emailAddress": "joao.tavares@example.com",
    "phone": "+2389910000"
  }
}
```

## Create an SSL format order

Send the primary DNS name of the certificate in `parameters`. In .NET, the class is `SslOrderCreateParameters`.

| Field | Required | Description |
|---|---|---|
| `primaryDnsName` | Yes | Primary DNS name of the certificate (maximum 200 characters). It accepts a DNS name, a name that starts with `*.` or an IP address |

**.NET**

```cs
var orderCreateResponse = await ampliaRegService.CreateOrderAsync(new OrderCreateRequest<SslOrderCreateParameters>() {
	RegistrationAuthority = AuthorityReference.FromId(Guid.Parse("3fa85f64-5717-4562-b3fc-2c963f66afa6")), // RA ID
	CertificateType = CertificateTypeReference.FromCode("SSLOV"), // Certificate type code
	IssueType = IssueTypes.Presential,
	Parameters = new SslOrderCreateParameters() {
		PrimaryDnsName = "www.example.com", // Primary DNS name of the certificate
	},
	Validity = PeriodModel.FromYears(1), // Certificate validity (the certificate type must allow it)
	Contact = new ContactData() {
		EmailAddress = "admin@example.com", // Holder's email
		Phone = "+5511999990000", // Holder's mobile number, with the country code
	},
});
```

**REST**

```js
POST /api/ssl/orders
{
	"registrationAuthority": {
		"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6" // RA ID
	},
	"certificateType": {
		"code": "SSLOV" // Certificate type code
	},
	"issueType": "Presential",
	"parameters": {
		"primaryDnsName": "www.example.com" // Primary DNS name of the certificate
	},
	"validity": {
		"years": 1 // Certificate validity (the certificate type must allow it)
	},
	"contact": {
		"emailAddress": "admin@example.com", // Holder's email
		"phone": "+5511999990000" // Holder's mobile number, with the country code
	}
}
```

**curl**

```bash
curl -X POST "https://ampliareg.yourcompany.com/api/ssl/orders" \
  -H "X-Api-Key: your-app|YOUR_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @body.json
```

Content of `body.json`:

```json
{
  "registrationAuthority": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  },
  "certificateType": {
    "code": "SSLOV"
  },
  "issueType": "Presential",
  "parameters": {
    "primaryDnsName": "www.example.com"
  },
  "validity": {
    "years": 1
  },
  "contact": {
    "emailAddress": "admin@example.com",
    "phone": "+5511999990000"
  }
}
```

### Create a pre-approved SSL format order

In .NET, the `parameters` class is `CreatePreApprovedOrderSslParameters`. For the other fields, see
[Request fields](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/preapproved-orders#request-fields).

| Field | Required | Description |
|---|---|---|
| `primaryDnsName` | Yes | Primary DNS name of the certificate (maximum 200 characters) |
| `alternativeDnsNames` | No | List of alternative DNS names, each with a maximum of 200 characters. The maximum number of names is the `maxAlternativeDnsNames` of the certificate type |
| `organization` | Yes | Name of the organization (maximum 200 characters) |
| `organizationUnit` | No | Organization unit (maximum 100 characters) |
| `businessCategory` | Yes | Business category: `GovernmentEntity`, `BusinessEntity` or `NonCommercialEntity` |
| `streetAddress` | Yes | Street address, with the street name and the number (maximum 200 characters) |
| `locality` | Yes | City or county (maximum 200 characters) |
| `state` | Yes | State or province name (maximum 200 characters) |
| `zipCode` | No | Postal code. Letters, digits, spaces and hyphens only, maximum 16 characters |
| `countryCode` | Yes | Code of the country of the organization |
| `serialNumber` | Depends | Serial number of the holder in the certificate (maximum 20 characters). Required if `serialNumberMode` is `Required`. Do not send it if the mode is `Disabled` |
| `evCountryCode` | Depends | Code of the country of jurisdiction of incorporation. Required if `evCountryMode` is `Required`. Do not send it if the mode is `Disabled` |

**.NET**

```cs
var response = await ampliaRegService.CreatePreApprovedOrderAsync(new CreatePreApprovedOrderOptions2<CreatePreApprovedOrderSslParameters>() {
	RegistrationAuthorityId = Guid.Parse("3fa85f64-5717-4562-b3fc-2c963f66afa6"), // RA ID
	CertificateType = CertificateTypeReference.FromCode("SSLOV"), // Certificate type code
	Validity = PeriodModel.FromYears(1), // Certificate validity (the certificate type must allow it)
	Parameters = new CreatePreApprovedOrderSslParameters() {
		PrimaryDnsName = "www.example.com", // Primary DNS name of the certificate
		AlternativeDnsNames = new List<string>() { "example.com" }, // Alternative DNS names
		Organization = "Example Comércio LTDA", // Name of the organization
		BusinessCategory = BusinessCategories.BusinessEntity, // Business category
		StreetAddress = "Rua das Palmeiras, 120", // Street address
		Locality = "São Paulo", // City or county
		State = "São Paulo", // State or province name
		ZipCode = "12345-678", // Postal code
		CountryCode = "BR", // Code of the country of the organization
	},
	Contact = new ContactData() {
		EmailAddress = "admin@example.com",
		Phone = "+5511999990000",
	},
});
```

**REST**

```js
POST /api/ssl/orders/pre-approved
X-Subscription: 3fa85f64-5717-4562-b3fc-2c963f66afa6 // RA ID
{
	"certificateType": {
		"code": "SSLOV" // Certificate type code
	},
	"validity": {
		"years": 1 // Certificate validity (the certificate type must allow it)
	},
	"parameters": {
		"primaryDnsName": "www.example.com", // Primary DNS name of the certificate
		"alternativeDnsNames": ["example.com"], // Alternative DNS names
		"organization": "Example Comércio LTDA", // Name of the organization
		"businessCategory": "BusinessEntity", // Business category
		"streetAddress": "Rua das Palmeiras, 120", // Street address
		"locality": "São Paulo", // City or county
		"state": "São Paulo", // State or province name
		"zipCode": "12345-678", // Postal code
		"countryCode": "BR" // Code of the country of the organization
	},
	"contact": {
		"emailAddress": "admin@example.com",
		"phone": "+5511999990000"
	}
}
```

**curl**

```bash
curl -X POST "https://ampliareg.yourcompany.com/api/ssl/orders/pre-approved" \
  -H "X-Api-Key: your-app|YOUR_KEY" \
  -H "X-Subscription: 3fa85f64-5717-4562-b3fc-2c963f66afa6" \
  -H "Content-Type: application/json" \
  --data-binary @body.json
```

Content of `body.json`:

```json
{
  "certificateType": {
    "code": "SSLOV"
  },
  "validity": {
    "years": 1
  },
  "parameters": {
    "primaryDnsName": "www.example.com",
    "alternativeDnsNames": ["example.com"],
    "organization": "Example Comércio LTDA",
    "businessCategory": "BusinessEntity",
    "streetAddress": "Rua das Palmeiras, 120",
    "locality": "São Paulo",
    "state": "São Paulo",
    "zipCode": "12345-678",
    "countryCode": "BR"
  },
  "contact": {
    "emailAddress": "admin@example.com",
    "phone": "+5511999990000"
  }
}
```

## Response

The creation of a regular order returns the fields described in [Response](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/create-order#response). The creation of a pre-approved order
returns the issue keys and the issue links. See [Creating pre-approved orders](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/preapproved-orders).

## Common errors

| Code | When it happens |
|---|---|
| `CertificateFormatMismatch` | In the creation of a regular order: the certificate type has a format different from the route |
| `NifIsRequired` | Cabo Verde, `AutenticacaoIndividual` and `AssinaturaDigital` subtypes: the regular order request has no `nif` |
| `IdentificationIsRequired` | Cabo Verde, `SeloElectronico` subtype: the regular order request has no `identification` |
| `IdentificationCountryCodeIsRequired` | Cabo Verde, `SeloElectronico` subtype: the regular order request has no `identificationCountryCode` |
| `AdssValidationFailed` | Cabo Verde, certificate type with `keyMediaType` equal to `Adss`: the `emailAddress` in `contact` has more than 50 characters |

If a required `parameters` field is missing or a value has an incorrect format, the API returns a validation error. See
[HTTP status codes](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/authentication#http-status-codes). For the other codes, see [Error codes](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/error-codes).

## See also

* [Create an order](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/create-order)
* [Creating pre-approved orders](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/preapproved-orders)
* [Pre-fill the holder data](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/prefill-holder)
* [Add holder documents to an order](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/add-holder-files)
* [Error codes](https://docs.lacunasoftware.com/en-us/articles/amplia-reg/integration/error-codes)
