Error: Operations are not balanced:
assets: 0 !== -12 -> liabilities: 51 + (revenue: -3 - expenses: -1) + equity: -61
[{"balanceId":"EWPending","currency":"EUR","creditAmount":0,"debitAmount":3},{"balanceId":"EWConversionEUR","currency":"EUR","creditAmount":3,"debitAmount":0},{"balanceId":"EWConversionMXN","currency":"MXN","creditAmount":0,"debitAmount":64},{"balanceId":"01GTJG3PAXDRK55HD5WRXA9JP9","currency":"MXN","creditAmount":51},{"balanceId":"StripeConversionFees","currency":"EUR","debitAmount":1}]
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:139:37
at async /app/index.js:146:31
Data
{
"_meta": {
"ulid": "01KAX8Q8MN0ZGETW50ZCV9Q07K",
"name": "CorrectPayinError",
"sentryTrace": "6e636003895bd9dc6a93851b31c383a4-2e2cee1767544e9b-0",
"sentryBagage": "sentry-environment=production,sentry-release=6163294d041573e1d340247948d07b8fbcaca5e6,sentry-public_key=8ae32874b5f94f7e8c42f26de589736d,sentry-trace_id=6e636003895bd9dc6a93851b31c383a4,sentry-sampled=false",
"jobId": "CorrectPayinError:Job:01KAX8Q8MN0ZGETW50ZCV9Q07K"
},
"amount": 51,
"booking": {
"cancellation_deadline": "PT24H",
"date": "2025-12-19T00:00:00.000Z",
"id": 276068,
"user_id": 868958,
"event_id": 54598,
"partner_demand_id": null,
"request_id": null,
"conversation_id": 316806,
"cancellation_reason": null,
"transaction_id": null,
"place_id": 543998,
"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-11-25T10:25:00.000Z",
"updated_at": "2025-11-25T10:25:03.000Z",
"deleted_at": null,
"old_id": null,
"ewid": null,
"ewradid": null,
"gcid": null
},
"eurToHostRate": 21.3306,
"host": {
"billing_country_iso": null,
"firstname": "Gabriela",
"lastname": "León",
"nickname": null,
"birth_date": "1973-04-11T00:00:00.000Z",
"phone": "+529511921921",
"country_iso": "MX",
"id": 741931,
"account_id": 743770,
"currency_id": 15,
"billing_address": null,
"parent_id": null,
"avatar_id": 1324010,
"host_application_id": "625a0a6a740e6747e9c92b9e",
"civility": "OTHER",
"description_title": null,
"description": "I am interés about nutrición in a broad sense like all that comes through our senses: what we eat, smell, hear, touch, feel, imagine, think and also the way we relate to others beings and our enviroment.\n\nIn January 2016 we started Cochera en Servicio, swap of homemade crops and since then we meet on the first Sunday of each month to share what we farmed and to cultivate together: food, knowledge, reflections and links of reciprocity and trust.\n\n“Masa ya” is a project to gather people around the enjoyment of the palate and listening. During the meetings there will be a guest artist or activist who tells us about his work and his passion for cooking.\n",
"affiliation_code": null,
"newsletter": false,
"tos": true,
"created_at": "2019-10-30T01:36:37.000Z",
"updated_at": "2022-05-11T09:04:45.000Z",
"deleted_at": null,
"old_id": null,
"ewid": null,
"locality": "Oaxaca",
"published_review_count": 0,
"currency": {
"id": 15,
"title": "Mexican peso",
"iso_3": "MXN",
"symbol": "M$",
"minimum_charge_amount": 2000,
"decimal_point": 2
},
"account": {
"id": 743770,
"language_id": 40,
"email": "gabrielaleonv@gmail.com",
"google_id": null,
"facebook_id": null,
"weibo_id": null,
"wechat_id": null,
"facebook_token": null,
"password": "$2b$10$tpRmxsNI7kqaCWaYfrfjEe7vjJiPusfLZChKziyzxIiEwEAug/pf.",
"salt": "lhy74SLoHBDjGiiu6QsLBcU0g9jhenrEmj6oFURueGgVwkdx/yM8tbitUeSN",
"oauth_token": null,
"validation_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImdhYnJpZWxhbGVvbnZAZ21haWwuY29tIiwicGFzc3dvcmRfcmVuZXdhbCI6dHJ1ZSwiaWF0IjoxNzIyNDYyOTA4LCJleHAiOjE3MjI1NDkzMDh9.yPP3W5LW5wTiP51zYtE7JsxWpBEm62rnkbnNiLMnJqw",
"stripe_account_id": "acct_1KtamHR1zPshnQmH",
"stripe_customer_id": "cus_LW1G2C8BHfI48N",
"stripe_bank_account_id": null,
"paypal_id": null,
"payout_gateway": "stripe",
"created_at": "2019-10-30T01:36:37.000Z",
"updated_at": "2024-07-31T21:56:04.000Z",
"validated_at": null,
"deactivated_at": null,
"ewid": null,
"gcid": null
}
},
"hostCurrency": {
"id": 15,
"title": "Mexican peso",
"iso_3": "MXN",
"symbol": "M$",
"minimum_charge_amount": 2000,
"decimal_point": 2
},
"hostGateway": "stripe_connect_account",
"hostStripeAccountId": "acct_1KtamHR1zPshnQmH"
}