API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

PDF of a (draft) invoice


I'm using the REST call /invoices/drafts/<num>/pdf (where <num> is the (draft) invoice number. I get the PDF back - but in binary. Is there a way to get it as base64?


PS. I could off cause use javascript btoa, but I'm getting an error using that: InvalidCharacterError (DOM Exception 5): The string contains invalid characters.
created Mar 3, 2017 by Claus
0% Accept Rate
Q 1 A 0 C 1

Visma e-conomic A/S