Hi team,
I’m looking for a reliable, supported way to programmatically retrieve the invoice that results from a purchased quote, starting from a Quote ID, using the Atlassian Commerce REST API.
The documentation lists separate Quotes and Invoices endpoints. I cannot find a direct cross-reference in the payloads (for example sourceQuoteId on the invoice, or a single generatedInvoiceId on the quote) that unambiguously links the two.
I have already reviewed the official reference and see invoiceGroupId on the quote and the invoice-group query parameter on GET /v2/invoices, plus the need for the transaction account header — but I’d like official confirmation of the recommended correlation approach.
My questions:
Thanks in advance.
Welcome to the community.
I don't think there is any relation between quote id and invoice id (you would need to check this with Atlassian).
Also as a quote is a proposal and not a definitive invoice.
You can accept a quote from Atlassian, but invoicing is probably not related and have there own id's.
Yes, that’s exactly the reason behind my question. I understand that a quote is a proposal and does not have a direct one-to-one relationship with an invoice.
However, from an integration perspective, there is still a need to identify which invoice was ultimately generated as a result of a specific quote.
Since there is no direct reference between Quote ID and Invoice ID in the API payloads, I’m trying to understand whether there is a supported way to correlate them indirectly, for example:
In other words, I’m looking for a reliable way to trace the invoice that originates from a given quote, using the public API.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @UK-Marvin
There is no correlation in my optics, if you want clarity you will have to contact Atlassian Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Olena Havrylenko -- Welcome to the Atlassian Community!
Just following up to check if the suggestions from Marc answered your question. If so, please consider marking this one as "answered". That will help others with a similar need find solutions faster. If not, please let the community know what help you need.
Thanks, and kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.