Comments (15)
I think I destroyed the financial_report.csv. Have you been able to repair it ?
from apple-slicer.
No worries, I fixed it already.
from apple-slicer.
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.
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.
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.
Yes, give me some minutes...
from apple-slicer.
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.
Got it, thanks!
from apple-slicer.
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.
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.
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.
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.
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.
Did Apple get back to you yet?
from apple-slicer.
Closing due to inactivity. Please file an issue again if the problem persists!
from apple-slicer.
Related Issues (11)
- USD - RoW FX Rate not used HOT 5
- "Your sales" vs "Apple's sales" HOT 1
- KeyError: 'HRK' HOT 11
- KeyError: 'PHP' HOT 1
- Currency conversion error HOT 11
- KeyError: 'USD - RoW' when doing a german report HOT 8
- Apple's incomplete `financial_report.csv` column count is no longer 11 HOT 4
- No distinction between European Union and Non-EU countries HOT 2
- android-slicer HOT 1
- [error] decimal.DivisionByZero HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apple-slicer.