Error: Operations are not balanced:
assets: 0 !== -1.144098 -> liabilities: 7 + (revenue: -5.1354120000000005 - expenses: -0.855902) + equity: -3.8645879999999995
[{"balanceId":"EWPending","currency":"EUR","creditAmount":0,"debitAmount":5.1354120000000005},{"balanceId":"EWConversionEUR","currency":"EUR","creditAmount":5.1354120000000005,"debitAmount":0},{"balanceId":"EWConversionJPY","currency":"JPY","creditAmount":0,"debitAmount":9},{"balanceId":"01G7CR3FDM0M5FF5H9960RWFBM","currency":"JPY","creditAmount":7},{"balanceId":"StripeConversionFees","currency":"EUR","debitAmount":0.855902}]
at OperationError.NotBalanced (/app/node_modules/@vizeat/double-entry-accounting/dist/index.js:29:16)
at validateOperations (/app/node_modules/@vizeat/double-entry-accounting/dist/index.js:79:34)
at makeTransaction (/app/node_modules/@vizeat/double-entry-accounting/dist/index.js:85:9)
at CorrectPayinError.execute (/app/node_modules/@vizeat/core/dist/mutations/lib/accounting/CorrectPayinError.js:61:48)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async /app/node_modules/@vizeat/core/dist/mutations/lib/Mutation.js:138:37
at async /app/index.js:148:31
Data
{
"_meta": {
"ulid": "01K634B0JSNY6AN8G864HN0CD5",
"name": "CorrectPayinError",
"sentryTrace": "bc2437c2400f515df73386168013f46e-e3af0af4a5d78c51-0",
"sentryBagage": "sentry-environment=production,sentry-release=d139a38db63ebd6fe98f0bcd8250ae7d3fc050ad,sentry-public_key=8ae32874b5f94f7e8c42f26de589736d,sentry-trace_id=bc2437c2400f515df73386168013f46e,sentry-sampled=false",
"jobId": "CorrectPayinError:Job:01K634B0JSNY6AN8G864HN0CD5"
},
"amount": 7,
"booking": {
"cancellation_deadline": "P2D",
"date": "2025-10-04T00:00:00.000Z",
"id": 274648,
"user_id": 224568,
"event_id": 22373,
"partner_demand_id": null,
"request_id": null,
"conversation_id": 314946,
"cancellation_reason": null,
"transaction_id": null,
"place_id": 545753,
"status": "tentative",
"seats": 2,
"occasion": null,
"additional_info": null,
"should_privatize_date": false,
"is_origin_private": false,
"is_origin_instant_booking": false,
"is_made_by_merchant_api": false,
"created_by_api": "screen-api",
"ew_free_seats": 0,
"host_free_seats": 0,
"created_at": "2025-09-26T13:39:05.000Z",
"updated_at": "2025-09-26T13:45:22.000Z",
"deleted_at": null,
"old_id": null,
"ewid": null,
"ewradid": null,
"gcid": null
},
"eurToHostRate": 174.814,
"host": {
"billing_country_iso": "JP",
"firstname": "Yuma",
"lastname": "Wada",
"nickname": null,
"birth_date": "1988-08-19T00:00:00.000Z",
"phone": "+815052408828",
"country_iso": "JP",
"id": 221561,
"account_id": 221884,
"currency_id": 8,
"billing_address": "Japan",
"parent_id": null,
"avatar_id": 458857,
"host_application_id": null,
"civility": "MR",
"description_title": null,
"description": "After working in America and Europe, I moved back to Japan and started Ninja Food Tours, a company that offers walking food tours in Tokyo. I now have a greater appreciation of Japanese culture and food & drinks after living outside of Japan and spending so many hours in the office for my previous corporate job...I am not saying long hours in the office are necessarily a bad thing :). \n\nMy weekly routine includes spending a lot of time to explore Tokyo to find more hidden gems and small family owned businesses in the city. \n",
"affiliation_code": null,
"newsletter": true,
"tos": true,
"created_at": "2017-08-03T04:32:58.000Z",
"updated_at": "2021-09-07T13:44:23.000Z",
"deleted_at": null,
"old_id": null,
"ewid": null,
"locality": "Shinjuku",
"published_review_count": 0,
"currency": {
"id": 8,
"title": "Japenese Yen",
"iso_3": "JPY",
"symbol": "¥",
"minimum_charge_amount": 100,
"decimal_point": 0
},
"account": {
"id": 221884,
"language_id": 40,
"email": "support@ninjafoodtours.com",
"google_id": null,
"facebook_id": null,
"weibo_id": null,
"wechat_id": null,
"facebook_token": null,
"password": "$2b$10$9UZPlTg8qe0GLi0N8wF/3OxpwOKWDf70Q/dL2BmYZh/u7VoXnSASm",
"salt": "PL8XK5+Bt5QmRWGnPCQ4gIA0DxDnepsd1D+bXczgVvUVZok/07tcyR17clS1",
"oauth_token": null,
"validation_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImluZm9AbmluamFmb29kdG91cnMuY29tIiwicGFzc3dvcmRfcmVuZXdhbCI6dHJ1ZSwiaWF0IjoxNTE1MDcxNzAyLCJleHAiOjE1MTUxNTgxMDJ9.n-0_m7x14repXAV_aTHuxzQppdqT50d6E-8DqA4s3NI",
"stripe_account_id": "acct_1BRO87IybgqWfiom",
"stripe_customer_id": "cus_BBeSxiG4Y1JXOH",
"stripe_bank_account_id": null,
"paypal_id": null,
"payout_gateway": "stripe",
"created_at": "2017-08-03T04:32:58.000Z",
"updated_at": "2023-02-10T02:49:51.000Z",
"validated_at": null,
"deactivated_at": null,
"ewid": null,
"gcid": null
}
},
"hostCurrency": {
"id": 8,
"title": "Japenese Yen",
"iso_3": "JPY",
"symbol": "¥",
"minimum_charge_amount": 100,
"decimal_point": 0
},
"hostGateway": "stripe_connect_account",
"hostStripeAccountId": "acct_1BRO87IybgqWfiom"
}