Aller au contenu principal

Télécharger une facture dans différents formats

GET 

/api/v1/invoices/:id/download

Télécharge une facture dans différents formats.

Formats pris en charge :

  • pdf : document PDF standard (par défaut)
  • ubl : XML UBL 2.1 Invoice (conforme EN16931)
  • cii : XML UN/CEFACT Cross Industry Invoice (conforme EN16931)
  • facturx : PDF/A-3 Factur-X / ZUGFeRD avec XML CII intégré

Le fichier est retourné en pièce jointe avec l'en-tête Content-Disposition approprié.

Request​

Responses​

Le fichier de la facture dans le format demandé, retourné en pièce jointe binaire avec un en-tête Content-Disposition: attachment.