title: Retrieve "Shopify Payments" fees by Order # for reconciliation with Accounting + Bank Deposits?
body: <p>Reconciling deposits, within an accounting system, coming into a Shopify User's bank account from a Shopify store running Shopify Payments (or otherwise) appears to be one of the things people frequently stumble on — based on the number of requests about the topic on Shopify's Support Community Forums, for example: <a href="https://community.shopify.com/c/Shopify-APIs-SDKs/Fees-charged-by-Shopify-via-API/m-p/265261/" rel="nofollow noreferrer">https://community.shopify.com/c/Shopify-APIs-SDKs/Fees-charged-by-Shopify-via-API/m-p/265261/</a></p>
  
  <p>The issue (for accounting) is that Shopify Payments removes the Fee Amount (for a full list of fees see: <a href="https://www.shopify.com/pricing" rel="nofollow noreferrer">https://www.shopify.com/pricing</a>) prior to depositing the balance of the transaction into a Store Owner's bank account.</p>
  
  <p><strong>Shopify Fees generally look something like</strong>: <code>2.6% of transaction value + $0.30</code></p>
  
  <p>Calculation of the fees that should be taken out based on the above is pretty simple (hard code the fee schedule), until those fees change at some point in the future.</p>
  
  <h2>How does this impact Integrations?</h2>
  
  <p>For many of the available simple integrations this causes a discrepancy between the invoice amount of money hitting the bank account and the amount of money we 'Expect' to hit the bank account based on the Shopify Invoice Amount that is readily retrieved via Shopify's API by many such solutions.</p>
  
  <p>That discrepancy means that it is necessary for an Accounting based user to manually deduce which Shopify Invoice is associated with which incomming bank deposit — and then manually add a negative line item to account for the difference / balance the books.</p>
  
  <blockquote>
    <p>This is the suggested methodology coming from several different Accounting System / Software vendors (<strong>specifically Xero and Quickbooks</strong>) when asked how their customers solved the above issue.</p>
  </blockquote>
  
  <p>I know that there are solutions out there that attempt to solve all of the above problems (with varying degrees of success), but due to the amount of Kitting that my current situation involves none of them adequately solve the other required functionality for our business.</p>
  
  <blockquote>
    <p>We need to be able to find the fees (or alternately calculate them ourselves) and add those fees to the invoice so our accounting system is expecting the correct amount of funds to hit our bank account — hence the question: How can we retrieve the current accounts "Shopify Payments" fees / rates.</p>
  </blockquote>
  
  <p>Ideally I want to avoid hard coding this information since Shopify likely does change the fees (potentially with only minor notification) meaning that at that point our integration would break.  It would be much better to be able to retrieve the fee schedule for a given account via API request thereby avoiding issue if the fees change.</p>
  
  <p>I have multiple clients who are also facing the same issue — so I figured it was worth checking to see if anyone has faced / solved the problem, and discuss my current solution </p>
  
  <h2>What does Shopify Say?</h2>
  
  <p>Generally their comment is that there is no road map to including the fees deducted from an invoice when responding to an API Request as taken from: <a href="https://community.shopify.com/c/Shopify-APIs-SDKs/Fees-charged-by-Shopify-via-API/m-p/265261/" rel="nofollow noreferrer">https://community.shopify.com/c/Shopify-APIs-SDKs/Fees-charged-by-Shopify-via-API/m-p/265261/</a> (which seems strange) — meaning that 'wont do' is the best classification for the feature request that would provide this information with simple / readily available calls to the currently available API Endpoints.</p>
  
  <blockquote>
    <p>Without access to Fee amounts on a per order basis I am not sure how Shopify Stores are currently interfacing with their account systems.  </p>
  </blockquote>
  
  <p>I would love to hear solutions from any Shopify user who may have encountered this issue previously!  I opened a ticket request with support so I will see what I get back over there as well and post back.</p>