In iXpole, you have created sales and
contract for your events or matches.
Everything you need to have to collect
your payment is present, but in iXpole, we
don't create invoices. Invoices is a very
specific matter of the sales process, and
there are a lot of tools who handle this
far better than we could do. Therefore, we
have created several API endpoints, so your
accounting system would be able to create
those invoices for you...
In this article you will learn how to use the API to create invoices in your accounting package.
Let's get you
started
- Get new instalments which need to be invoiced
- Create/Update
customers
- Create/Update
products
- Update invoice data from your
accounting system
- Update payment status of
invoice
1. Get new
instalments which need to be
invoiced
To get the new
instalments, you need to call GET
api/instalments
This will provide you a list with all
the info you need to create the
invoice. But you need to check if this
might be for a new customer and might
contain a new product
2. Create/Update customers
4. Update invoice data from your
accounting system
We expect following data to be
returned to us from the accounting
system:
- InstalmentCode = This is the key on
which the invoice in your accounting
system and the instalment in iXpole
are matched.
- invoicenumber = This is the
invoice number from the accounting
system
- invoice duedate = This is the
invoice duedate
- PDF
layout to be returned = This is
the PDF layout of the invoice. To
be provided in BASE64
string.
If your interface creates a draft
invoice or sales order, in stead of a
real invoice, you should first return
‘D’ + document number to iXpole. This
will set the status of the instalment
in iXpole to Pending and makes sure
that this instalment will not be
provided a second time when you call
GET api/instalments.
- InstalmentCode = This is the key on
which the invoice in your accounting
system and the instalment in iXpole
are matched.
- paymentNo= This is the payment refrerence number from the accounting
system