Billing Records Table Structure: id - int(11) - NO - stripe_invoice_id - varchar(255) - YES - payment_intent - varchar(255) - YES - stripe_customer_id - varchar(255) - YES - client_id - int(11) - NO - total_amount - decimal(10,2) - NO - amount_paid - decimal(10,2) - YES - billed_amount - decimal(10,2) - YES - 0.00 status - enum('draft','sent','paid','void','payment_failed') - NO - draft billing_date - date - NO - due_date - date - YES - notes - text - YES - created_at - timestamp - NO - current_timestamp() updated_at - timestamp - NO - current_timestamp() is_retainer_request - tinyint(1) - YES - 0 deleted - tinyint(1) - NO - 0 archived - tinyint(1) - NO - 0 rolled_over_to - int(11) - YES -