New API Endpoint: Retrieve Matched Booked Entries
We’re happy to introduce a new addition to the e-conomic API that many of you have been asking for:
the ability to retrieve matched booked entries.
This endpoint makes it easier to understand how entries are matched, making it easier to check which invoices and payments have been matched both for customer- as well as supplier entries.
Filtering options
With the new endpoint, you can retrieve matched pairs of booked entries.
You can filter by specific entries using fromEntry and toEntry
This allows you to either look up all matches related to a single entry.
Example
When filtering by a specific entry, you can query for a specific entry:
matched-pairs?filter=fromEntry$eq:{entryNumber}$or:toEntry$eq:{entryNumber}
This will return all matches where the entry appears either as fromEntry or toEntry.
Date-based queries
When filtering by date, the endpoint returns all matches where either side of the pair falls within the specified date range.
Important note
The endpoint returns the full EntryAmountDKK for each entry. It does not return the specific amount matched between two entries (e.g. in partial matches). This is important to keep in mind in cases where partial matching is involved.
Also note that entry IDs are not guaranteed to be unique in the response. The same entry may appear multiple times if it has been matched with several other entries.
Get started
The endpoint is available now. You can explore the full documentation here:
Please do reach out to the API support at
api@e-conomic.com if you have any further questions or feedback.
Happy developing.