Tripletex / Tripletex/tripletex-api2
Fetching all invoices by order id
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 49
- Forks
- 47
- Avg merge
- 1h 1m
- Merged PRs (30d)
- 1
Description
Is there any way of fetching all invoices (Faktura and kreditnota) by an order id without doing the following steps?
- Fetch all invoices by a date range (extend search if the credit note is in a different month)
- Filter invoices by looking at the order id
Questions:
- Is it possible to extend OrderDto with a list of references to invoices?
- Is it possible to enable invoice filtering by order ids?
Regarding webhooks
In test env there are only one event of event type invoice.charged. Will this event type emit on credit notes?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the API definitions for OrderDto, invoice search, and the invoice.charged webhook mentioned in the issue. Clarify whether the desired outcome is invoice references on orders, order-id filtering, webhook behavior for credit notes, or all three before defining completion.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100