On this page
Three files, three questions
| File | Where | What it answers |
|---|---|---|
| Invoices | Invoices page | What did I sell? Order id, status, dollar price, coin, amount asked and paid, payment date |
| Withdrawals | Balance & withdrawals → Withdrawals | Where did I send it? Amount, fee, destination, TxID, note |
| Balance history | Balance & withdrawals → Balance history | How did my balance move? Type, coin, signed amount, balance after |
The Export button on each page asks for a period, a format and the language of the column headers. The invoice file lists requests, so unpaid and expired ones are in it too; filter by status. The money itself is in the balance history. Its rows are typed: payment, withdrawal, a refunded withdrawal that failed, an amount released after review, an adjustment or a referral reward. A payment held for review shows up only once it is released.
CSV, Excel or PDF
- CSV is for importing into accounting software. It is comma separated, UTF-8. If your Excel expects semicolons, use Data → From Text/CSV and choose the comma.
- Excel is for filtering and checking. Amounts are written as text with a decimal point, so convert them to numbers before you sum a column.
- PDF is for reading and filing. Ids, payment addresses and notes are left out, and each coin gets a total at the end.
CSV and Excel hold at most 10,000 rows, a PDF at most 2,000, and they keep the newest; a PDF that was cut off says so on every page. If you get exactly that many, split the period and export again. Files stay available for 7 days, so download them to your own archive.
Dates are in UTC
Every date column is UTC, and so are the days you pick in the dashboard. A payment at 01:30 on 1 December in Istanbul reads 22:30 on 30 November; one at 20:00 on 30 November in New York reads 01:00 on 1 December. Through the API you can shift the range to your own month. The start is included, the end is not.
The invoice file is filtered by creation date. An invoice made on 30 November and paid on 1 December is in the November file, with December in its paid column. If you close periods by the day money arrived, work from the balance history.
Which rate, which dollar value
Amount (USD) in the invoice file is the price. It is empty on invoices you priced in a coin. There is no rate column. Two rates are on record, and they are not the same thing:
- The locked rate (
rate_usd), fixed when the customer picked a coin. It decided how many TRX the invoice asked for. - The dollar value of the payment (
usd_value), at the market rate when each payment became final. It stands next to the amount on the invoice in the dashboard, and in thepaymentslist of the API.
For USDT both are one dollar. For TRX they can differ a little. Ask your accountant which one belongs in your books and stay with it. Our article on the rate lock explains where the gap comes from.
Where commission and network fee appear
A Payment row in the balance history is net. Network fee and commission are already off, and there is no separate line for them. Take a $250 USDT invoice on which you bear the commission:
| Record | Value |
|---|---|
| Invoices: Amount (USD) | 250.00 |
| Invoices: Paid | 251 USDT |
| Network fee | 1 USDT |
| Commission (0.4%) | 1 USDT |
| Balance history: Payment | +249 USDT |
The gap between paid and net is network fee plus commission. The network fee is 1 USDT, once per USDT invoice, and nothing on TRX; the rest is commission. If payment e-mails are on, each one itemises amount, network fee, commission and what was added. Withdrawals split the same way. Take out 200 USDT and the withdrawal file shows amount 200, fee 1, while the balance history has one row of −201.
Have them arrive every month
Create a live key with nothing but the reports scope. It cannot issue invoices, read balances or withdraw, which makes it the right key for a bookkeeping server. Fill in its IP allowlist and give it an end date if you like. This script downloads one month:
import os
from hisarpay import HisarPay
client = HisarPay(os.environ["HISARPAY_REPORTS_KEY"])
for kind in ("invoices", "withdrawals", "balance_transactions"):
report = client.reports.create_and_wait({
"kind": kind,
"format": "csv",
"lang": "en",
"from": "2026-11-01T00:00:00Z", # UTC
"to": "2026-12-01T00:00:00Z",
})
if report["status"] != "ready":
raise SystemExit(f"{kind}: {report['status']}")
file = client.reports.download(report["id"])
with open(f"2026-11-{kind}.csv", "wb") as fh:
fh.write(file["data"])Up to three reports can be in progress, so asking one after another is fine. With a test key, withdrawals and balance history come back empty, because test mode has no balance. Other options are in the reports guide.
Match it with exchange and bank
- Add the period’s rows to the opening balance, for each coin separately. You should arrive at the balance on the newest row, which is at the top of the file.
- Find the TxID of every completed withdrawal among the deposits of your wallet or exchange account. What arrived there is the amount; the fee is separate.
- Sales and trading fees on an exchange are not in HisarPay’s records. Add that statement.
- Match the bank line with the sale. The chain is complete: invoice, net entry, withdrawal, sale, bank.
HisarPay does not issue tax invoices and gives no tax or legal advice. The PDF receipt on the payment page documents a payment and does not replace your invoice. Ask your accountant how to keep these records.
Frequently asked questions
Do test payments end up in live files?
How do I match the reference in the balance history to an invoice?
What if a month has more than 10,000 rows?
How is crypto income taxed?
- #Accounting
- #Reports
- #CSV
- #Reconciliation
Try crypto payments in test mode
No setup or monthly fees. Experiment as much as you like in test mode and go live when you are ready.