Get the fees report
Totals the fees Comecero charged your account, per currency, with one breakdown row per fee type. Fees the provider already took from the money (Comecero Express Payments) are shown apart as collected_total and are not in total.
Send accounting_id to get the fees on one bill. With an accounting_id and no dates, every date is included. With no accounting_id and no dates, the report covers yesterday in the report time zone. A date_start later than today is refused. The range is read against the date each fee was created.
Without currency, amounts stay in each fee's own currency, one group per currency. With one of your reporting currencies, every fee is converted into it and there is one group. Needs a secret or trusted token with permission to read reports.
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
date_start?stringOnly items on or after this date. Send ISO 8601 (2026-11-01T00:00:00Z or 2026-11-01T00:00:00-05:00) or a shorthand: 2026 means the start of 2026, 2026-11 the start of November, 2026-11-01 the start of that day. A date with no offset is read in timezone, or in the account's time zone when you send none. It must not be after date_end (400).
date_end?stringOnly items on or before this date. Same formats as date_start, but a shorthand means the end of the period: 2026-11 is the last instant of November, 2026-11-30 the last instant of that day. A date with no offset is read in timezone, or in the account's time zone when you send none.
timezone?stringAn IANA time zone name, such as America/New_York or UTC. It sets how date_start and date_end are read and the time zone of every date in the response. The default is the account's time zone (Settings, Technical), or UTC when it has none. A name that is not known is a 400.
sort_by?stringHow to order the currency groups. Any other value orders by total.
"total""total""currency""transaction_count"desc?booleanSort in descending order (newest, largest or last first) when true. The default is false. A value other than true or false is a 400.
falseformatted?booleanWhen true, the object also has a formatted child with amounts and dates as display text in the shopper's language and currency (for example $19.99 or November 7, 2026). The default is false. See Localized formatting.
falsetype?stringOnly count fees of this type.
"payment_completed""refund_completed""auth""zero_auth""capture""void""decline""chargeback""fx_conversion""international_card""payout""platform_monthly""platform_annual""support_annual""miscellaneous"category?stringOnly count fees in this category: transaction (fees on payments and refunds) or operation (account fees).
"transaction""operation"accounting_id?stringOnly count the fees on this bill, for example C-AB1234R261130USD. It starts with C- and is 18 or 20 characters long.
currency?stringOne of your two reporting currencies (Settings, General). Any other value is refused. Leave it out to keep each fee in its own currency.
The fees report.
application/json- response
The fees Comecero charged the account in a date range or on one bill, totalled per currency and broken down by fee type.
object?"report.fees"The object type. Always report.fees.
"report.fees"url?stringThe URL that returns this report again, with the dates, filters and time zone it used.
uriaccount_id?|The account the report is for.
date_created?stringWhen the report was run, in the report time zone.
date-timedate_start?|The start of the range the report covers, in the report time zone.
date-timedate_end?|The end of the range the report covers, in the report time zone.
date-timetimezone?stringThe time zone used to read the dates.
test?booleanTrue when the report covers test mode data.
type?|The fee type you filtered on, or null.
"payment_completed""refund_completed""auth""zero_auth""capture""void""decline""chargeback""fx_conversion""international_card""payout""platform_monthly""platform_annual""support_annual""miscellaneous"nulldata?array<>One group per currency. When you ask for a reporting currency, all fees are converted into it and there is one group.
formatted?The report dates as display text in the shopper's language. Only present when formatted=true.
curl -X GET 'https://api.comecero.com/api/v1/reports/fees'{ "object": "report.fees", "url": "https://api.comecero.com/api/v1/reports/fees?date_start=2026-11-01T00:00:00&date_end=2026-11-06T23:59:59&timezone=UTC", "account_id": "AB1234", "date_created": "2026-11-07T14:12:44Z", "date_start": "2026-11-01T00:00:00Z", "date_end": "2026-11-06T23:59:59Z", "timezone": "UTC", "test": true, "type": null, "data": [ { "currency": "USD", "total": 4.5, "transaction_count": 3, "collected_total": 0, "collected_transaction_count": 0, "breakdowns": [ { "type": "payment_completed", "category": "transaction", "collected": false, "total": 4.5, "transaction_count": 3 } ] } ]}Get the commissions report GET
Totals the commissions Comecero owes your account, per currency, with one breakdown row per commission type. A commission is recorded when a payment is taken on a Comecero-owned gateway: the settlement total less tax, or the full total on an agent account. A refund records a negative commission. Send `accounting_id` to get the commissions on one payout. With an `accounting_id` and no dates, every date is included. With no `accounting_id` and no dates, the report covers yesterday in the report time zone. A `date_start` later than today is refused. Without `currency`, amounts stay in each commission's own currency, one group per currency. With one of your reporting currencies, every commission is converted into it and there is one group. Needs a secret or trusted token with permission to read reports.
Get the items report GET
Totals your sales per product for a date range: subtotal, tax, total, number of orders and units sold, one row per `item_id`. The list is offset-based, up to 100 rows a page. With no dates, the report covers yesterday in the report time zone. A `date_end` later than today is cut back to the end of today, and a `date_start` later than today is refused. There is no maximum range. Amounts are in your primary reporting currency, or your secondary one when you send it in `currency`. Needs a secret or trusted token with permission to read reports.