mollie-api-php icon indicating copy to clipboard operation
mollie-api-php copied to clipboard

Settlement.periods.invoiceId refers to Invoice with partner commissions instead of transaction costs

Open holtkamp opened this issue 3 years ago • 3 comments

Specifications

  • API Version: 2

Describe the issue

Observations Invoices Since 2020Q4 (at least, for my account), Mollie has issued separate invoices for:

  1. the costs for transaction fees: invoice reference / number starts with MOLR
  2. the revenue for partner commissions: invoice reference / number starts with MOLS where the S might stand for "self billing"?

Settlements A Settlement resource has a property "periods" and each period might have an "invoiceId" property which has the following documentation:

"The ID of the invoice that was created to invoice specifically the costs in this month/period."

However, it seems that Settlement.periods.invoiceId points to the Invoice with the revenue with the partner commissions / the self billing invoice...

Questions

  1. Is this correct / intended behaviour, if so might be good to document it?
  2. How can the Invoice with the actual transaction costs can be determined?

holtkamp avatar Jan 17 '22 11:01 holtkamp

Hi @holtkamp,

Let me ask around for you.

sandervanhooft avatar Jan 18 '22 08:01 sandervanhooft

At first glance it indeed seems to be a bug, Mollie is looking into it. Thanks for reporting!

sandervanhooft avatar Jan 18 '22 11:01 sandervanhooft

Any updates on this bug in a production environment?

holtkamp avatar Mar 14 '22 15:03 holtkamp

Hello @holtkamp,

Please accept my apologies for the delay in my response. I am pleased to inform you that the bug has been resolved.

Naoray avatar Mar 07 '23 08:03 Naoray