Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReceivablesList returns amount in default currency #650

Open
somegooser opened this issue Jul 30, 2024 · 6 comments
Open

ReceivablesList returns amount in default currency #650

somegooser opened this issue Jul 30, 2024 · 6 comments

Comments

@somegooser
Copy link

Hi,

I use the ReceivablesList endpoint to retrieve all outstanding payments. The problem I am running into is that the amounts I receive back are in EUR while the payment/invoice itself is booked in a different currency (USD). How can I receive the outstanding amounts in the currency of the booking itself?

@remkobrenters
Copy link
Collaborator

I know that often Exact has an amount in the default currency (Amount DC) and in the selected currency (Amount FC) but this endpoint https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=ReadFinancialReceivablesList works differently. Is the currencyCode EUR in this case or USD?

@somegooser
Copy link
Author

Yes the CurrencyCode is EUR. When you fetch the SalesEntry endpoint with the given InvoiceNumber it actually says the invoice is in USD. So i cant 'read' the OutstandingAmount because the currency is in EUR while the Invoice is in USD.

@remkobrenters
Copy link
Collaborator

And if you lookup the same payment through https://start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=BulkCashflowReceivables does it include the expected value in the AmountFC field for example?

@somegooser
Copy link
Author

Thank you. The amount here is in the currency of the invoice. So thats a good thing!

Is the value in the 'Amount' the outstanding amount? I cant find any info about that in the API docs.

@remkobrenters
Copy link
Collaborator

Good. I cannot tell you if that is the outstanding amount or the total amount from the top of my mind. Not sure if anyone else knows this?

@remkobrenters
Copy link
Collaborator

@somegooser did you found out and is there something you can share about it to resolve this issue but also as a reference for people in the future who run into similar questions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants