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

Create simple invoice

Hi guys

I have searched Google thin for results, but couldn't seem to find an answer.
If I want, through php to create a simple invoice with two invoice lines. What's the approach from scratch?

1. How do I connect
2. How do I create an invoice
3. How do I add two lines to the invoice
4. How do I get the api to return the new invoice in pdf?

Hope there is a kind sole to help me out.

Best Regards
created Jun 18, 2016 by PhillipStemann
0% Accept Rate
Q 1 A 0 C 0

1 Answer




Make a developer account: https://www.e-conomic.com/developer

Grab a demo account: https://www.e-conomic.dk/regnskabsprogram/demo-alle

Connect the demo and the developer accounts: https://www.e-conomic.com/developer/connect


POST an invoice including the lines: https://restdocs.e-conomic.com/#post-invoices-experimental-drafts


Include your lines in the POST in step 2.


You can see a demo of getting the pdf here: 


"pdf": { "download": "https://restapi.e-conomic.com/invoices-experimental/booked/20001/pdf?demo=true"


answered Jun 20, 2016 by Apps
edited Jun 20, 2016 by olej
Visma e-conomic A/S