{
"id": 603,
"custom_fields": null,
"items": [
{
"id": 646,
"custom_fields": null,
"item": {
"id": 131,
"custom_fields": null,
"images": [],
"discount": {
"is_applied": true,
"is_trial_applied": false,
"is_usage_price": false,
"price_after_discount_no_trial": 143.0,
"price_after_discount": 143.0,
"payment_method_offers": [
{
"method": "mada",
"amount": 144.43
},
{
"method": "visa_master",
"amount": 143.0
},
{
"method": "apple_pay",
"amount": 143.0
},
{
"method": "tabby_installments",
"amount": 143.0
},
{
"method": "tamara_installments",
"amount": 143.0
}
]
},
"stock": {
"in_stock": true,
"qty": 100
},
"modifiers": [],
"variants": [],
"varies_on": null,
"bundle_categories": [],
"plan_config": null,
"off_days": [],
"off_dates": [],
"tags": [],
"app_id": 86,
"ordering": 0,
"type": "product",
"service_type": "delivery",
"sku": "the_new_producta",
"price": 144.0,
"is_taxable": true,
"name_en": "Daniel Hoeger",
"name_ar": "Kristopher Grimes PhD",
"description_en": "nulla do",
"description_ar": null,
"is_plan_only": false,
"is_plan_enabled": false,
"served_from_date": null,
"served_to_date": null,
"served_from_time": null,
"served_to_time": null,
"weight": 0.0,
"categories": []
},
"app_id": 86,
"created_at": "2025-08-20T11:08:02.165342+03:00",
"item_id": 131,
"name_en": "Daniel Hoeger",
"name_ar": "Kristopher Grimes PhD",
"refund_reason": null,
"refunded_qty": 0,
"amount": 143.0,
"qty": 2,
"net_amount": 286.0,
"voucher_discounts_amount": 0.0,
"total_amount_excluding_tax": 248.7,
"tax_percentage": 15.0,
"tax_amount": 37.3,
"total_amount": 286.0,
"auto_renew": false,
"date": null,
"time": null,
"order_item": 492,
"parent_invoice_item": null
},
{
"id": 645,
"custom_fields": null,
"item": {
"id": 132,
"custom_fields": null,
"images": [],
"discount": {
"is_applied": false,
"is_trial_applied": false,
"is_usage_price": false,
"price_after_discount_no_trial": 10.33,
"price_after_discount": 10.33,
"payment_method_offers": [
{
"method": "mada",
"amount": 10.433300000000001
},
{
"method": "visa_master",
"amount": 10.33
},
{
"method": "apple_pay",
"amount": 10.33
},
{
"method": "tabby_installments",
"amount": 10.33
},
{
"method": "tamara_installments",
"amount": 10.33
}
]
},
"stock": {
"in_stock": true,
"qty": 100
},
"modifiers": [],
"variants": [],
"varies_on": null,
"bundle_categories": [],
"plan_config": null,
"off_days": [],
"off_dates": [],
"tags": [],
"app_id": 86,
"ordering": 0,
"type": "product",
"service_type": "delivery",
"sku": "17556771634411092",
"price": 10.33,
"is_taxable": true,
"name_en": "Refundable",
"name_ar": "Refundable",
"description_en": "",
"description_ar": "",
"is_plan_only": false,
"is_plan_enabled": false,
"served_from_date": null,
"served_to_date": null,
"served_from_time": null,
"served_to_time": null,
"weight": 0.0,
"categories": [
12
]
},
"app_id": 86,
"created_at": "2025-08-20T11:08:02.163415+03:00",
"item_id": 132,
"name_en": "Refundable",
"name_ar": "Refundable",
"refund_reason": null,
"refunded_qty": 1,
"amount": 10.33,
"qty": 4,
"net_amount": 41.32,
"voucher_discounts_amount": 0.0,
"total_amount_excluding_tax": 35.93,
"tax_percentage": 15.0,
"tax_amount": 5.39,
"total_amount": 41.32,
"auto_renew": false,
"date": null,
"time": null,
"order_item": 491,
"parent_invoice_item": null
}
],
"transactions": [
{
"id": 166,
"custom_fields": null,
"invoice_id": 603,
"provider_details": {
"InvoiceId": 6057151,
"InvoiceReference": "2025001243",
"CreatedDate": "20082025110858",
"CustomerReference": "TR-603",
"CustomerName": "Ozel",
"CustomerMobile": "+9660535501059",
"CustomerEmail": "[email protected]",
"TransactionStatus": "SUCCESS",
"PaymentMethod": "VISA/MASTER",
"UserDefinedField": null,
"ReferenceId": "523208278038",
"TrackId": "20-08-2025_2963036",
"PaymentId": "07076057151296303672",
"AuthorizationId": "940410",
"InvoiceValueInBaseCurrency": "26.5",
"BaseCurrency": "KWD",
"InvoiceValueInDisplayCurreny": "327.32",
"DisplayCurrency": "SAR",
"InvoiceValueInPayCurrency": "26.5",
"PayCurrency": "KWD"
},
"app_id": 86,
"created_at": "2025-08-20T11:09:12.810712+03:00",
"type": "payment",
"reason": null,
"currency": "SAR",
"received_amount": 327.32,
"quoted_amount": 327.32,
"status": "captured",
"method": "visa_master",
"provider": "myfatoorah",
"provider_auth_code": "940410",
"provider_status": "SUCCESS",
"provider_method": "VISA/MASTER",
"provider_transaction_id": "07076057151296303672",
"provider_invoice_id": "6057151",
"provider_order_id": null,
"fraud_detected": false,
"fraud_reason": null,
"attachment": null
}
],
"order_id": 410,
"customer": {
"id": 35265,
"country_code": "966",
"username": "0535501059",
"mobile_number": "966535501059",
"email": "[email protected]",
"name": "Ozel",
"lang": "ar",
"current_city_id": null,
"is_email_verified": false,
"is_mobile_verified": true,
"is_blocked": false,
"is_deleted": false,
"is_verified": true,
"joined_at": "2025-06-02 12:10:54.881137+00:00",
"national_id": null,
"secondary_mobile_number": null,
"date_of_birth": null,
"avatar": null,
"custom_fields": null
},
"invoice_pdf_en": null,
"invoice_pdf_ar": null,
"serial": "INV-202500374",
"refunds": [
{
"id": 608,
"serial": "INV-202500375",
"issued_at": "2025-08-20T09:49:31Z",
"total_amount": 10.33,
"currency": "SAR",
"status": "paid",
"invoice_pdf_en": null,
"invoice_pdf_ar": null,
"custom_fields": null
}
],
"refunded_invoice": null,
"app_id": 86,
"created_at": "2025-08-20T11:08:02.157398+03:00",
"invoice_reference_id": null,
"invoice_reference_serial": null,
"type": "normal",
"status": "paid",
"refund_reason": null,
"issued_at": "2025-08-20T11:08:02.156583+03:00",
"due_at": "2025-08-20T11:08:02.156586+03:00",
"sub_total_amount": 327.32,
"shipping_amount": 0.0,
"setup_amount": 0.0,
"net_amount": 327.32,
"sub_total_discounts_amount": 0.0,
"shipping_discounts_amount": 0.0,
"total_discounts_amount": 0.0,
"total_amount_excluding_tax": 284.63,
"tax_percentage": 15.0,
"tax_amount": 42.69,
"total_amount": 327.32,
"wallet_redeem_amount": 0.0,
"total_amount_with_redeem": 327.32,
"currency": "SAR",
"payment_method": "visa_master",
"payment_provider": "myfatoorah",
"is_auto_renewal": false,
"invoice_provider": "fai",
"zatca_status": "failed",
"invoice_error": "Failed to create e-invoice after 4 attempts: {'code': -301, 'detail': \"({'fai'}) is invalid value\", 'alert': False}"
}