================================================================================
REQUEST LOG: req_bskg9XXQkzSn
================================================================================

[2026-05-13 12:54:06.184715] REQUEST END
    Status: 201
    Response Time: 30.45ms
    Response: {
    "success": true,
    "message": "Invoice created successfully",
    "data": {
        "branch_id": 4,
        "invoice_date": "2026-05-13T00:00:00.000000Z",
        "payment_type": "credit",
        "supplier_id": 3,
        "user_id": 13,
        "invoice_number": "SINV-20260513-0001",
        "due_date": "2026-06-12T00:00:00.000000Z",
        "subtotal": "2000.00",
        "total_amount": "2000.00",
        "remaining_amount": "2000.00",
        "paid_amount": "0.00",
        "status": "unpaid",
        "updated_at": "2026-05-13T12:54:06.000000Z",
        "created_at": "2026-05-13T12:54:06.000000Z",
        "id": 4,
        "items": [
            {
                "id": 4,
                "supplier_invoice_id": "4",
                "item_type": "other",
                "ingredient_id": null,
                "product_id": null,
                "description": "Purchase",
                "quantity": "1.000",
                "bonus_quantity": "0.000",
                "unit": null,
                "unit_price": "2000.0000",
                "total_price": "2000.00",
                "batch_number": null,
                "expiry_date": null,
                "notes": null,
                "created_at": "2026-05-13T12:54:06.000000Z",
                "updated_at": "2026-05-13T12:54:06.000000Z",
                "ingredient": null,
                "product": null
            }
        ],
        "supplier": {
            "id": 3,
            "tenant_id": "2",
            "name": "Lhr suplierr",
            "company_name": "a",
            "contact_person": "1",
            "phone": "0333333333",
            "email": null,
            "address": null,
            "supplier_type": "distributor",
            "credit_limit": "0.00",
            "current_credit_balance": "2000.00",
            "payment_terms_days": 30,
            "opening_balance": "0.00",
            "tax_number": null,
            "license_number": null,
            "notes": null,
            "is_active": true,
            "created_at": "2026-05-13T12:53:02.000000Z",
            "updated_at": "2026-05-13T12:54:06.000000Z",
            "deleted_at": null
        }
    },
    "meta": {
        "request_id": "req_bskg9XXQkzSn",
        "timestamp": "2026-05-13T12:54:06+00:00"
    }
}

================================================================================