Dossier de production
Introduction
Dossier de production (qui peut être aussi considéré comme une entreprise / un établissement).
{
"name": "MyUnisoft",
"reference": "MYUN",
"address": {
"country": "FRANCE",
"city": "MASSY",
"fullName": "4 B Rue GALVANI",
"addressNumber": "4",
"locatingIndex": "B",
"addressComplement": null,
"postalCode": "91300",
"streetName": "GALVANI",
"streetType": "Rue"
},
"contact": {
"firstName": "Régis",
"lastName": "SAMUEL",
"phoneNumber": "00 00 00 00 00",
"mobilePhoneNumber": "00 00 00 00 00",
"mail": null
},
"RCS": {
"producerId": "99",
"name": "PARIS"
},
"SIRET": "84014327500039",
"capital": 10000
}
Interfaces
Liste des interfaces communes:
TypeScript
```ts
interface AccountingFolder {
name: string;
reference: string | null;
address: Address;
contact: {
firstName: string | null;
lastName: string | null;
phoneNumber: string | null;
mobilePhoneNumber: string | null;
mail: string | null;
}
RCS: {
producerId: string;
name: string;
}
SIRET: string | null;
capital: number;
}
```
JSON Schema
```json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"reference": {
"type": "string",
"nullable": true
},
"address": {
"additionalProperties": false,
"type": "object",
"properties": {
"addressNumber": {
"type": "string",
"nullable": true
},
"addressComplement": {
"type": "string",
"nullable": true
},
"postalCode": {
"type": "string",
"nullable": true
},
"streetName": {
"type": "string",
"nullable": true
},
"locatingIndex": {
"type": "string",
"nullable": true
},
"fullname": {
"type": "string",
"nullable": true
},
"city": {
"type": "string",
"nullable": true
},
"country": {
"type": "string",
"nullable": true
}
}
},
"contact": {
"type": "object",
"properties": {
"firstName": {
"type": "string",
"nullable": true
},
"lastName": {
"type": "string",
"nullable": true
},
"phoneNumber": {
"type": "string",
"nullable": true
},
"mobilePhoneNumber": {
"type": "string",
"nullable": true
},
"mail": {
"type": "string",
"nullable": true
}
}
},
"RCS": {
"additionalProperties": false,
"description": "Registre du Commerce",
"type": "object",
"properties": {
"producerId": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"producerId",
"name"
]
},
"SIRET": {
"type": "string",
"nullable": true
},
"capital": {
"type": "number"
}
},
"required": [
"name",
"address",
"contact",
"RCS",
"capital"
]
}
```
(retour en haut de page)
Compatibilité TRA
Paramètres généraux (1) (PS1). Page 11 de la spécification.
nom de la colonne |
position |
chemin de la propriété MyUnisoft |
FIXE |
1 |
N/A |
IDENTIFIANT |
4 |
PS1 |
NOM |
7 |
name |
ADRESSE1 |
42 |
address.streetName |
ADRESSE2 |
77 |
address.addressComplement |
CODEPOSTAL |
147 |
address.postalCode |
VILLE |
156 |
address.city |
PAYS |
191 |
address.country |
TELEPHONE |
194 |
contact.phoneNumber |
EMAIL |
269 |
contact.mail |
SIRET |
391 |
SIRET |
RCS |
426 |
RCS.name |
CAPITAL |
478 |
capital |