-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtransverses.go
36 lines (28 loc) · 1.02 KB
/
transverses.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package choruspro
// TransversesService gère les appels à l'API Transverses
// API docs : https://developer.aife.economie.gouv.fr/api-catalog-sandbox?filter=Transverses
type TransversesService service
// Liste des langues disponibles
type CodeLangue string
const (
CodeLangueFr CodeLangue = "FR"
CodeLangueEn CodeLangue = "EN"
)
type codeLangueOptions struct {
CodeLangue CodeLangue `json:"codeLangue,omitempty"`
}
type SyntaxeFlux string
const (
SyntaxeFluxE1UblInvoice SyntaxeFlux = "IN_DP_E1_UBL_INVOICE"
SyntaxeFluxE1Cii16B SyntaxeFlux = "IN_DP_E1_CII_16B"
SyntaxeFluxE2UblInvoiceMin SyntaxeFlux = "IN_DP_E2_UBL_INVOICE_MIN"
SyntaxeFluxE2CppFactureMin SyntaxeFlux = "IN_DP_E2_CPP_FACTURE_MIN"
SyntaxeFluxE2CiiMin16B SyntaxeFlux = "IN_DP_E2_CII_MIN_16B"
SyntaxeFluxE2CiiFacturx SyntaxeFlux = "IN_DP_E2_CII_FACTURX"
SyntaxeFluxE3UblInvoice SyntaxeFlux = "IN_DP_E3_UBL_INVOICE"
)
type FormatFichier string
const (
FormatFichierPdf FormatFichier = "PDF"
FormatFichierPivot FormatFichier = "PIVOT"
)