I just noticed that the sign for concepts “IncreaseDecreaseInAccountsReceivable” and
“IncreaseDecreaseInInventories” are actually reversed. In case someone didn’t notice, I am alerting this fact so that these numbers can be used properly.
The issue is not a problem with XBRL.US’s API, but it seems to be that is the way companies are reporting these two items.
If AccRec increased and Inventories increased, the API calls return a positive AccRec number and a positive Inventories number. However, the cash flow statements would report a negative change in AccRec (use of cash) and a negative change in Inventories (use of cash). I think this is the reason for the reversed sign. The strange thing is all other items such as Change in AccPayable, Change in Other Working Capital or Change in Accrued Liabilities
have the same directional signs on both the API calls and the 10Ks.
Merck (MCK, CIK 310158), the API returned a negative $297MM and positive $145MM.
us-gaap IncreaseDecreaseInAccountsReceivable (297,000,000)
us-gaap IncreaseDecreaseInInventories 145,000,000
However, on the 10K, the change in AccRec is a positive $297MM and change in Inventories is a negative ($145)
I saw the same situation reported at Air Products (APD, CIK 2969 ) and Apple (AAPL, CIK 320193)
Thank you for noticing this, as I have missed that completely. I have not seen any response on this thread, so I decided to share my take on this.
From my perspective, there might a valid reason for this discrepancy. It seems, as the tag itself says (increase/decrease), that the ‘.fact’ simply shows the sign as per the “math’s” calculation, than the accounting interpretation.
So, in the case of inventory, an increase is math’s positive, while in accounting it is negative (use of cash). The same logic goes to receivables.
For payables, an increase happens to be the same simply because the accounting effect is net cash positive (the increase in payables implies less is paid).
I hope that helps, but please let me know your thoughts.
Using the XBRL API with the Public Filings Database
Unless otherwise agreed to in writing, any and all use of the XBRL API to authenticate and retrieve data from the XBRL US Database of Public Filings implies user consent and agreement with the XBRL US API Agreement. If you are unable to agree to these terms, do not use the XBRL API.
To use the XBRL API outside of Google Sheets, your account needs to be provisioned for OAuth2 access.
The national consortium for the business reporting standard
XBRL US is a not-for-profit organization supporting the implementation of digital business reporting standards through the development of taxonomies for use by U.S. public and private sectors, with a goal of interoperability between sectors, and by promoting XBRL adoption through marketplace collaboration.