Code Monkey home page Code Monkey logo

Comments (15)

Iomegan avatar Iomegan commented on May 29, 2024 1

I think I destroyed the financial_report.csv. Have you been able to repair it ?

from apple-slicer.

fedoco avatar fedoco commented on May 29, 2024 1

No worries, I fixed it already.

from apple-slicer.

fedoco avatar fedoco commented on May 29, 2024

Hmm, the issue you described has never happened to me.

Did you compare the script's output to the actual amount of money you received in your bank account? Or did you compare it to the value shown in iTunes Connect? I'm asking because it's common that the latter is slightly off and subject to change until the earnings have finally been payed out by Apple.

Please also make sure that you download the final financial_report.csv from iTunes Connect after the payment has been made by Apple.

from apple-slicer.

Iomegan avatar Iomegan commented on May 29, 2024

Compared it to both. Payment and iTunes Connect values are the same. Downloaded the financial_report.csv after payment. Just tried the previous month. The same. Just a few cents this time, but still not correct.

from apple-slicer.

fedoco avatar fedoco commented on May 29, 2024

Well, I'm afraid I would need some actual files then to investigate further. Would you take the time to prepare some (anonymized) sample data?

from apple-slicer.

Iomegan avatar Iomegan commented on May 29, 2024

Yes, give me some minutes...

from apple-slicer.

Iomegan avatar Iomegan commented on May 29, 2024

Download here. Please let me know when you've got the data, so I can remove it. I also included the data from the iTunes Connect page.

from apple-slicer.

fedoco avatar fedoco commented on May 29, 2024

Got it, thanks!

from apple-slicer.

fedoco avatar fedoco commented on May 29, 2024

I have taken a look into it now and noticed that Apple's rounding is kind of strange, to say the least!
Let's look at your Russian earnings, for example. The formula in this case is simply Geschuldeter Gesamtbetrag * Wechselkurs. Please punch those values into your favourite calculator app and compare the result with Apple's result in the Gewinn column: As you will see, there's a rounding issue already!
They're either using a more precise exchange rate internally or there is some serious bending of common financial rounding rules. Will continue investigating later.

from apple-slicer.

Iomegan avatar Iomegan commented on May 29, 2024

This is strange indeed. They must be using more precise exchange rates. Are you sure that this never happened with your reports? I can't be the only one.

from apple-slicer.

fedoco avatar fedoco commented on May 29, 2024

My reports definitely never had that happening – also, apple-slicer apparently doesn't have a too large user base...

Unfortunately, I cannot think of a way to fix the calculations without knowing Apple's rounding algorithm. I'm startled how they can deduce 35.05 € from 35.041811 €! Not sure how to proceed from here 🤔

from apple-slicer.

Iomegan avatar Iomegan commented on May 29, 2024

I wonder how is everybody else is doing their invoices then. By hand? o_O

If the exchange rate they are using is 0,0135732 instead of just 0,01357 then 2582,30 RUB * 0,0135732 is 35,0500 €.

I'll contact Apple and ask why their own equations don't work...

from apple-slicer.

fedoco avatar fedoco commented on May 29, 2024

Yes, but guessing the exact exchange rate Apple used isn't really feasible. Even using external sources wouldn't work because it's not clear of which day they use the FX rate.

Maybe you could ask on the Apple dev forums if others faced similar problems and how they solved them? I'll continue trying to come up with a solution, too. In the meantime, it is probably okay to add a precautionary "currency conversion discrepancies" item to your invoice.

from apple-slicer.

fedoco avatar fedoco commented on May 29, 2024

Did Apple get back to you yet?

from apple-slicer.

fedoco avatar fedoco commented on May 29, 2024

Closing due to inactivity. Please file an issue again if the problem persists!

from apple-slicer.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.