Submit PDF invoice

DESCRIPTION

The deposerPDFFacture API allows to submit a PDF file and to initiate the recognition of characters. The invoice once interpreted has the status "INTERPRETEE_OCR". It will be submitted via the "submitFacture" method. The PDF file must not exceed 10 MB. If the file exceeds this size, a 413 error will be raised.

ENVIRONMENTS

Production url https://chorus-pro.gouv.fr:5443/service/factures/deposer/pdf
Qualification url https://chorus-pro.gouv.fr:5443/service-qualif/factures/deposer/pdf

SETTINGS

Header parameters

Technical account Varchar Required
Password Varchar Required
Certificate Varchar Required
Content-Type Varchar Required

Full description of API inpout and output parameters

Consult the API appendices API

{
                "idUtilisateurCourant" : 331,
                "fichierFacture" : "Fichier encodé en base 64",
                "formatDepot" : "PDF_NON_SIGNE",
                "nomFichier" : "facture_capgemini.pdf"
}
{ 
"codeRetour": 0, 
"libelle": "CODE PAR DEFAUT", 
"codeDestinataire": null, 
"codeDeviseFacture": "EUR", 
"codeFournisseur": null, 
"codeServiceExecutant": null, 
"dateFacture": "2016-01-28", 
"montantTVA": 5.5, 
"numeroBonCommande": null, 
"numeroFacture": "100", 
"pieceJointeId": 28093, 
"typeFacture": "FACTURE", 
"typeTva": "TVA_SUR_ENCAISSEMENT" 
}
Print Friendly, PDF & Email
Back To Top