diff --git a/app/Services/Template/TemplateMock.php b/app/Services/Template/TemplateMock.php index c4f70cd64a05..2298fcae5076 100644 --- a/app/Services/Template/TemplateMock.php +++ b/app/Services/Template/TemplateMock.php @@ -23,7 +23,10 @@ class TemplateMock public string $credit_data = '[{"id":"mWZdPwbKgR","user_id":"wMvbmOeYAl","project_id":"","assigned_user_id":"","vendor_id":"","amount":881.03,"balance":548.03,"client_id":"QJ0dN6dLOv","status_id":"3","design_id":"Wpmbk5ezJn","created_at":1695796650,"updated_at":1695799160,"archived_at":0,"is_deleted":false,"number":"0001","discount":2,"po_number":"Quisquam.","date":"2023-06-30","last_sent_date":"","next_send_date":"","reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","due_date":"2007-03-30","terms":"Voluptatem et aliquid enim dolorem rerum voluptatem. Doloremque magni nesciunt unde nobis omnis quas. Aut totam adipisci voluptatum explicabo qui fugit assumenda. Soluta architecto sit exercitationem amet doloribus ad vel qui. Eos porro qui voluptatum sint. Consequatur voluptatem eveniet vitae illo ea. Rem enim sit impedit odit.","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":190.03,"is_amount_discount":true,"footer":"","partial":0,"partial_due_date":"","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","has_tasks":false,"has_expenses":false,"custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":1,"cost":693,"product_key":"Sed.","notes":"Est sequi.","discount":0,"is_amount_discount":true,"tax_name1":"","tax_rate1":0,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":693,"gross_line_total":693,"custom_value1":"https:\/\/picsum.photos\/200","custom_value2":"56","custom_value3":"Dolores porro quia.","custom_value4":"Perferendis itaque.","type_id":"1","product_cost":0,"tax_amount":0,"date":"","tax_id":"","task_id":"","expense_id":""}],"entity_type":"credit","exchange_rate":1,"paid_to_date":333,"subscription_id":"","client":{"id":"QJ0dN6dLOv","user_id":"wMvbmOeYAl","assigned_user_id":"","name":"Paucek and Sons","website":"http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html","private_notes":"In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.","balance":19958.86,"group_settings_id":"","paid_to_date":18895.75,"payment_balance":0,"credit_balance":573.53,"last_login":0,"size_id":"","public_notes":"","client_hash":"ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI","address1":"873","address2":"220 Hand Glen","phone":"","city":"Lake Kallie","state":"Ohio","postal_code":"77890","country_id":"535","industry_id":"","custom_value1":"1974-10-02 21:56:55","custom_value2":"Aqua","custom_value3":"modi","custom_value4":"xhomenick@hotmail.com","shipping_address1":"89064","shipping_address2":"87854 Meda Junction","shipping_city":"South Aryanna","shipping_state":"Connecticut","shipping_postal_code":"52527-1873","shipping_country_id":"4","settings":{"entity":"App\\Models\\Client","industry_id":"","size_id":"","currency_id":"1"},"is_deleted":false,"vat_number":"881403416","id_number":"MU19IWUA7340242407223765691CMM","updated_at":1695811138,"archived_at":0,"created_at":1695796650,"display_name":"Paucek and Sons","number":"0005","has_valid_vat_number":false,"is_tax_exempt":false,"routing_id":"","tax_info":{},"contacts":[{"id":"yMYerkEaOB","first_name":"Bret","last_name":"Beatty","email":"user@example.com","created_at":1695796650,"updated_at":1695796650,"archived_at":0,"is_primary":true,"is_locked":false,"phone":"1-985-403-1242","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","contact_key":"juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G","send_email":true,"last_login":0,"password":"**********","link":"http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G"},{"id":"gl9av2maG1","first_name":"Sandra","last_name":"Daniel","email":"linnie.aufderhar@example.net","created_at":1695796650,"updated_at":1695796650,"archived_at":0,"is_primary":false,"is_locked":false,"phone":"+17319151379","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","contact_key":"sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd","send_email":true,"last_login":0,"password":"**********","link":"http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd"},{"id":"7LDdwpRe1Y","first_name":"Leone","last_name":"Bode","email":"ipollich@example.org","created_at":1695796650,"updated_at":1695796650,"archived_at":0,"is_primary":false,"is_locked":false,"phone":"(424) 789-3412","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","contact_key":"gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma","send_email":true,"last_login":0,"password":"**********","link":"http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma"}],"documents":{"data":[]},"gateway_tokens":{"data":[]}}},{"id":"Oy5eVOMaEP","user_id":"wMvbmOeYAl","project_id":"","assigned_user_id":"","vendor_id":"","amount":25.5,"balance":25.5,"client_id":"QJ0dN6dLOv","status_id":"2","design_id":"Wpmbk5ezJn","created_at":1695811134,"updated_at":1695811138,"archived_at":0,"is_deleted":false,"number":"0009","discount":2,"po_number":"","date":"2023-09-27","last_sent_date":"","next_send_date":"","reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","due_date":"","terms":"

Voluptatem et aliquid enim dolorem rerum voluptatem. Doloremque magni nesciunt unde nobis omnis quas. Aut totam adipisci voluptatum explicabo qui fugit assumenda. Soluta architecto sit exercitationem amet doloribus ad vel qui. Eos porro qui voluptatum sint. Consequatur voluptatem eveniet vitae illo ea. Rem enim sit impedit odit.<\/p>","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":5.5,"is_amount_discount":true,"footer":"","partial":0,"partial_due_date":"","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","has_tasks":false,"has_expenses":false,"custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":1,"cost":22,"product_key":"Sed.","notes":"Est sequi.","discount":0,"is_amount_discount":true,"tax_name1":"","tax_rate1":0,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":"0","line_total":22,"gross_line_total":22,"custom_value1":"https:\/\/picsum.photos\/200","custom_value2":"56","custom_value3":"Dolores porro quia.","custom_value4":"Perferendis itaque.","type_id":"1","product_cost":0,"tax_amount":0,"date":"","tax_id":"1","task_id":"","expense_id":"","_id":"ab67ad52-725e-4106-b80b-1eabe84ca90a"}],"entity_type":"credit","exchange_rate":1,"paid_to_date":0,"subscription_id":"","client":{"id":"QJ0dN6dLOv","user_id":"wMvbmOeYAl","assigned_user_id":"","name":"Paucek and Sons","website":"http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html","private_notes":"In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.","balance":19958.86,"group_settings_id":"","paid_to_date":18895.75,"payment_balance":0,"credit_balance":573.53,"last_login":0,"size_id":"","public_notes":"","client_hash":"ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI","address1":"873","address2":"220 Hand Glen","phone":"","city":"Lake Kallie","state":"Ohio","postal_code":"77890","country_id":"535","industry_id":"","custom_value1":"1974-10-02 21:56:55","custom_value2":"Aqua","custom_value3":"modi","custom_value4":"xhomenick@hotmail.com","shipping_address1":"89064","shipping_address2":"87854 Meda Junction","shipping_city":"South Aryanna","shipping_state":"Connecticut","shipping_postal_code":"52527-1873","shipping_country_id":"4","settings":{"entity":"App\\Models\\Client","industry_id":"","size_id":"","currency_id":"1"},"is_deleted":false,"vat_number":"881403416","id_number":"MU19IWUA7340242407223765691CMM","updated_at":1695811138,"archived_at":0,"created_at":1695796650,"display_name":"Paucek and Sons","number":"0005","has_valid_vat_number":false,"is_tax_exempt":false,"routing_id":"","tax_info":{},"contacts":[{"id":"yMYerkEaOB","first_name":"Bret","last_name":"Beatty","email":"user@example.com","created_at":1695796650,"updated_at":1695796650,"archived_at":0,"is_primary":true,"is_locked":false,"phone":"1-985-403-1242","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","contact_key":"juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G","send_email":true,"last_login":0,"password":"**********","link":"http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G"},{"id":"gl9av2maG1","first_name":"Sandra","last_name":"Daniel","email":"linnie.aufderhar@example.net","created_at":1695796650,"updated_at":1695796650,"archived_at":0,"is_primary":false,"is_locked":false,"phone":"+17319151379","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","contact_key":"sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd","send_email":true,"last_login":0,"password":"**********","link":"http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd"},{"id":"7LDdwpRe1Y","first_name":"Leone","last_name":"Bode","email":"ipollich@example.org","created_at":1695796650,"updated_at":1695796650,"archived_at":0,"is_primary":false,"is_locked":false,"phone":"(424) 789-3412","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","contact_key":"gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma","send_email":true,"last_login":0,"password":"**********","link":"http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma"}],"documents":{"data":[]},"gateway_tokens":{"data":[]}}}]'; - public string $payment_data = '[{ "id": "oBDbDxbl2E", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "amount": 0, "refunded": 0, "applied": 0, "transaction_reference": "Manual entry", "transaction_id": "", "date": "2023-09-26", "is_manual": true, "created_at": 1695798370, "updated_at": 1695798370, "archived_at": 0, "is_deleted": false, "type_id": "", "invitation_id": "", "private_notes": "", "number": "0001", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "client_id": "QJ0dN6dLOv", "client_contact_id": "", "company_gateway_id": "", "gateway_type_id": "", "status_id": "4", "project_id": "", "vendor_id": "", "currency_id": "1", "exchange_rate": 1, "exchange_currency_id": "", "client": { "id": "QJ0dN6dLOv", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "name": "Paucek and Sons", "website": "http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html", "private_notes": "In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.", "balance": 19958.86, "group_settings_id": "", "paid_to_date": 18895.75, "payment_balance": 0, "credit_balance": 573.53, "last_login": 0, "size_id": "", "public_notes": "", "client_hash": "ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI", "address1": "873", "address2": "220 Hand Glen", "phone": "", "city": "Lake Kallie", "state": "Ohio", "postal_code": "77890", "country_id": "535", "industry_id": "", "custom_value1": "1974-10-02 21:56:55", "custom_value2": "Aqua", "custom_value3": "modi", "custom_value4": "xhomenick@hotmail.com", "shipping_address1": "89064", "shipping_address2": "87854 Meda Junction", "shipping_city": "South Aryanna", "shipping_state": "Connecticut", "shipping_postal_code": "52527-1873", "shipping_country_id": "4", "is_deleted": false, "vat_number": "881403416", "id_number": "MU19IWUA7340242407223765691CMM", "updated_at": 1695811138, "archived_at": 0, "created_at": 1695796650, "display_name": "Paucek and Sons", "number": "0005", "has_valid_vat_number": false, "is_tax_exempt": false, "routing_id": "", "tax_info": {}, "contacts": [{ "id": "yMYerkEaOB", "first_name": "Bret", "last_name": "Beatty", "email": "user@example.com", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": true, "is_locked": false, "phone": "1-985-403-1242", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G" }, { "id": "gl9av2maG1", "first_name": "Sandra", "last_name": "Daniel", "email": "linnie.aufderhar@example.net", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "+17319151379", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd" }, { "id": "7LDdwpRe1Y", "first_name": "Leone", "last_name": "Bode", "email": "ipollich@example.org", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "(424) 789-3412", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma" }], "documents": { "data": [] }, "gateway_tokens": { "data": [] } }, "invoices": [], "paymentables": [{ "id": "xYRdG7dDzO", "invoice_id": "mxkazm8eJ0", "amount": 0, "refunded": 0, "created_at": 1695798370, "updated_at": 1695798370, "archived_at": 0 }] }, { "id": "K4oeEva0By", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "amount": 444, "refunded": 0, "applied": 444, "transaction_reference": "", "transaction_id": "", "date": "2023-09-27", "is_manual": true, "created_at": 1695799116, "updated_at": 1695799116, "archived_at": 0, "is_deleted": false, "type_id": "", "invitation_id": "", "private_notes": "", "number": "0002", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "client_id": "QJ0dN6dLOv", "client_contact_id": "", "company_gateway_id": "", "gateway_type_id": "", "status_id": "4", "project_id": "", "vendor_id": "", "currency_id": "1", "exchange_rate": 1, "exchange_currency_id": "", "client": { "id": "QJ0dN6dLOv", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "name": "Paucek and Sons", "website": "http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html", "private_notes": "In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.", "balance": 19958.86, "group_settings_id": "", "paid_to_date": 18895.75, "payment_balance": 0, "credit_balance": 573.53, "last_login": 0, "size_id": "", "public_notes": "", "client_hash": "ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI", "address1": "873", "address2": "220 Hand Glen", "phone": "", "city": "Lake Kallie", "state": "Ohio", "postal_code": "77890", "country_id": "535", "industry_id": "", "custom_value1": "1974-10-02 21:56:55", "custom_value2": "Aqua", "custom_value3": "modi", "custom_value4": "xhomenick@hotmail.com", "shipping_address1": "89064", "shipping_address2": "87854 Meda Junction", "shipping_city": "South Aryanna", "shipping_state": "Connecticut", "shipping_postal_code": "52527-1873", "shipping_country_id": "4", "is_deleted": false, "vat_number": "881403416", "id_number": "MU19IWUA7340242407223765691CMM", "updated_at": 1695811138, "archived_at": 0, "created_at": 1695796650, "display_name": "Paucek and Sons", "number": "0005", "has_valid_vat_number": false, "is_tax_exempt": false, "routing_id": "", "tax_info": {}, "contacts": [{ "id": "yMYerkEaOB", "first_name": "Bret", "last_name": "Beatty", "email": "user@example.com", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": true, "is_locked": false, "phone": "1-985-403-1242", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G" }, { "id": "gl9av2maG1", "first_name": "Sandra", "last_name": "Daniel", "email": "linnie.aufderhar@example.net", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "+17319151379", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd" }, { "id": "7LDdwpRe1Y", "first_name": "Leone", "last_name": "Bode", "email": "ipollich@example.org", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "(424) 789-3412", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma" }], "documents": { "data": [] }, "gateway_tokens": { "data": [] } }, "invoices": [], "paymentables": [{ "id": "1YQdJ2dOGp", "invoice_id": "mxkazm8eJ0", "amount": 444, "refunded": 0, "created_at": 1695799116, "updated_at": 1695799116, "archived_at": 0 }] }, { "id": "xYRdG7dDzO", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "amount": 8697.17, "refunded": 0, "applied": 8697.17, "transaction_reference": "Manual entry", "transaction_id": "", "date": "2023-09-26", "is_manual": true, "created_at": 1695799139, "updated_at": 1695799139, "archived_at": 0, "is_deleted": false, "type_id": "", "invitation_id": "", "private_notes": "", "number": "0003", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "client_id": "QJ0dN6dLOv", "client_contact_id": "", "company_gateway_id": "", "gateway_type_id": "", "status_id": "4", "project_id": "", "vendor_id": "", "currency_id": "1", "exchange_rate": 1, "exchange_currency_id": "", "client": { "id": "QJ0dN6dLOv", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "name": "Paucek and Sons", "website": "http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html", "private_notes": "In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.", "balance": 19958.86, "group_settings_id": "", "paid_to_date": 18895.75, "payment_balance": 0, "credit_balance": 573.53, "last_login": 0, "size_id": "", "public_notes": "", "client_hash": "ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI", "address1": "873", "address2": "220 Hand Glen", "phone": "", "city": "Lake Kallie", "state": "Ohio", "postal_code": "77890", "country_id": "535", "industry_id": "", "custom_value1": "1974-10-02 21:56:55", "custom_value2": "Aqua", "custom_value3": "modi", "custom_value4": "xhomenick@hotmail.com", "shipping_address1": "89064", "shipping_address2": "87854 Meda Junction", "shipping_city": "South Aryanna", "shipping_state": "Connecticut", "shipping_postal_code": "52527-1873", "shipping_country_id": "4", "is_deleted": false, "vat_number": "881403416", "id_number": "MU19IWUA7340242407223765691CMM", "updated_at": 1695811138, "archived_at": 0, "created_at": 1695796650, "display_name": "Paucek and Sons", "number": "0005", "has_valid_vat_number": false, "is_tax_exempt": false, "routing_id": "", "tax_info": {}, "contacts": [{ "id": "yMYerkEaOB", "first_name": "Bret", "last_name": "Beatty", "email": "user@example.com", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": true, "is_locked": false, "phone": "1-985-403-1242", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G" }, { "id": "gl9av2maG1", "first_name": "Sandra", "last_name": "Daniel", "email": "linnie.aufderhar@example.net", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "+17319151379", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd" }, { "id": "7LDdwpRe1Y", "first_name": "Leone", "last_name": "Bode", "email": "ipollich@example.org", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "(424) 789-3412", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma" }], "documents": { "data": [] }, "gateway_tokens": { "data": [] } }, "invoices": [], "paymentables": [{ "id": "4y1aKReQGw", "invoice_id": "Wpmbk55ezJ", "amount": 8697.17, "refunded": 0, "created_at": 1695799139, "updated_at": 1695799139, "archived_at": 0 }] }, { "id": "1YQdJ2dOGp", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "amount": 222, "refunded": 0, "applied": 222, "transaction_reference": "", "transaction_id": "", "date": "2023-09-27", "is_manual": true, "created_at": 1695799160, "updated_at": 1695802769, "archived_at": 0, "is_deleted": false, "type_id": "2", "invitation_id": "", "private_notes": "", "number": "0004", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "client_id": "QJ0dN6dLOv", "client_contact_id": "", "company_gateway_id": "", "gateway_type_id": "", "status_id": "4", "project_id": "", "vendor_id": "", "currency_id": "1", "exchange_rate": 1, "exchange_currency_id": "", "client": { "id": "QJ0dN6dLOv", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "name": "Paucek and Sons", "website": "http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html", "private_notes": "In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.", "balance": 19958.86, "group_settings_id": "", "paid_to_date": 18895.75, "payment_balance": 0, "credit_balance": 573.53, "last_login": 0, "size_id": "", "public_notes": "", "client_hash": "ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI", "address1": "873", "address2": "220 Hand Glen", "phone": "", "city": "Lake Kallie", "state": "Ohio", "postal_code": "77890", "country_id": "535", "industry_id": "", "custom_value1": "1974-10-02 21:56:55", "custom_value2": "Aqua", "custom_value3": "modi", "custom_value4": "xhomenick@hotmail.com", "shipping_address1": "89064", "shipping_address2": "87854 Meda Junction", "shipping_city": "South Aryanna", "shipping_state": "Connecticut", "shipping_postal_code": "52527-1873", "shipping_country_id": "4", "is_deleted": false, "vat_number": "881403416", "id_number": "MU19IWUA7340242407223765691CMM", "updated_at": 1695811138, "archived_at": 0, "created_at": 1695796650, "display_name": "Paucek and Sons", "number": "0005", "has_valid_vat_number": false, "is_tax_exempt": false, "routing_id": "", "tax_info": {}, "contacts": [{ "id": "yMYerkEaOB", "first_name": "Bret", "last_name": "Beatty", "email": "user@example.com", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": true, "is_locked": false, "phone": "1-985-403-1242", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G" }, { "id": "gl9av2maG1", "first_name": "Sandra", "last_name": "Daniel", "email": "linnie.aufderhar@example.net", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "+17319151379", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd" }, { "id": "7LDdwpRe1Y", "first_name": "Leone", "last_name": "Bode", "email": "ipollich@example.org", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "(424) 789-3412", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma" }], "documents": { "data": [] }, "gateway_tokens": { "data": [] } }, "invoices": [], "paymentables": [{ "id": "q9wdLwbjPX", "invoice_id": "Volej2RejN", "amount": 555, "refunded": 5, "created_at": 1695799160, "updated_at": 1695799160, "archived_at": 0 }, { "id": "7N1aMAaWmp", "credit_id": "mWZdPwbKgR", "amount": 333, "refunded": 5, "created_at": 1695799160, "updated_at": 1695799160, "archived_at": 0 }] }, { "id": "l4zbqx2apr", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "amount": 9199.58, "refunded": 0, "applied": 9199.58, "transaction_reference": "Manual entry", "transaction_id": "", "date": "2023-09-26", "is_manual": true, "created_at": 1695803284, "updated_at": 1695803284, "archived_at": 0, "is_deleted": false, "type_id": "", "invitation_id": "", "private_notes": "", "number": "0007", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "client_id": "QJ0dN6dLOv", "client_contact_id": "", "company_gateway_id": "", "gateway_type_id": "", "status_id": "4", "project_id": "", "vendor_id": "", "currency_id": "1", "exchange_rate": 1, "exchange_currency_id": "", "client": { "id": "QJ0dN6dLOv", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "name": "Paucek and Sons", "website": "http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html", "private_notes": "In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.", "balance": 19958.86, "group_settings_id": "", "paid_to_date": 18895.75, "payment_balance": 0, "credit_balance": 573.53, "last_login": 0, "size_id": "", "public_notes": "", "client_hash": "ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI", "address1": "873", "address2": "220 Hand Glen", "phone": "", "city": "Lake Kallie", "state": "Ohio", "postal_code": "77890", "country_id": "535", "industry_id": "", "custom_value1": "1974-10-02 21:56:55", "custom_value2": "Aqua", "custom_value3": "modi", "custom_value4": "xhomenick@hotmail.com", "shipping_address1": "89064", "shipping_address2": "87854 Meda Junction", "shipping_city": "South Aryanna", "shipping_state": "Connecticut", "shipping_postal_code": "52527-1873", "shipping_country_id": "4", "is_deleted": false, "vat_number": "881403416", "id_number": "MU19IWUA7340242407223765691CMM", "updated_at": 1695811138, "archived_at": 0, "created_at": 1695796650, "display_name": "Paucek and Sons", "number": "0005", "has_valid_vat_number": false, "is_tax_exempt": false, "routing_id": "", "tax_info": {}, "contacts": [{ "id": "yMYerkEaOB", "first_name": "Bret", "last_name": "Beatty", "email": "user@example.com", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": true, "is_locked": false, "phone": "1-985-403-1242", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G" }, { "id": "gl9av2maG1", "first_name": "Sandra", "last_name": "Daniel", "email": "linnie.aufderhar@example.net", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "+17319151379", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd" }, { "id": "7LDdwpRe1Y", "first_name": "Leone", "last_name": "Bode", "email": "ipollich@example.org", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "(424) 789-3412", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma" }], "documents": { "data": [] }, "gateway_tokens": { "data": [] } }, "invoices": [], "paymentables": [{ "id": "OpnelY5aKB", "invoice_id": "7N1aMj3bWm", "amount": 9199.58, "refunded": 5, "created_at": 1695803284, "updated_at": 1695803284, "archived_at": 0 }] }]'; + public string $payment_data = "[{"amount":"$100.00","balance":"$79.00","balance_raw":"79.000000","number":"8203155839804","discount":7,"po_number":"Animi eum.","date":"07\\\/Dec\\\/1996","last_sent_date":"","next_send_date":"","due_date":"16\\\/Jun\\\/2017","terms":"Unde beatae et laborum. Assumenda et molestiae dolorum consequatur repudiandae voluptas. Eos rerum consectetur voluptate ducimus. Consequatur deserunt veniam perspiciatis. Illo totam assumenda in quae. Magni quis eligendi commodi non voluptatem delectus. Iste pariatur voluptatum repudiandae molestiae corrupti iusto voluptatem animi. Et ipsum soluta deleniti dolorem quo. Odio quaerat sint et soluta. Ut doloremque similique in sed. Ut corporis est incidunt rerum voluptas in.","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":"$0.00","total_taxes_raw":"0.000000","is_amount_discount":true,"footer":"","partial":0,"partial_due_date":"","custom_value1":"2007-06-12","custom_value2":"no","custom_value3":"2","custom_value4":"1","custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"exchange_rate":1,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":9,"cost":136.9,"product_key":"velit","notes":"I was going to turn round on its axis--'.","discount":4,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1232.1000000000001,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":2,"cost":681.34,"product_key":"quidem","notes":"Alice to find my way into that beautiful.","discount":1,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1362.68,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":3,"cost":552.24,"product_key":"quasi","notes":"I like\\"!' 'You might just as if he had come to.","discount":6,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1656.72,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":8,"cost":893.31,"product_key":"quis","notes":"I give you fair warning,' shouted the Queen.","discount":4,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":7146.48,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":9,"cost":284.14,"product_key":"in","notes":"Hatter: 'but you could manage it?) 'And what an.","discount":10,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":2557.2599999999998,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"}],"reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","paid_to_date":"$21.00","auto_bill_enabled":false,"client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"payments":[{"status":"Completed","badge":"<h6><span class=\\"badge badge-info\\">Completed<\\\/span><\\\/h6>","amount":"$390.00","applied":"$390.00","balance":"$0.00","refunded":"$0.00","amount_raw":"390.000000","applied_raw":"390.000000","refunded_raw":"0.000000","balance_raw":0,"date":"01\\\/Oct\\\/2023","method":"Visa Card","currency":"USD","exchange_rate":1,"transaction_reference":"My Batch Payment","is_manual":1,"number":"0001","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"paymentables":[{"invoice":"8203155839804","amount_raw":"21.0000","refunded_raw":"0.0000","net_raw":21,"amount":"$21.00","refunded":"$0.00","net":"$21.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"5380674505151","amount_raw":"0.0000","refunded_raw":"0.0000","net_raw":0,"amount":"$0.00","refunded":"$0.00","net":"$0.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9701706715755","amount_raw":"73.0000","refunded_raw":"0.0000","net_raw":73,"amount":"$73.00","refunded":"$0.00","net":"$73.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"6713201251853","amount_raw":"69.0000","refunded_raw":"0.0000","net_raw":69,"amount":"$69.00","refunded":"$0.00","net":"$69.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"4722647616586","amount_raw":"47.0000","refunded_raw":"0.0000","net_raw":47,"amount":"$47.00","refunded":"$0.00","net":"$47.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"2869896494625","amount_raw":"61.0000","refunded_raw":"0.0000","net_raw":61,"amount":"$61.00","refunded":"$0.00","net":"$61.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7455293413298","amount_raw":"77.0000","refunded_raw":"0.0000","net_raw":77,"amount":"$77.00","refunded":"$0.00","net":"$77.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9500243978117","amount_raw":"50.0000","refunded_raw":"0.0000","net_raw":50,"amount":"$50.00","refunded":"$0.00","net":"$50.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"1594748358466","amount_raw":"32.0000","refunded_raw":"0.0000","net_raw":32,"amount":"$32.00","refunded":"$0.00","net":"$32.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7717690731864","amount_raw":"22.0000","refunded_raw":"0.0000","net_raw":22,"amount":"$22.00","refunded":"$0.00","net":"$22.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0003","amount_raw":"16.0000","refunded_raw":"0.0000","net_raw":16,"amount":"$16.00","refunded":"$0.00","net":"$16.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0004","amount_raw":"46.0000","refunded_raw":"0.0000","net_raw":46,"amount":"$46.00","refunded":"$0.00","net":"$46.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154}]}]},{"amount":"$100.00","balance":"$100.00","balance_raw":"100.000000","number":"5380674505151","discount":9,"po_number":"Quis quas.","date":"24\\\/Nov\\\/2013","last_sent_date":"","next_send_date":"","due_date":"17\\\/May\\\/2006","terms":"Adipisci ut in deserunt eum. Explicabo dolores blanditiis nesciunt veritatis saepe suscipit. Eum modi et excepturi quisquam maxime. Qui aut cum est voluptatem molestiae fuga. Quia temporibus illo esse voluptatem qui. Dolore numquam exercitationem quaerat vero nesciunt. Delectus vel enim debitis sit qui officia. Quo consectetur adipisci qui quia impedit enim et repellat.","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":"$0.00","total_taxes_raw":"0.000000","is_amount_discount":true,"footer":"","partial":0,"partial_due_date":"","custom_value1":"2008-02-05","custom_value2":"yes","custom_value3":"3","custom_value4":"1","custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"exchange_rate":1,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":1,"cost":271.42,"product_key":"iste","notes":"MINE.' The Queen smiled and passed on. 'Who ARE.","discount":8,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":271.42,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":5,"cost":941.72,"product_key":"natus","notes":"Why, she'll eat a little way off, and that if.","discount":10,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":4708.6,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":6,"cost":702.01,"product_key":"natus","notes":"At last the Caterpillar seemed to be no chance.","discount":4,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":4212.0599999999995,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":3,"cost":748.88,"product_key":"voluptate","notes":"The Cat seemed to have no answers.' 'If you.","discount":6,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":2246.64,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":4,"cost":38.09,"product_key":"enim","notes":"I had not attended to this last remark that had.","discount":4,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":152.36,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"}],"reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","paid_to_date":"$0.00","auto_bill_enabled":false,"client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"payments":[{"status":"Completed","badge":"<h6><span class=\\"badge badge-info\\">Completed<\\\/span><\\\/h6>","amount":"$390.00","applied":"$390.00","balance":"$0.00","refunded":"$0.00","amount_raw":"390.000000","applied_raw":"390.000000","refunded_raw":"0.000000","balance_raw":0,"date":"01\\\/Oct\\\/2023","method":"Visa Card","currency":"USD","exchange_rate":1,"transaction_reference":"My Batch Payment","is_manual":1,"number":"0001","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"paymentables":[{"invoice":"8203155839804","amount_raw":"21.0000","refunded_raw":"0.0000","net_raw":21,"amount":"$21.00","refunded":"$0.00","net":"$21.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"5380674505151","amount_raw":"0.0000","refunded_raw":"0.0000","net_raw":0,"amount":"$0.00","refunded":"$0.00","net":"$0.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9701706715755","amount_raw":"73.0000","refunded_raw":"0.0000","net_raw":73,"amount":"$73.00","refunded":"$0.00","net":"$73.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"6713201251853","amount_raw":"69.0000","refunded_raw":"0.0000","net_raw":69,"amount":"$69.00","refunded":"$0.00","net":"$69.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"4722647616586","amount_raw":"47.0000","refunded_raw":"0.0000","net_raw":47,"amount":"$47.00","refunded":"$0.00","net":"$47.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"2869896494625","amount_raw":"61.0000","refunded_raw":"0.0000","net_raw":61,"amount":"$61.00","refunded":"$0.00","net":"$61.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7455293413298","amount_raw":"77.0000","refunded_raw":"0.0000","net_raw":77,"amount":"$77.00","refunded":"$0.00","net":"$77.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9500243978117","amount_raw":"50.0000","refunded_raw":"0.0000","net_raw":50,"amount":"$50.00","refunded":"$0.00","net":"$50.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"1594748358466","amount_raw":"32.0000","refunded_raw":"0.0000","net_raw":32,"amount":"$32.00","refunded":"$0.00","net":"$32.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7717690731864","amount_raw":"22.0000","refunded_raw":"0.0000","net_raw":22,"amount":"$22.00","refunded":"$0.00","net":"$22.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0003","amount_raw":"16.0000","refunded_raw":"0.0000","net_raw":16,"amount":"$16.00","refunded":"$0.00","net":"$16.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0004","amount_raw":"46.0000","refunded_raw":"0.0000","net_raw":46,"amount":"$46.00","refunded":"$0.00","net":"$46.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154}]}]},{"amount":"$100.00","balance":"$27.00","balance_raw":"27.000000","number":"9701706715755","discount":5,"po_number":"Aliquid.","date":"10\\\/Apr\\\/1995","last_sent_date":"","next_send_date":"","due_date":"30\\\/Apr\\\/1998","terms":"Ab consectetur voluptates tempore. Magnam et veniam impedit minima eligendi itaque tempore. Non rerum a reprehenderit. Aut omnis molestiae possimus odio nisi perspiciatis. Consequatur culpa molestiae quis. Ratione voluptas est cumque sunt. Quia labore deleniti dicta placeat rem voluptas et.","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":"$0.00","total_taxes_raw":"0.000000","is_amount_discount":true,"footer":"","partial":0,"partial_due_date":"","custom_value1":"1995-07-22","custom_value2":"yes","custom_value3":"3","custom_value4":"1","custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"exchange_rate":1,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":3,"cost":127.69,"product_key":"et","notes":"Next came the royal children; there were TWO.","discount":8,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":383.07,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":9,"cost":868.16,"product_key":"corrupti","notes":"Queen: so she waited. The Gryphon sat up and.","discount":3,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":7813.44,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":2,"cost":570.9,"product_key":"neque","notes":"NOT marked 'poison,' it is almost certain to.","discount":6,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1141.8,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":5,"cost":894.95,"product_key":"ullam","notes":"DON'T know,' said the Hatter, and here the Mock.","discount":1,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":4474.75,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":6,"cost":949.38,"product_key":"aut","notes":"I shall be punished for it now, I suppose, by.","discount":5,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":5696.28,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"}],"reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","paid_to_date":"$0.00","auto_bill_enabled":false,"client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"payments":[{"status":"Completed","badge":"<h6><span class=\\"badge badge-info\\">Completed<\\\/span><\\\/h6>","amount":"$390.00","applied":"$390.00","balance":"$0.00","refunded":"$0.00","amount_raw":"390.000000","applied_raw":"390.000000","refunded_raw":"0.000000","balance_raw":0,"date":"01\\\/Oct\\\/2023","method":"Visa Card","currency":"USD","exchange_rate":1,"transaction_reference":"My Batch Payment","is_manual":1,"number":"0001","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"paymentables":[{"invoice":"8203155839804","amount_raw":"21.0000","refunded_raw":"0.0000","net_raw":21,"amount":"$21.00","refunded":"$0.00","net":"$21.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"5380674505151","amount_raw":"0.0000","refunded_raw":"0.0000","net_raw":0,"amount":"$0.00","refunded":"$0.00","net":"$0.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9701706715755","amount_raw":"73.0000","refunded_raw":"0.0000","net_raw":73,"amount":"$73.00","refunded":"$0.00","net":"$73.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"6713201251853","amount_raw":"69.0000","refunded_raw":"0.0000","net_raw":69,"amount":"$69.00","refunded":"$0.00","net":"$69.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"4722647616586","amount_raw":"47.0000","refunded_raw":"0.0000","net_raw":47,"amount":"$47.00","refunded":"$0.00","net":"$47.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"2869896494625","amount_raw":"61.0000","refunded_raw":"0.0000","net_raw":61,"amount":"$61.00","refunded":"$0.00","net":"$61.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7455293413298","amount_raw":"77.0000","refunded_raw":"0.0000","net_raw":77,"amount":"$77.00","refunded":"$0.00","net":"$77.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9500243978117","amount_raw":"50.0000","refunded_raw":"0.0000","net_raw":50,"amount":"$50.00","refunded":"$0.00","net":"$50.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"1594748358466","amount_raw":"32.0000","refunded_raw":"0.0000","net_raw":32,"amount":"$32.00","refunded":"$0.00","net":"$32.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7717690731864","amount_raw":"22.0000","refunded_raw":"0.0000","net_raw":22,"amount":"$22.00","refunded":"$0.00","net":"$22.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0003","amount_raw":"16.0000","refunded_raw":"0.0000","net_raw":16,"amount":"$16.00","refunded":"$0.00","net":"$16.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0004","amount_raw":"46.0000","refunded_raw":"0.0000","net_raw":46,"amount":"$46.00","refunded":"$0.00","net":"$46.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154}]}]},{"amount":"$100.00","balance":"$31.00","balance_raw":"31.000000","number":"6713201251853","discount":5,"po_number":"Veniam id.","date":"19\\\/Mar\\\/1990","last_sent_date":"","next_send_date":"","due_date":"22\\\/Nov\\\/2021","terms":"Quos nobis facilis explicabo aut consequatur. Sunt ut voluptatem sapiente corrupti rerum. Quo possimus consequatur corrupti sed blanditiis similique ut quibusdam. Reiciendis quis delectus magnam corrupti corporis. Nihil non nihil similique ab nisi. Quia voluptatem dolorum earum iusto enim ipsa. Expedita consequatur et deserunt minus. Fugit non ea laboriosam et delectus aut. Culpa cumque voluptate quibusdam expedita recusandae minima et et.","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":"$0.00","total_taxes_raw":"0.000000","is_amount_discount":false,"footer":"","partial":0,"partial_due_date":"","custom_value1":"1980-12-01","custom_value2":"no","custom_value3":"4","custom_value4":"2","custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"exchange_rate":1,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":4,"cost":953.9,"product_key":"velit","notes":"But the insolence of his shrill little voice.","discount":1,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":3815.6,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":7,"cost":186.47,"product_key":"dolorem","notes":"Hatter. 'You might just as well wait, as she.","discount":9,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1305.29,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":2,"cost":310.3,"product_key":"nostrum","notes":"I? Ah, THAT'S the great concert given by the.","discount":5,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":620.6,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":4,"cost":376.99,"product_key":"aut","notes":"The hedgehog was engaged in a helpless sort of.","discount":4,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1507.96,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":7,"cost":847.47,"product_key":"nemo","notes":"VERY unpleasant state of mind, she turned the.","discount":1,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":5932.29,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"}],"reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","paid_to_date":"$0.00","auto_bill_enabled":false,"client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"payments":[{"status":"Completed","badge":"<h6><span class=\\"badge badge-info\\">Completed<\\\/span><\\\/h6>","amount":"$390.00","applied":"$390.00","balance":"$0.00","refunded":"$0.00","amount_raw":"390.000000","applied_raw":"390.000000","refunded_raw":"0.000000","balance_raw":0,"date":"01\\\/Oct\\\/2023","method":"Visa Card","currency":"USD","exchange_rate":1,"transaction_reference":"My Batch Payment","is_manual":1,"number":"0001","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"paymentables":[{"invoice":"8203155839804","amount_raw":"21.0000","refunded_raw":"0.0000","net_raw":21,"amount":"$21.00","refunded":"$0.00","net":"$21.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"5380674505151","amount_raw":"0.0000","refunded_raw":"0.0000","net_raw":0,"amount":"$0.00","refunded":"$0.00","net":"$0.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9701706715755","amount_raw":"73.0000","refunded_raw":"0.0000","net_raw":73,"amount":"$73.00","refunded":"$0.00","net":"$73.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"6713201251853","amount_raw":"69.0000","refunded_raw":"0.0000","net_raw":69,"amount":"$69.00","refunded":"$0.00","net":"$69.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"4722647616586","amount_raw":"47.0000","refunded_raw":"0.0000","net_raw":47,"amount":"$47.00","refunded":"$0.00","net":"$47.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"2869896494625","amount_raw":"61.0000","refunded_raw":"0.0000","net_raw":61,"amount":"$61.00","refunded":"$0.00","net":"$61.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7455293413298","amount_raw":"77.0000","refunded_raw":"0.0000","net_raw":77,"amount":"$77.00","refunded":"$0.00","net":"$77.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9500243978117","amount_raw":"50.0000","refunded_raw":"0.0000","net_raw":50,"amount":"$50.00","refunded":"$0.00","net":"$50.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"1594748358466","amount_raw":"32.0000","refunded_raw":"0.0000","net_raw":32,"amount":"$32.00","refunded":"$0.00","net":"$32.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7717690731864","amount_raw":"22.0000","refunded_raw":"0.0000","net_raw":22,"amount":"$22.00","refunded":"$0.00","net":"$22.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0003","amount_raw":"16.0000","refunded_raw":"0.0000","net_raw":16,"amount":"$16.00","refunded":"$0.00","net":"$16.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0004","amount_raw":"46.0000","refunded_raw":"0.0000","net_raw":46,"amount":"$46.00","refunded":"$0.00","net":"$46.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154}]}]},{"amount":"$100.00","balance":"$53.00","balance_raw":"53.000000","number":"4722647616586","discount":8,"po_number":"Et.","date":"19\\\/Feb\\\/2008","last_sent_date":"","next_send_date":"","due_date":"26\\\/Jul\\\/2002","terms":"Rerum ea ratione quasi perferendis praesentium accusantium. Doloribus est nesciunt aspernatur. Explicabo ut facere odio. Dolorum dolorem excepturi alias aut nemo nesciunt architecto omnis. Nobis rem autem fugit. Repudiandae et inventore quis sequi. Est accusantium facilis ipsa consequuntur pariatur ut aut. Quam qui architecto quia molestiae. Hic omnis nobis nulla sint officiis nihil non.","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":"$0.00","total_taxes_raw":"0.000000","is_amount_discount":true,"footer":"","partial":0,"partial_due_date":"","custom_value1":"2015-08-23","custom_value2":"no","custom_value3":"1","custom_value4":"2","custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"exchange_rate":1,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":3,"cost":264.3,"product_key":"maxime","notes":"I don't want to go on in the same age as.","discount":6,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":792.9000000000001,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":9,"cost":326.41,"product_key":"est","notes":"King in a dreamy sort of knot, and then sat upon.","discount":8,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":2937.69,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":10,"cost":733.44,"product_key":"quae","notes":"However, she did not see anything that looked.","discount":9,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":7334.400000000001,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":9,"cost":368.19,"product_key":"id","notes":"Mabel after all, and I had not attended to this.","discount":5,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":3313.71,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":2,"cost":132.57,"product_key":"eum","notes":"The first question of course you know what to.","discount":9,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":265.14,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"}],"reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","paid_to_date":"$0.00","auto_bill_enabled":false,"client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"payments":[{"status":"Completed","badge":"<h6><span class=\\"badge badge-info\\">Completed<\\\/span><\\\/h6>","amount":"$390.00","applied":"$390.00","balance":"$0.00","refunded":"$0.00","amount_raw":"390.000000","applied_raw":"390.000000","refunded_raw":"0.000000","balance_raw":0,"date":"01\\\/Oct\\\/2023","method":"Visa Card","currency":"USD","exchange_rate":1,"transaction_reference":"My Batch Payment","is_manual":1,"number":"0001","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"paymentables":[{"invoice":"8203155839804","amount_raw":"21.0000","refunded_raw":"0.0000","net_raw":21,"amount":"$21.00","refunded":"$0.00","net":"$21.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"5380674505151","amount_raw":"0.0000","refunded_raw":"0.0000","net_raw":0,"amount":"$0.00","refunded":"$0.00","net":"$0.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9701706715755","amount_raw":"73.0000","refunded_raw":"0.0000","net_raw":73,"amount":"$73.00","refunded":"$0.00","net":"$73.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"6713201251853","amount_raw":"69.0000","refunded_raw":"0.0000","net_raw":69,"amount":"$69.00","refunded":"$0.00","net":"$69.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"4722647616586","amount_raw":"47.0000","refunded_raw":"0.0000","net_raw":47,"amount":"$47.00","refunded":"$0.00","net":"$47.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"2869896494625","amount_raw":"61.0000","refunded_raw":"0.0000","net_raw":61,"amount":"$61.00","refunded":"$0.00","net":"$61.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7455293413298","amount_raw":"77.0000","refunded_raw":"0.0000","net_raw":77,"amount":"$77.00","refunded":"$0.00","net":"$77.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9500243978117","amount_raw":"50.0000","refunded_raw":"0.0000","net_raw":50,"amount":"$50.00","refunded":"$0.00","net":"$50.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"1594748358466","amount_raw":"32.0000","refunded_raw":"0.0000","net_raw":32,"amount":"$32.00","refunded":"$0.00","net":"$32.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7717690731864","amount_raw":"22.0000","refunded_raw":"0.0000","net_raw":22,"amount":"$22.00","refunded":"$0.00","net":"$22.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0003","amount_raw":"16.0000","refunded_raw":"0.0000","net_raw":16,"amount":"$16.00","refunded":"$0.00","net":"$16.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0004","amount_raw":"46.0000","refunded_raw":"0.0000","net_raw":46,"amount":"$46.00","refunded":"$0.00","net":"$46.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154}]}]},{"amount":"$100.00","balance":"$39.00","balance_raw":"39.000000","number":"2869896494625","discount":2,"po_number":"Et.","date":"30\\\/Apr\\\/2022","last_sent_date":"","next_send_date":"","due_date":"27\\\/Dec\\\/1972","terms":"Ut asperiores ab aliquid et sint fuga. Cupiditate porro laborum voluptatum veniam. Est architecto voluptatibus nobis quia aut quisquam. Accusantium non nemo dolorem sed pariatur dolor. Distinctio accusantium esse itaque expedita totam voluptas accusamus. Sit eum autem provident sunt aut. Voluptatem sed in dolores earum similique. Repellat voluptatem vero aut eum debitis.","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":"$0.00","total_taxes_raw":"0.000000","is_amount_discount":false,"footer":"","partial":0,"partial_due_date":"","custom_value1":"1980-07-16","custom_value2":"no","custom_value3":"3","custom_value4":"3","custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"exchange_rate":1,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":4,"cost":240.46,"product_key":"dolore","notes":"When the procession came opposite to Alice, and.","discount":3,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":961.84,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":10,"cost":629.01,"product_key":"tempore","notes":"Hatter, 'or you'll be telling me next that you.","discount":1,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":6290.1,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":3,"cost":586.37,"product_key":"ducimus","notes":"Alice replied in an offended tone, 'Hm! No.","discount":6,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1759.1100000000001,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":1,"cost":716,"product_key":"rerum","notes":"First, she tried to get hold of its voice. 'Back.","discount":3,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":716,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":3,"cost":529.24,"product_key":"et","notes":"Dormouse,' the Queen had ordered. They very soon.","discount":4,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1587.72,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"}],"reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","paid_to_date":"$0.00","auto_bill_enabled":false,"client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"payments":[{"status":"Completed","badge":"<h6><span class=\\"badge badge-info\\">Completed<\\\/span><\\\/h6>","amount":"$390.00","applied":"$390.00","balance":"$0.00","refunded":"$0.00","amount_raw":"390.000000","applied_raw":"390.000000","refunded_raw":"0.000000","balance_raw":0,"date":"01\\\/Oct\\\/2023","method":"Visa Card","currency":"USD","exchange_rate":1,"transaction_reference":"My Batch Payment","is_manual":1,"number":"0001","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"paymentables":[{"invoice":"8203155839804","amount_raw":"21.0000","refunded_raw":"0.0000","net_raw":21,"amount":"$21.00","refunded":"$0.00","net":"$21.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"5380674505151","amount_raw":"0.0000","refunded_raw":"0.0000","net_raw":0,"amount":"$0.00","refunded":"$0.00","net":"$0.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9701706715755","amount_raw":"73.0000","refunded_raw":"0.0000","net_raw":73,"amount":"$73.00","refunded":"$0.00","net":"$73.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"6713201251853","amount_raw":"69.0000","refunded_raw":"0.0000","net_raw":69,"amount":"$69.00","refunded":"$0.00","net":"$69.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"4722647616586","amount_raw":"47.0000","refunded_raw":"0.0000","net_raw":47,"amount":"$47.00","refunded":"$0.00","net":"$47.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"2869896494625","amount_raw":"61.0000","refunded_raw":"0.0000","net_raw":61,"amount":"$61.00","refunded":"$0.00","net":"$61.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7455293413298","amount_raw":"77.0000","refunded_raw":"0.0000","net_raw":77,"amount":"$77.00","refunded":"$0.00","net":"$77.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9500243978117","amount_raw":"50.0000","refunded_raw":"0.0000","net_raw":50,"amount":"$50.00","refunded":"$0.00","net":"$50.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"1594748358466","amount_raw":"32.0000","refunded_raw":"0.0000","net_raw":32,"amount":"$32.00","refunded":"$0.00","net":"$32.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7717690731864","amount_raw":"22.0000","refunded_raw":"0.0000","net_raw":22,"amount":"$22.00","refunded":"$0.00","net":"$22.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0003","amount_raw":"16.0000","refunded_raw":"0.0000","net_raw":16,"amount":"$16.00","refunded":"$0.00","net":"$16.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0004","amount_raw":"46.0000","refunded_raw":"0.0000","net_raw":46,"amount":"$46.00","refunded":"$0.00","net":"$46.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154}]}]},{"amount":"$100.00","balance":"$23.00","balance_raw":"23.000000","number":"7455293413298","discount":10,"po_number":"Eum ut.","date":"11\\\/May\\\/1985","last_sent_date":"","next_send_date":"","due_date":"19\\\/Dec\\\/1970","terms":"Doloribus nihil nisi excepturi nihil. Maiores dolor necessitatibus et laboriosam deleniti aut corporis. Aperiam quia excepturi voluptatum incidunt. Consequatur magni et est et quaerat. Impedit odit molestias dolore aliquid vero sit. Ut ipsa et deserunt et. Numquam molestias ea ea autem. Voluptas repellat sunt rerum earum magnam doloremque provident. Odio saepe sint omnis incidunt qui ut consequatur. Blanditiis qui magni sit. Dolor quo provident laborum quod qui recusandae unde.","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":"$0.00","total_taxes_raw":"0.000000","is_amount_discount":true,"footer":"","partial":0,"partial_due_date":"","custom_value1":"1979-02-20","custom_value2":"no","custom_value3":"2","custom_value4":"3","custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"exchange_rate":1,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":3,"cost":369.19,"product_key":"distinctio","notes":"Duchess sneezed occasionally; and as the jury.","discount":10,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1107.57,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":9,"cost":997.15,"product_key":"harum","notes":"Mouse only shook its head impatiently, and.","discount":10,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":8974.35,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":8,"cost":157.52,"product_key":"omnis","notes":"So they began running when they saw the White.","discount":5,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1260.16,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":10,"cost":802.16,"product_key":"illo","notes":"Alice timidly. 'Would you like the right height.","discount":3,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":8021.599999999999,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":2,"cost":878.69,"product_key":"et","notes":"Mock Turtle, 'but if they do, why then they're a.","discount":8,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1757.38,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"}],"reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","paid_to_date":"$0.00","auto_bill_enabled":false,"client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"payments":[{"status":"Completed","badge":"<h6><span class=\\"badge badge-info\\">Completed<\\\/span><\\\/h6>","amount":"$390.00","applied":"$390.00","balance":"$0.00","refunded":"$0.00","amount_raw":"390.000000","applied_raw":"390.000000","refunded_raw":"0.000000","balance_raw":0,"date":"01\\\/Oct\\\/2023","method":"Visa Card","currency":"USD","exchange_rate":1,"transaction_reference":"My Batch Payment","is_manual":1,"number":"0001","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"paymentables":[{"invoice":"8203155839804","amount_raw":"21.0000","refunded_raw":"0.0000","net_raw":21,"amount":"$21.00","refunded":"$0.00","net":"$21.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"5380674505151","amount_raw":"0.0000","refunded_raw":"0.0000","net_raw":0,"amount":"$0.00","refunded":"$0.00","net":"$0.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9701706715755","amount_raw":"73.0000","refunded_raw":"0.0000","net_raw":73,"amount":"$73.00","refunded":"$0.00","net":"$73.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"6713201251853","amount_raw":"69.0000","refunded_raw":"0.0000","net_raw":69,"amount":"$69.00","refunded":"$0.00","net":"$69.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"4722647616586","amount_raw":"47.0000","refunded_raw":"0.0000","net_raw":47,"amount":"$47.00","refunded":"$0.00","net":"$47.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"2869896494625","amount_raw":"61.0000","refunded_raw":"0.0000","net_raw":61,"amount":"$61.00","refunded":"$0.00","net":"$61.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7455293413298","amount_raw":"77.0000","refunded_raw":"0.0000","net_raw":77,"amount":"$77.00","refunded":"$0.00","net":"$77.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9500243978117","amount_raw":"50.0000","refunded_raw":"0.0000","net_raw":50,"amount":"$50.00","refunded":"$0.00","net":"$50.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"1594748358466","amount_raw":"32.0000","refunded_raw":"0.0000","net_raw":32,"amount":"$32.00","refunded":"$0.00","net":"$32.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7717690731864","amount_raw":"22.0000","refunded_raw":"0.0000","net_raw":22,"amount":"$22.00","refunded":"$0.00","net":"$22.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0003","amount_raw":"16.0000","refunded_raw":"0.0000","net_raw":16,"amount":"$16.00","refunded":"$0.00","net":"$16.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0004","amount_raw":"46.0000","refunded_raw":"0.0000","net_raw":46,"amount":"$46.00","refunded":"$0.00","net":"$46.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154}]}]},{"amount":"$100.00","balance":"$50.00","balance_raw":"50.000000","number":"9500243978117","discount":3,"po_number":"Soluta.","date":"17\\\/Jul\\\/1991","last_sent_date":"","next_send_date":"","due_date":"02\\\/Jun\\\/1997","terms":"Velit possimus qui numquam vel ut. Sit natus et nobis cum id dolore. Iusto voluptatum consequatur error. Exercitationem natus voluptate cum labore. Ut cupiditate ipsa et eaque aut est perspiciatis. Et natus porro cumque est voluptatem repudiandae ullam reiciendis. Aliquid facere excepturi repellat voluptas expedita cum consequatur. Aperiam aut sed magni nihil. Animi ducimus ea aut ut rem ipsa perferendis.","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":"$0.00","total_taxes_raw":"0.000000","is_amount_discount":true,"footer":"","partial":0,"partial_due_date":"","custom_value1":"1991-07-20","custom_value2":"no","custom_value3":"1","custom_value4":"1","custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"exchange_rate":1,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":1,"cost":290.98,"product_key":"voluptatem","notes":"It quite makes my forehead ache!' Alice watched.","discount":1,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":290.98,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":4,"cost":488.12,"product_key":"culpa","notes":"How I wonder what they said. The executioner's.","discount":8,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1952.48,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":7,"cost":758.58,"product_key":"voluptatum","notes":"Duchess: 'what a clear way you go,' said the.","discount":6,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":5310.06,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":4,"cost":113.07,"product_key":"expedita","notes":"Alice, a little bottle on it, for she was.","discount":1,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":452.28,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":6,"cost":83.42,"product_key":"tempore","notes":"I believe.' 'Boots and shoes under the window.","discount":4,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":500.52,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"}],"reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","paid_to_date":"$0.00","auto_bill_enabled":false,"client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"payments":[{"status":"Completed","badge":"<h6><span class=\\"badge badge-info\\">Completed<\\\/span><\\\/h6>","amount":"$390.00","applied":"$390.00","balance":"$0.00","refunded":"$0.00","amount_raw":"390.000000","applied_raw":"390.000000","refunded_raw":"0.000000","balance_raw":0,"date":"01\\\/Oct\\\/2023","method":"Visa Card","currency":"USD","exchange_rate":1,"transaction_reference":"My Batch Payment","is_manual":1,"number":"0001","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"paymentables":[{"invoice":"8203155839804","amount_raw":"21.0000","refunded_raw":"0.0000","net_raw":21,"amount":"$21.00","refunded":"$0.00","net":"$21.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"5380674505151","amount_raw":"0.0000","refunded_raw":"0.0000","net_raw":0,"amount":"$0.00","refunded":"$0.00","net":"$0.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9701706715755","amount_raw":"73.0000","refunded_raw":"0.0000","net_raw":73,"amount":"$73.00","refunded":"$0.00","net":"$73.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"6713201251853","amount_raw":"69.0000","refunded_raw":"0.0000","net_raw":69,"amount":"$69.00","refunded":"$0.00","net":"$69.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"4722647616586","amount_raw":"47.0000","refunded_raw":"0.0000","net_raw":47,"amount":"$47.00","refunded":"$0.00","net":"$47.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"2869896494625","amount_raw":"61.0000","refunded_raw":"0.0000","net_raw":61,"amount":"$61.00","refunded":"$0.00","net":"$61.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7455293413298","amount_raw":"77.0000","refunded_raw":"0.0000","net_raw":77,"amount":"$77.00","refunded":"$0.00","net":"$77.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9500243978117","amount_raw":"50.0000","refunded_raw":"0.0000","net_raw":50,"amount":"$50.00","refunded":"$0.00","net":"$50.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"1594748358466","amount_raw":"32.0000","refunded_raw":"0.0000","net_raw":32,"amount":"$32.00","refunded":"$0.00","net":"$32.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7717690731864","amount_raw":"22.0000","refunded_raw":"0.0000","net_raw":22,"amount":"$22.00","refunded":"$0.00","net":"$22.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0003","amount_raw":"16.0000","refunded_raw":"0.0000","net_raw":16,"amount":"$16.00","refunded":"$0.00","net":"$16.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0004","amount_raw":"46.0000","refunded_raw":"0.0000","net_raw":46,"amount":"$46.00","refunded":"$0.00","net":"$46.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154}]}]},{"amount":"$100.00","balance":"$68.00","balance_raw":"68.000000","number":"1594748358466","discount":2,"po_number":"Corporis.","date":"30\\\/Dec\\\/1986","last_sent_date":"","next_send_date":"","due_date":"15\\\/Sep\\\/2002","terms":"Quos et facilis minus sunt. Non qui quos repellat. Delectus debitis aut ipsam possimus. Atque et nesciunt quae placeat at. Voluptatem rem quia quae. Quia fugit soluta in suscipit culpa ab. Est earum assumenda molestiae quae voluptatem accusamus. Placeat iure similique sunt molestiae eum laudantium. Quia iste nisi quaerat aperiam quam animi ut. Quis dolores temporibus voluptatibus. Iusto numquam assumenda molestias doloribus et eaque quidem.","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":"$0.00","total_taxes_raw":"0.000000","is_amount_discount":false,"footer":"","partial":0,"partial_due_date":"","custom_value1":"1988-06-17","custom_value2":"yes","custom_value3":"4","custom_value4":"1","custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"exchange_rate":1,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":2,"cost":821.14,"product_key":"et","notes":"Alice heard it before,' said the Lory positively.","discount":4,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1642.28,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":9,"cost":328.19,"product_key":"recusandae","notes":"Hatter. 'You might just as well as she swam.","discount":9,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":2953.71,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":3,"cost":264.33,"product_key":"voluptatem","notes":"Hatter, 'you wouldn't talk about trouble!' said.","discount":10,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":792.99,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":6,"cost":939.11,"product_key":"dolorum","notes":"Dinah, if I fell off the fire, licking her paws.","discount":8,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":5634.66,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":5,"cost":257.01,"product_key":"consequatur","notes":"Dinah, tell me your history, she do.' 'I'll tell.","discount":10,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1285.05,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"}],"reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","paid_to_date":"$0.00","auto_bill_enabled":false,"client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"payments":[{"status":"Completed","badge":"<h6><span class=\\"badge badge-info\\">Completed<\\\/span><\\\/h6>","amount":"$390.00","applied":"$390.00","balance":"$0.00","refunded":"$0.00","amount_raw":"390.000000","applied_raw":"390.000000","refunded_raw":"0.000000","balance_raw":0,"date":"01\\\/Oct\\\/2023","method":"Visa Card","currency":"USD","exchange_rate":1,"transaction_reference":"My Batch Payment","is_manual":1,"number":"0001","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"paymentables":[{"invoice":"8203155839804","amount_raw":"21.0000","refunded_raw":"0.0000","net_raw":21,"amount":"$21.00","refunded":"$0.00","net":"$21.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"5380674505151","amount_raw":"0.0000","refunded_raw":"0.0000","net_raw":0,"amount":"$0.00","refunded":"$0.00","net":"$0.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9701706715755","amount_raw":"73.0000","refunded_raw":"0.0000","net_raw":73,"amount":"$73.00","refunded":"$0.00","net":"$73.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"6713201251853","amount_raw":"69.0000","refunded_raw":"0.0000","net_raw":69,"amount":"$69.00","refunded":"$0.00","net":"$69.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"4722647616586","amount_raw":"47.0000","refunded_raw":"0.0000","net_raw":47,"amount":"$47.00","refunded":"$0.00","net":"$47.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"2869896494625","amount_raw":"61.0000","refunded_raw":"0.0000","net_raw":61,"amount":"$61.00","refunded":"$0.00","net":"$61.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7455293413298","amount_raw":"77.0000","refunded_raw":"0.0000","net_raw":77,"amount":"$77.00","refunded":"$0.00","net":"$77.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9500243978117","amount_raw":"50.0000","refunded_raw":"0.0000","net_raw":50,"amount":"$50.00","refunded":"$0.00","net":"$50.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"1594748358466","amount_raw":"32.0000","refunded_raw":"0.0000","net_raw":32,"amount":"$32.00","refunded":"$0.00","net":"$32.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7717690731864","amount_raw":"22.0000","refunded_raw":"0.0000","net_raw":22,"amount":"$22.00","refunded":"$0.00","net":"$22.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0003","amount_raw":"16.0000","refunded_raw":"0.0000","net_raw":16,"amount":"$16.00","refunded":"$0.00","net":"$16.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0004","amount_raw":"46.0000","refunded_raw":"0.0000","net_raw":46,"amount":"$46.00","refunded":"$0.00","net":"$46.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154}]}]},{"amount":"$100.00","balance":"$78.00","balance_raw":"78.000000","number":"7717690731864","discount":4,"po_number":"Quis quia.","date":"30\\\/Jan\\\/2003","last_sent_date":"","next_send_date":"","due_date":"01\\\/Jun\\\/2021","terms":"Non sit hic eos nisi et aliquam nulla. Fugit dignissimos magnam officia aliquid. Aut voluptatem vero quasi reiciendis. Qui aut nemo vero architecto harum. Beatae cumque excepturi ad tempore perspiciatis eaque. Sed ut assumenda ut aperiam dicta. Eligendi voluptatibus ipsum laborum est dolores tempore. Unde cupiditate est qui veritatis fugiat. Iure natus nulla saepe corrupti eveniet harum ratione mollitia.","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"GST","tax_rate1":10,"tax_name2":"VAT","tax_rate2":17.5,"tax_name3":"","tax_rate3":0,"total_taxes":"$0.00","total_taxes_raw":"0.000000","is_amount_discount":false,"footer":"","partial":0,"partial_due_date":"","custom_value1":"1981-12-19","custom_value2":"no","custom_value3":"2","custom_value4":"2","custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"exchange_rate":1,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"quantity":1,"cost":28.42,"product_key":"tempora","notes":"Let me see: that would be of very little way.","discount":8,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":28.42,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":7,"cost":180.36,"product_key":"laudantium","notes":"Once more she found herself safe in a confused.","discount":3,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":1262.52,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":10,"cost":791.62,"product_key":"consequatur","notes":"He looked anxiously at the bottom of a well?'.","discount":10,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":7916.2,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":10,"cost":644.8,"product_key":"vel","notes":"For instance, if you like!' the Duchess said.","discount":2,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":6448,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"},{"quantity":2,"cost":267.08,"product_key":"in","notes":"EVER happen in a great many more than three.'.","discount":6,"is_amount_discount":true,"tax_name1":"GST","tax_rate1":10,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":0,"line_total":534.16,"gross_line_total":0,"custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1"}],"reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","paid_to_date":"$0.00","auto_bill_enabled":false,"client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"payments":[{"status":"Completed","badge":"<h6><span class=\\"badge badge-info\\">Completed<\\\/span><\\\/h6>","amount":"$390.00","applied":"$390.00","balance":"$0.00","refunded":"$0.00","amount_raw":"390.000000","applied_raw":"390.000000","refunded_raw":"0.000000","balance_raw":0,"date":"01\\\/Oct\\\/2023","method":"Visa Card","currency":"USD","exchange_rate":1,"transaction_reference":"My Batch Payment","is_manual":1,"number":"0001","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","client":{"name":"Weimann, Haag and Corwin","balance":"-442.000000","payment_balance":"0.000000","credit_balance":"-52.000000"},"paymentables":[{"invoice":"8203155839804","amount_raw":"21.0000","refunded_raw":"0.0000","net_raw":21,"amount":"$21.00","refunded":"$0.00","net":"$21.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"5380674505151","amount_raw":"0.0000","refunded_raw":"0.0000","net_raw":0,"amount":"$0.00","refunded":"$0.00","net":"$0.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9701706715755","amount_raw":"73.0000","refunded_raw":"0.0000","net_raw":73,"amount":"$73.00","refunded":"$0.00","net":"$73.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"6713201251853","amount_raw":"69.0000","refunded_raw":"0.0000","net_raw":69,"amount":"$69.00","refunded":"$0.00","net":"$69.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"4722647616586","amount_raw":"47.0000","refunded_raw":"0.0000","net_raw":47,"amount":"$47.00","refunded":"$0.00","net":"$47.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"2869896494625","amount_raw":"61.0000","refunded_raw":"0.0000","net_raw":61,"amount":"$61.00","refunded":"$0.00","net":"$61.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7455293413298","amount_raw":"77.0000","refunded_raw":"0.0000","net_raw":77,"amount":"$77.00","refunded":"$0.00","net":"$77.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"9500243978117","amount_raw":"50.0000","refunded_raw":"0.0000","net_raw":50,"amount":"$50.00","refunded":"$0.00","net":"$50.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"1594748358466","amount_raw":"32.0000","refunded_raw":"0.0000","net_raw":32,"amount":"$32.00","refunded":"$0.00","net":"$32.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"invoice":"7717690731864","amount_raw":"22.0000","refunded_raw":"0.0000","net_raw":22,"amount":"$22.00","refunded":"$0.00","net":"$22.00","is_credit":false,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0003","amount_raw":"16.0000","refunded_raw":"0.0000","net_raw":16,"amount":"$16.00","refunded":"$0.00","net":"$16.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154},{"credit":"0004","amount_raw":"46.0000","refunded_raw":"0.0000","net_raw":46,"amount":"$46.00","refunded":"$0.00","net":"$46.00","is_credit":true,"created_at":"01\\\/Oct\\\/2023","updated_at":"01\\\/Oct\\\/2023","timestamp":1696135154}]}]}]" +; + + public string $payment_data2 = '[{ "id": "oBDbDxbl2E", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "amount": 0, "refunded": 0, "applied": 0, "transaction_reference": "Manual entry", "transaction_id": "", "date": "2023-09-26", "is_manual": true, "created_at": 1695798370, "updated_at": 1695798370, "archived_at": 0, "is_deleted": false, "type_id": "", "invitation_id": "", "private_notes": "", "number": "0001", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "client_id": "QJ0dN6dLOv", "client_contact_id": "", "company_gateway_id": "", "gateway_type_id": "", "status_id": "4", "project_id": "", "vendor_id": "", "currency_id": "1", "exchange_rate": 1, "exchange_currency_id": "", "client": { "id": "QJ0dN6dLOv", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "name": "Paucek and Sons", "website": "http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html", "private_notes": "In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.", "balance": 19958.86, "group_settings_id": "", "paid_to_date": 18895.75, "payment_balance": 0, "credit_balance": 573.53, "last_login": 0, "size_id": "", "public_notes": "", "client_hash": "ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI", "address1": "873", "address2": "220 Hand Glen", "phone": "", "city": "Lake Kallie", "state": "Ohio", "postal_code": "77890", "country_id": "535", "industry_id": "", "custom_value1": "1974-10-02 21:56:55", "custom_value2": "Aqua", "custom_value3": "modi", "custom_value4": "xhomenick@hotmail.com", "shipping_address1": "89064", "shipping_address2": "87854 Meda Junction", "shipping_city": "South Aryanna", "shipping_state": "Connecticut", "shipping_postal_code": "52527-1873", "shipping_country_id": "4", "is_deleted": false, "vat_number": "881403416", "id_number": "MU19IWUA7340242407223765691CMM", "updated_at": 1695811138, "archived_at": 0, "created_at": 1695796650, "display_name": "Paucek and Sons", "number": "0005", "has_valid_vat_number": false, "is_tax_exempt": false, "routing_id": "", "tax_info": {}, "contacts": [{ "id": "yMYerkEaOB", "first_name": "Bret", "last_name": "Beatty", "email": "user@example.com", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": true, "is_locked": false, "phone": "1-985-403-1242", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G" }, { "id": "gl9av2maG1", "first_name": "Sandra", "last_name": "Daniel", "email": "linnie.aufderhar@example.net", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "+17319151379", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd" }, { "id": "7LDdwpRe1Y", "first_name": "Leone", "last_name": "Bode", "email": "ipollich@example.org", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "(424) 789-3412", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma" }], "documents": { "data": [] }, "gateway_tokens": { "data": [] } }, "invoices": [], "paymentables": [{ "id": "xYRdG7dDzO", "invoice_id": "mxkazm8eJ0", "amount": 0, "refunded": 0, "created_at": 1695798370, "updated_at": 1695798370, "archived_at": 0 }] }, { "id": "K4oeEva0By", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "amount": 444, "refunded": 0, "applied": 444, "transaction_reference": "", "transaction_id": "", "date": "2023-09-27", "is_manual": true, "created_at": 1695799116, "updated_at": 1695799116, "archived_at": 0, "is_deleted": false, "type_id": "", "invitation_id": "", "private_notes": "", "number": "0002", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "client_id": "QJ0dN6dLOv", "client_contact_id": "", "company_gateway_id": "", "gateway_type_id": "", "status_id": "4", "project_id": "", "vendor_id": "", "currency_id": "1", "exchange_rate": 1, "exchange_currency_id": "", "client": { "id": "QJ0dN6dLOv", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "name": "Paucek and Sons", "website": "http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html", "private_notes": "In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.", "balance": 19958.86, "group_settings_id": "", "paid_to_date": 18895.75, "payment_balance": 0, "credit_balance": 573.53, "last_login": 0, "size_id": "", "public_notes": "", "client_hash": "ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI", "address1": "873", "address2": "220 Hand Glen", "phone": "", "city": "Lake Kallie", "state": "Ohio", "postal_code": "77890", "country_id": "535", "industry_id": "", "custom_value1": "1974-10-02 21:56:55", "custom_value2": "Aqua", "custom_value3": "modi", "custom_value4": "xhomenick@hotmail.com", "shipping_address1": "89064", "shipping_address2": "87854 Meda Junction", "shipping_city": "South Aryanna", "shipping_state": "Connecticut", "shipping_postal_code": "52527-1873", "shipping_country_id": "4", "is_deleted": false, "vat_number": "881403416", "id_number": "MU19IWUA7340242407223765691CMM", "updated_at": 1695811138, "archived_at": 0, "created_at": 1695796650, "display_name": "Paucek and Sons", "number": "0005", "has_valid_vat_number": false, "is_tax_exempt": false, "routing_id": "", "tax_info": {}, "contacts": [{ "id": "yMYerkEaOB", "first_name": "Bret", "last_name": "Beatty", "email": "user@example.com", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": true, "is_locked": false, "phone": "1-985-403-1242", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G" }, { "id": "gl9av2maG1", "first_name": "Sandra", "last_name": "Daniel", "email": "linnie.aufderhar@example.net", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "+17319151379", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd" }, { "id": "7LDdwpRe1Y", "first_name": "Leone", "last_name": "Bode", "email": "ipollich@example.org", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "(424) 789-3412", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma" }], "documents": { "data": [] }, "gateway_tokens": { "data": [] } }, "invoices": [], "paymentables": [{ "id": "1YQdJ2dOGp", "invoice_id": "mxkazm8eJ0", "amount": 444, "refunded": 0, "created_at": 1695799116, "updated_at": 1695799116, "archived_at": 0 }] }, { "id": "xYRdG7dDzO", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "amount": 8697.17, "refunded": 0, "applied": 8697.17, "transaction_reference": "Manual entry", "transaction_id": "", "date": "2023-09-26", "is_manual": true, "created_at": 1695799139, "updated_at": 1695799139, "archived_at": 0, "is_deleted": false, "type_id": "", "invitation_id": "", "private_notes": "", "number": "0003", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "client_id": "QJ0dN6dLOv", "client_contact_id": "", "company_gateway_id": "", "gateway_type_id": "", "status_id": "4", "project_id": "", "vendor_id": "", "currency_id": "1", "exchange_rate": 1, "exchange_currency_id": "", "client": { "id": "QJ0dN6dLOv", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "name": "Paucek and Sons", "website": "http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html", "private_notes": "In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.", "balance": 19958.86, "group_settings_id": "", "paid_to_date": 18895.75, "payment_balance": 0, "credit_balance": 573.53, "last_login": 0, "size_id": "", "public_notes": "", "client_hash": "ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI", "address1": "873", "address2": "220 Hand Glen", "phone": "", "city": "Lake Kallie", "state": "Ohio", "postal_code": "77890", "country_id": "535", "industry_id": "", "custom_value1": "1974-10-02 21:56:55", "custom_value2": "Aqua", "custom_value3": "modi", "custom_value4": "xhomenick@hotmail.com", "shipping_address1": "89064", "shipping_address2": "87854 Meda Junction", "shipping_city": "South Aryanna", "shipping_state": "Connecticut", "shipping_postal_code": "52527-1873", "shipping_country_id": "4", "is_deleted": false, "vat_number": "881403416", "id_number": "MU19IWUA7340242407223765691CMM", "updated_at": 1695811138, "archived_at": 0, "created_at": 1695796650, "display_name": "Paucek and Sons", "number": "0005", "has_valid_vat_number": false, "is_tax_exempt": false, "routing_id": "", "tax_info": {}, "contacts": [{ "id": "yMYerkEaOB", "first_name": "Bret", "last_name": "Beatty", "email": "user@example.com", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": true, "is_locked": false, "phone": "1-985-403-1242", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G" }, { "id": "gl9av2maG1", "first_name": "Sandra", "last_name": "Daniel", "email": "linnie.aufderhar@example.net", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "+17319151379", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd" }, { "id": "7LDdwpRe1Y", "first_name": "Leone", "last_name": "Bode", "email": "ipollich@example.org", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "(424) 789-3412", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma" }], "documents": { "data": [] }, "gateway_tokens": { "data": [] } }, "invoices": [], "paymentables": [{ "id": "4y1aKReQGw", "invoice_id": "Wpmbk55ezJ", "amount": 8697.17, "refunded": 0, "created_at": 1695799139, "updated_at": 1695799139, "archived_at": 0 }] }, { "id": "1YQdJ2dOGp", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "amount": 222, "refunded": 0, "applied": 222, "transaction_reference": "", "transaction_id": "", "date": "2023-09-27", "is_manual": true, "created_at": 1695799160, "updated_at": 1695802769, "archived_at": 0, "is_deleted": false, "type_id": "2", "invitation_id": "", "private_notes": "", "number": "0004", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "client_id": "QJ0dN6dLOv", "client_contact_id": "", "company_gateway_id": "", "gateway_type_id": "", "status_id": "4", "project_id": "", "vendor_id": "", "currency_id": "1", "exchange_rate": 1, "exchange_currency_id": "", "client": { "id": "QJ0dN6dLOv", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "name": "Paucek and Sons", "website": "http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html", "private_notes": "In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.", "balance": 19958.86, "group_settings_id": "", "paid_to_date": 18895.75, "payment_balance": 0, "credit_balance": 573.53, "last_login": 0, "size_id": "", "public_notes": "", "client_hash": "ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI", "address1": "873", "address2": "220 Hand Glen", "phone": "", "city": "Lake Kallie", "state": "Ohio", "postal_code": "77890", "country_id": "535", "industry_id": "", "custom_value1": "1974-10-02 21:56:55", "custom_value2": "Aqua", "custom_value3": "modi", "custom_value4": "xhomenick@hotmail.com", "shipping_address1": "89064", "shipping_address2": "87854 Meda Junction", "shipping_city": "South Aryanna", "shipping_state": "Connecticut", "shipping_postal_code": "52527-1873", "shipping_country_id": "4", "is_deleted": false, "vat_number": "881403416", "id_number": "MU19IWUA7340242407223765691CMM", "updated_at": 1695811138, "archived_at": 0, "created_at": 1695796650, "display_name": "Paucek and Sons", "number": "0005", "has_valid_vat_number": false, "is_tax_exempt": false, "routing_id": "", "tax_info": {}, "contacts": [{ "id": "yMYerkEaOB", "first_name": "Bret", "last_name": "Beatty", "email": "user@example.com", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": true, "is_locked": false, "phone": "1-985-403-1242", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G" }, { "id": "gl9av2maG1", "first_name": "Sandra", "last_name": "Daniel", "email": "linnie.aufderhar@example.net", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "+17319151379", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd" }, { "id": "7LDdwpRe1Y", "first_name": "Leone", "last_name": "Bode", "email": "ipollich@example.org", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "(424) 789-3412", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma" }], "documents": { "data": [] }, "gateway_tokens": { "data": [] } }, "invoices": [], "paymentables": [{ "id": "q9wdLwbjPX", "invoice_id": "Volej2RejN", "amount": 555, "refunded": 5, "created_at": 1695799160, "updated_at": 1695799160, "archived_at": 0 }, { "id": "7N1aMAaWmp", "credit_id": "mWZdPwbKgR", "amount": 333, "refunded": 5, "created_at": 1695799160, "updated_at": 1695799160, "archived_at": 0 }] }, { "id": "l4zbqx2apr", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "amount": 9199.58, "refunded": 0, "applied": 9199.58, "transaction_reference": "Manual entry", "transaction_id": "", "date": "2023-09-26", "is_manual": true, "created_at": 1695803284, "updated_at": 1695803284, "archived_at": 0, "is_deleted": false, "type_id": "", "invitation_id": "", "private_notes": "", "number": "0007", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "client_id": "QJ0dN6dLOv", "client_contact_id": "", "company_gateway_id": "", "gateway_type_id": "", "status_id": "4", "project_id": "", "vendor_id": "", "currency_id": "1", "exchange_rate": 1, "exchange_currency_id": "", "client": { "id": "QJ0dN6dLOv", "user_id": "wMvbmOeYAl", "assigned_user_id": "", "name": "Paucek and Sons", "website": "http:\/\/www.wiegand.com\/sit-repellendus-enim-porro-aut-voluptas-voluptates.html", "private_notes": "In nihil non voluptas voluptatibus molestiae et. Nihil labore eligendi omnis id. Et cumque reiciendis blanditiis fugiat.", "balance": 19958.86, "group_settings_id": "", "paid_to_date": 18895.75, "payment_balance": 0, "credit_balance": 573.53, "last_login": 0, "size_id": "", "public_notes": "", "client_hash": "ngQe8O6SInYp1D0SKacHE8f6nzr3Gc1UkkoyGMKI", "address1": "873", "address2": "220 Hand Glen", "phone": "", "city": "Lake Kallie", "state": "Ohio", "postal_code": "77890", "country_id": "535", "industry_id": "", "custom_value1": "1974-10-02 21:56:55", "custom_value2": "Aqua", "custom_value3": "modi", "custom_value4": "xhomenick@hotmail.com", "shipping_address1": "89064", "shipping_address2": "87854 Meda Junction", "shipping_city": "South Aryanna", "shipping_state": "Connecticut", "shipping_postal_code": "52527-1873", "shipping_country_id": "4", "is_deleted": false, "vat_number": "881403416", "id_number": "MU19IWUA7340242407223765691CMM", "updated_at": 1695811138, "archived_at": 0, "created_at": 1695796650, "display_name": "Paucek and Sons", "number": "0005", "has_valid_vat_number": false, "is_tax_exempt": false, "routing_id": "", "tax_info": {}, "contacts": [{ "id": "yMYerkEaOB", "first_name": "Bret", "last_name": "Beatty", "email": "user@example.com", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": true, "is_locked": false, "phone": "1-985-403-1242", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/juMXBqyvDashDUvoYXsdcbZV2SRrFf0BOUFjsc6G" }, { "id": "gl9av2maG1", "first_name": "Sandra", "last_name": "Daniel", "email": "linnie.aufderhar@example.net", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "+17319151379", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/sm53aNvvsGUmLXFku0RLPUrP0zLj3rzBcTaGMjHd" }, { "id": "7LDdwpRe1Y", "first_name": "Leone", "last_name": "Bode", "email": "ipollich@example.org", "created_at": 1695796650, "updated_at": 1695796650, "archived_at": 0, "is_primary": false, "is_locked": false, "phone": "(424) 789-3412", "custom_value1": "", "custom_value2": "", "custom_value3": "", "custom_value4": "", "contact_key": "gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma", "send_email": true, "last_login": 0, "password": "**********", "link": "http:\/\/ninja.test:8000\/client\/key_login\/gDUwiOqRehgCHWbbctW8qgKiLmma3xvsZi10a5Ma" }], "documents": { "data": [] }, "gateway_tokens": { "data": [] } }, "invoices": [], "paymentables": [{ "id": "OpnelY5aKB", "invoice_id": "7N1aMj3bWm", "amount": 9199.58, "refunded": 5, "created_at": 1695803284, "updated_at": 1695803284, "archived_at": 0 }] }]'; public string $purchase_order_data = '[{"id":"l4zbq2dprO","user_id":"wMvbmOeYAl","project_id":"","assigned_user_id":"","vendor_id":"xYRdG7dDzO","amount":14,"balance":0,"client_id":"","status_id":"1","design_id":"Wpmbk5ezJn","created_at":1695799265,"updated_at":1695799268,"archived_at":0,"is_deleted":false,"number":"0001","discount":0,"po_number":"","date":"2023-09-27","last_sent_date":"","next_send_date":"","reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","due_date":"2023-09-28","terms":"","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"","tax_rate1":0,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"total_taxes":0,"is_amount_discount":true,"footer":"","partial":0,"partial_due_date":"","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","has_tasks":false,"has_expenses":false,"custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"_id":"16ae59d4-60a8-4edf-b3a3-58882df1c5bf","quantity":1,"cost":14,"product_key":"enterprise_plan","product_cost":0,"notes":"The Enterprise Plan","discount":0,"is_amount_discount":true,"tax_name1":"","tax_rate1":0,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":"0","line_total":14,"gross_line_total":14,"date":"","custom_value1":"https:\/\/picsum.photos\/200","custom_value2":"73","custom_value3":"Nesciunt sequi.","custom_value4":"Ratione inventore.","type_id":"1","tax_id":"1","tax_amount":0,"task_id":"","expense_id":""},{"_id":"c7ef7af8-2713-4376-89c5-6f2c9c148ea7","quantity":0,"cost":0,"product_key":"","product_cost":0,"notes":"","discount":0,"is_amount_discount":true,"tax_name1":"","tax_rate1":0,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":"0","line_total":0,"gross_line_total":0,"date":"","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","type_id":"1","tax_id":"1","tax_amount":0,"task_id":"","expense_id":""}],"entity_type":"purchaseOrder","exchange_rate":1,"paid_to_date":0,"subscription_id":"","expense_id":"","currency_id":"","vendor":{"id":"xYRdG7dDzO","user_id":"wMvbmOeYAl","assigned_user_id":"","name":"Dr. Ottilie Gorczany PhD","website":"http:\/\/www.kihn.biz\/","private_notes":"Ullam ullam aut sed accusantium. Et amet ut et cumque. Dolorem rem doloremque eius aut laudantium soluta nihil.","public_notes":"","last_login":0,"address1":"93105","address2":"797 Medhurst Radial Suite 030","phone":"","city":"Lamberttown","state":"Kentucky","postal_code":"86694-1500","country_id":"4","currency_id":"1","custom_value1":"Et similique.","custom_value2":"Ducimus est.","custom_value3":"Ut unde aut quia.","custom_value4":"Rerum odio maxime.","is_deleted":false,"vat_number":"Hic sed vel sint eos et.","id_number":"Quod aut autem.","updated_at":1695796653,"archived_at":0,"created_at":1695796652,"number":"0004","language_id":"","contacts":{"App\\Models\\VendorContact":[{"id":"VolejRRejN","first_name":"Aisha","last_name":"Jerde","send_email":true,"email":"mariam40@example.com","created_at":1695796652,"updated_at":1695796652,"archived_at":0,"is_primary":true,"phone":"+1-828-839-4171","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","link":"http:\/\/ninja.test:8000\/vendor\/key_login\/vqQKXcwO2WsvkN4MPOAS6fpirMZP7gfc","last_login":0},{"id":"WpmbkR5azJ","first_name":"Willy","last_name":"Jacobs","send_email":true,"email":"qwolff@example.org","created_at":1695796652,"updated_at":1695796652,"archived_at":0,"is_primary":false,"phone":"979.822.6527","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","link":"http:\/\/ninja.test:8000\/vendor\/key_login\/A8g2xp3OLbNzpWlfPGIML2lk1LYNFJpx","last_login":0}]},"documents":{"App\\Models\\Document":[]}}},{"id":"kzPdy7aQro","user_id":"wMvbmOeYAl","project_id":"","assigned_user_id":"","vendor_id":"xYRdG7dDzO","amount":24,"balance":24,"client_id":"","status_id":"2","design_id":"Wpmbk5ezJn","created_at":1695799278,"updated_at":1695799290,"archived_at":0,"is_deleted":false,"number":"0002","discount":0,"po_number":"","date":"2023-09-27","last_sent_date":"","next_send_date":"","reminder1_sent":"","reminder2_sent":"","reminder3_sent":"","reminder_last_sent":"","due_date":"2023-09-28","terms":"","public_notes":"","private_notes":"","uses_inclusive_taxes":false,"tax_name1":"","tax_rate1":0,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"total_taxes":0,"is_amount_discount":true,"footer":"","partial":0,"partial_due_date":"","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","has_tasks":false,"has_expenses":false,"custom_surcharge1":0,"custom_surcharge2":0,"custom_surcharge3":0,"custom_surcharge4":0,"custom_surcharge_tax1":false,"custom_surcharge_tax2":false,"custom_surcharge_tax3":false,"custom_surcharge_tax4":false,"line_items":[{"_id":"a9fa64d0-e11b-47ce-8d75-d126769cd17d","quantity":1,"cost":14,"product_key":"enterprise_plan","product_cost":0,"notes":"The Enterprise Plan","discount":0,"is_amount_discount":true,"tax_name1":"","tax_rate1":0,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":"0","line_total":14,"gross_line_total":14,"date":"","custom_value1":"https:\/\/picsum.photos\/200","custom_value2":"73","custom_value3":"Nesciunt sequi.","custom_value4":"Ratione inventore.","type_id":"1","tax_id":"1","tax_amount":0,"task_id":"","expense_id":""},{"_id":"6b8a7e41-f140-499a-ac3d-7f1916aa7e00","quantity":1,"cost":10,"product_key":"pro_plan","product_cost":0,"notes":"The Pro Plan","discount":0,"is_amount_discount":true,"tax_name1":"","tax_rate1":0,"tax_name2":"","tax_rate2":0,"tax_name3":"","tax_rate3":0,"sort_id":"0","line_total":10,"gross_line_total":10,"date":"","custom_value1":"https:\/\/picsum.photos\/200","custom_value2":"81","custom_value3":"Enim quis deleniti.","custom_value4":"Numquam quia quas.","type_id":"1","tax_id":"1","tax_amount":0,"task_id":"","expense_id":""}],"entity_type":"purchaseOrder","exchange_rate":1,"paid_to_date":0,"subscription_id":"","expense_id":"","currency_id":"","vendor":{"id":"xYRdG7dDzO","user_id":"wMvbmOeYAl","assigned_user_id":"","name":"Dr. Ottilie Gorczany PhD","website":"http:\/\/www.kihn.biz\/","private_notes":"Ullam ullam aut sed accusantium. Et amet ut et cumque. Dolorem rem doloremque eius aut laudantium soluta nihil.","public_notes":"","last_login":0,"address1":"93105","address2":"797 Medhurst Radial Suite 030","phone":"","city":"Lamberttown","state":"Kentucky","postal_code":"86694-1500","country_id":"4","currency_id":"1","custom_value1":"Et similique.","custom_value2":"Ducimus est.","custom_value3":"Ut unde aut quia.","custom_value4":"Rerum odio maxime.","is_deleted":false,"vat_number":"Hic sed vel sint eos et.","id_number":"Quod aut autem.","updated_at":1695796653,"archived_at":0,"created_at":1695796652,"number":"0004","language_id":"","contacts":{"App\\Models\\VendorContact":[{"id":"VolejRRejN","first_name":"Aisha","last_name":"Jerde","send_email":true,"email":"mariam40@example.com","created_at":1695796652,"updated_at":1695796652,"archived_at":0,"is_primary":true,"phone":"+1-828-839-4171","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","link":"http:\/\/ninja.test:8000\/vendor\/key_login\/vqQKXcwO2WsvkN4MPOAS6fpirMZP7gfc","last_login":0},{"id":"WpmbkR5azJ","first_name":"Willy","last_name":"Jacobs","send_email":true,"email":"qwolff@example.org","created_at":1695796652,"updated_at":1695796652,"archived_at":0,"is_primary":false,"phone":"979.822.6527","custom_value1":"","custom_value2":"","custom_value3":"","custom_value4":"","link":"http:\/\/ninja.test:8000\/vendor\/key_login\/A8g2xp3OLbNzpWlfPGIML2lk1LYNFJpx","last_login":0}]},"documents":{"App\\Models\\Document":[]}}}]'; diff --git a/composer.lock b/composer.lock index 39e5e4356514..f1745e73b6bd 100644 --- a/composer.lock +++ b/composer.lock @@ -3397,16 +3397,16 @@ }, { "name": "horstoeko/zugferd", - "version": "v1.0.29", + "version": "v1.0.30", "source": { "type": "git", "url": "https://github.com/horstoeko/zugferd.git", - "reference": "9fb81e2e9a16d10bec8bf655484aae11bdca1997" + "reference": "b5e85651fe2e53eef82aa086c9245b7f5229433f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/horstoeko/zugferd/zipball/9fb81e2e9a16d10bec8bf655484aae11bdca1997", - "reference": "9fb81e2e9a16d10bec8bf655484aae11bdca1997", + "url": "https://api.github.com/repos/horstoeko/zugferd/zipball/b5e85651fe2e53eef82aa086c9245b7f5229433f", + "reference": "b5e85651fe2e53eef82aa086c9245b7f5229433f", "shasum": "" }, "require": { @@ -3464,9 +3464,9 @@ ], "support": { "issues": "https://github.com/horstoeko/zugferd/issues", - "source": "https://github.com/horstoeko/zugferd/tree/v1.0.29" + "source": "https://github.com/horstoeko/zugferd/tree/v1.0.30" }, - "time": "2023-09-23T06:15:04+00:00" + "time": "2023-09-30T13:42:02+00:00" }, { "name": "http-interop/http-factory-guzzle", @@ -4487,16 +4487,16 @@ }, { "name": "laravel/prompts", - "version": "v0.1.9", + "version": "v0.1.10", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "b603410e7af1040aa2d29e0a2cdca570bb63e827" + "reference": "37ed55f6950d921a87d5beeab16d03f8de26b060" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/b603410e7af1040aa2d29e0a2cdca570bb63e827", - "reference": "b603410e7af1040aa2d29e0a2cdca570bb63e827", + "url": "https://api.github.com/repos/laravel/prompts/zipball/37ed55f6950d921a87d5beeab16d03f8de26b060", + "reference": "37ed55f6950d921a87d5beeab16d03f8de26b060", "shasum": "" }, "require": { @@ -4538,9 +4538,9 @@ ], "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.1.9" + "source": "https://github.com/laravel/prompts/tree/v0.1.10" }, - "time": "2023-09-26T13:14:20+00:00" + "time": "2023-09-29T07:26:07+00:00" }, { "name": "laravel/serializable-closure", @@ -10621,16 +10621,16 @@ }, { "name": "symfony/error-handler", - "version": "v6.3.2", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "85fd65ed295c4078367c784e8a5a6cee30348b7a" + "reference": "1f69476b64fb47105c06beef757766c376b548c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/85fd65ed295c4078367c784e8a5a6cee30348b7a", - "reference": "85fd65ed295c4078367c784e8a5a6cee30348b7a", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/1f69476b64fb47105c06beef757766c376b548c4", + "reference": "1f69476b64fb47105c06beef757766c376b548c4", "shasum": "" }, "require": { @@ -10675,7 +10675,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v6.3.2" + "source": "https://github.com/symfony/error-handler/tree/v6.3.5" }, "funding": [ { @@ -10691,7 +10691,7 @@ "type": "tidelift" } ], - "time": "2023-07-16T17:05:46+00:00" + "time": "2023-09-12T06:57:20+00:00" }, { "name": "symfony/event-dispatcher", @@ -10914,16 +10914,16 @@ }, { "name": "symfony/finder", - "version": "v6.3.3", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "9915db259f67d21eefee768c1abcf1cc61b1fc9e" + "reference": "a1b31d88c0e998168ca7792f222cbecee47428c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/9915db259f67d21eefee768c1abcf1cc61b1fc9e", - "reference": "9915db259f67d21eefee768c1abcf1cc61b1fc9e", + "url": "https://api.github.com/repos/symfony/finder/zipball/a1b31d88c0e998168ca7792f222cbecee47428c4", + "reference": "a1b31d88c0e998168ca7792f222cbecee47428c4", "shasum": "" }, "require": { @@ -10958,7 +10958,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.3.3" + "source": "https://github.com/symfony/finder/tree/v6.3.5" }, "funding": [ { @@ -10974,20 +10974,20 @@ "type": "tidelift" } ], - "time": "2023-07-31T08:31:44+00:00" + "time": "2023-09-26T12:56:25+00:00" }, { "name": "symfony/http-client", - "version": "v6.3.2", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "15f9f4bad62bfcbe48b5dedd866f04a08fc7ff00" + "reference": "213e564da4cbf61acc9728d97e666bcdb868c10d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/15f9f4bad62bfcbe48b5dedd866f04a08fc7ff00", - "reference": "15f9f4bad62bfcbe48b5dedd866f04a08fc7ff00", + "url": "https://api.github.com/repos/symfony/http-client/zipball/213e564da4cbf61acc9728d97e666bcdb868c10d", + "reference": "213e564da4cbf61acc9728d97e666bcdb868c10d", "shasum": "" }, "require": { @@ -11050,7 +11050,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v6.3.2" + "source": "https://github.com/symfony/http-client/tree/v6.3.5" }, "funding": [ { @@ -11066,7 +11066,7 @@ "type": "tidelift" } ], - "time": "2023-07-05T08:41:27+00:00" + "time": "2023-09-29T15:57:12+00:00" }, { "name": "symfony/http-client-contracts", @@ -11148,16 +11148,16 @@ }, { "name": "symfony/http-foundation", - "version": "v6.3.4", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "cac1556fdfdf6719668181974104e6fcfa60e844" + "reference": "b50f5e281d722cb0f4c296f908bacc3e2b721957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/cac1556fdfdf6719668181974104e6fcfa60e844", - "reference": "cac1556fdfdf6719668181974104e6fcfa60e844", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/b50f5e281d722cb0f4c296f908bacc3e2b721957", + "reference": "b50f5e281d722cb0f4c296f908bacc3e2b721957", "shasum": "" }, "require": { @@ -11205,7 +11205,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.3.4" + "source": "https://github.com/symfony/http-foundation/tree/v6.3.5" }, "funding": [ { @@ -11221,20 +11221,20 @@ "type": "tidelift" } ], - "time": "2023-08-22T08:20:46+00:00" + "time": "2023-09-04T21:33:54+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.3.4", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "36abb425b4af863ae1fe54d8a8b8b4c76a2bccdb" + "reference": "9f991a964368bee8d883e8d57ced4fe9fff04dfc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/36abb425b4af863ae1fe54d8a8b8b4c76a2bccdb", - "reference": "36abb425b4af863ae1fe54d8a8b8b4c76a2bccdb", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/9f991a964368bee8d883e8d57ced4fe9fff04dfc", + "reference": "9f991a964368bee8d883e8d57ced4fe9fff04dfc", "shasum": "" }, "require": { @@ -11318,7 +11318,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.3.4" + "source": "https://github.com/symfony/http-kernel/tree/v6.3.5" }, "funding": [ { @@ -11334,7 +11334,7 @@ "type": "tidelift" } ], - "time": "2023-08-26T13:54:49+00:00" + "time": "2023-09-30T06:37:04+00:00" }, { "name": "symfony/intl", @@ -11420,16 +11420,16 @@ }, { "name": "symfony/mailer", - "version": "v6.3.0", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "7b03d9be1dea29bfec0a6c7b603f5072a4c97435" + "reference": "d89611a7830d51b5e118bca38e390dea92f9ea06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/7b03d9be1dea29bfec0a6c7b603f5072a4c97435", - "reference": "7b03d9be1dea29bfec0a6c7b603f5072a4c97435", + "url": "https://api.github.com/repos/symfony/mailer/zipball/d89611a7830d51b5e118bca38e390dea92f9ea06", + "reference": "d89611a7830d51b5e118bca38e390dea92f9ea06", "shasum": "" }, "require": { @@ -11480,7 +11480,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.3.0" + "source": "https://github.com/symfony/mailer/tree/v6.3.5" }, "funding": [ { @@ -11496,20 +11496,20 @@ "type": "tidelift" } ], - "time": "2023-05-29T12:49:39+00:00" + "time": "2023-09-06T09:47:15+00:00" }, { "name": "symfony/mailgun-mailer", - "version": "v6.3.2", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/mailgun-mailer.git", - "reference": "df371e42a4c2a78a28c8de910f96949040e308fd" + "reference": "b467aba49c8240a71f7027c213d9d140ba1abce7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailgun-mailer/zipball/df371e42a4c2a78a28c8de910f96949040e308fd", - "reference": "df371e42a4c2a78a28c8de910f96949040e308fd", + "url": "https://api.github.com/repos/symfony/mailgun-mailer/zipball/b467aba49c8240a71f7027c213d9d140ba1abce7", + "reference": "b467aba49c8240a71f7027c213d9d140ba1abce7", "shasum": "" }, "require": { @@ -11549,7 +11549,7 @@ "description": "Symfony Mailgun Mailer Bridge", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailgun-mailer/tree/v6.3.2" + "source": "https://github.com/symfony/mailgun-mailer/tree/v6.3.5" }, "funding": [ { @@ -11565,20 +11565,20 @@ "type": "tidelift" } ], - "time": "2023-07-20T10:26:17+00:00" + "time": "2023-09-29T17:30:10+00:00" }, { "name": "symfony/mime", - "version": "v6.3.3", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "9a0cbd52baa5ba5a5b1f0cacc59466f194730f98" + "reference": "d5179eedf1cb2946dbd760475ebf05c251ef6a6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/9a0cbd52baa5ba5a5b1f0cacc59466f194730f98", - "reference": "9a0cbd52baa5ba5a5b1f0cacc59466f194730f98", + "url": "https://api.github.com/repos/symfony/mime/zipball/d5179eedf1cb2946dbd760475ebf05c251ef6a6e", + "reference": "d5179eedf1cb2946dbd760475ebf05c251ef6a6e", "shasum": "" }, "require": { @@ -11633,7 +11633,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.3.3" + "source": "https://github.com/symfony/mime/tree/v6.3.5" }, "funding": [ { @@ -11649,7 +11649,7 @@ "type": "tidelift" } ], - "time": "2023-07-31T07:08:24+00:00" + "time": "2023-09-29T06:59:36+00:00" }, { "name": "symfony/options-resolver", @@ -13010,16 +13010,16 @@ }, { "name": "symfony/routing", - "version": "v6.3.3", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "e7243039ab663822ff134fbc46099b5fdfa16f6a" + "reference": "82616e59acd3e3d9c916bba798326cb7796d7d31" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/e7243039ab663822ff134fbc46099b5fdfa16f6a", - "reference": "e7243039ab663822ff134fbc46099b5fdfa16f6a", + "url": "https://api.github.com/repos/symfony/routing/zipball/82616e59acd3e3d9c916bba798326cb7796d7d31", + "reference": "82616e59acd3e3d9c916bba798326cb7796d7d31", "shasum": "" }, "require": { @@ -13073,7 +13073,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.3.3" + "source": "https://github.com/symfony/routing/tree/v6.3.5" }, "funding": [ { @@ -13089,7 +13089,7 @@ "type": "tidelift" } ], - "time": "2023-07-31T07:08:24+00:00" + "time": "2023-09-20T16:05:51+00:00" }, { "name": "symfony/service-contracts", @@ -13175,16 +13175,16 @@ }, { "name": "symfony/string", - "version": "v6.3.2", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "53d1a83225002635bca3482fcbf963001313fb68" + "reference": "13d76d0fb049051ed12a04bef4f9de8715bea339" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/53d1a83225002635bca3482fcbf963001313fb68", - "reference": "53d1a83225002635bca3482fcbf963001313fb68", + "url": "https://api.github.com/repos/symfony/string/zipball/13d76d0fb049051ed12a04bef4f9de8715bea339", + "reference": "13d76d0fb049051ed12a04bef4f9de8715bea339", "shasum": "" }, "require": { @@ -13241,7 +13241,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.3.2" + "source": "https://github.com/symfony/string/tree/v6.3.5" }, "funding": [ { @@ -13257,7 +13257,7 @@ "type": "tidelift" } ], - "time": "2023-07-05T08:41:27+00:00" + "time": "2023-09-18T10:38:32+00:00" }, { "name": "symfony/translation", @@ -13508,16 +13508,16 @@ }, { "name": "symfony/validator", - "version": "v6.3.4", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "0c8435154920b9bbe93bece675234c244cadf73b" + "reference": "48e815ba3b5eb72e632588dbf7ea2dc4e608ee47" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/0c8435154920b9bbe93bece675234c244cadf73b", - "reference": "0c8435154920b9bbe93bece675234c244cadf73b", + "url": "https://api.github.com/repos/symfony/validator/zipball/48e815ba3b5eb72e632588dbf7ea2dc4e608ee47", + "reference": "48e815ba3b5eb72e632588dbf7ea2dc4e608ee47", "shasum": "" }, "require": { @@ -13584,7 +13584,7 @@ "description": "Provides tools to validate values", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/validator/tree/v6.3.4" + "source": "https://github.com/symfony/validator/tree/v6.3.5" }, "funding": [ { @@ -13600,20 +13600,20 @@ "type": "tidelift" } ], - "time": "2023-08-17T15:49:05+00:00" + "time": "2023-09-29T07:41:15+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.3.4", + "version": "v6.3.5", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "2027be14f8ae8eae999ceadebcda5b4909b81d45" + "reference": "3d9999376be5fea8de47752837a3e1d1c5f69ef5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/2027be14f8ae8eae999ceadebcda5b4909b81d45", - "reference": "2027be14f8ae8eae999ceadebcda5b4909b81d45", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/3d9999376be5fea8de47752837a3e1d1c5f69ef5", + "reference": "3d9999376be5fea8de47752837a3e1d1c5f69ef5", "shasum": "" }, "require": { @@ -13668,7 +13668,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.3.4" + "source": "https://github.com/symfony/var-dumper/tree/v6.3.5" }, "funding": [ { @@ -13684,7 +13684,7 @@ "type": "tidelift" } ], - "time": "2023-08-24T14:51:05+00:00" + "time": "2023-09-12T10:11:35+00:00" }, { "name": "symfony/yaml", @@ -15181,16 +15181,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.30.0", + "version": "v3.34.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "95c64693b2f149966a2bc05a7a4981b0343ea52f" + "reference": "7c7a4ad2ed8fe50df3e25528218b13d383608f23" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/95c64693b2f149966a2bc05a7a4981b0343ea52f", - "reference": "95c64693b2f149966a2bc05a7a4981b0343ea52f", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/7c7a4ad2ed8fe50df3e25528218b13d383608f23", + "reference": "7c7a4ad2ed8fe50df3e25528218b13d383608f23", "shasum": "" }, "require": { @@ -15211,6 +15211,9 @@ "symfony/process": "^5.4 || ^6.0", "symfony/stopwatch": "^5.4 || ^6.0" }, + "conflict": { + "stevebauman/unfinalize": "*" + }, "require-dev": { "facile-it/paraunit": "^1.3 || ^2.0", "justinrainbow/json-schema": "^5.2", @@ -15264,7 +15267,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.30.0" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.34.0" }, "funding": [ { @@ -15272,7 +15275,7 @@ "type": "github" } ], - "time": "2023-09-26T22:10:43+00:00" + "time": "2023-09-29T15:34:26+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -15983,16 +15986,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.35", + "version": "1.10.36", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "e730e5facb75ffe09dfb229795e8c01a459f26c3" + "reference": "ffa3089511121a672e62969404e4fddc753f9b15" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e730e5facb75ffe09dfb229795e8c01a459f26c3", - "reference": "e730e5facb75ffe09dfb229795e8c01a459f26c3", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ffa3089511121a672e62969404e4fddc753f9b15", + "reference": "ffa3089511121a672e62969404e4fddc753f9b15", "shasum": "" }, "require": { @@ -16041,7 +16044,7 @@ "type": "tidelift" } ], - "time": "2023-09-19T15:27:56+00:00" + "time": "2023-09-29T14:07:45+00:00" }, { "name": "phpunit/php-code-coverage", diff --git a/tests/Feature/Template/TemplateTest.php b/tests/Feature/Template/TemplateTest.php index d2fedf16eed0..fafa8ac22c43 100644 --- a/tests/Feature/Template/TemplateTest.php +++ b/tests/Feature/Template/TemplateTest.php @@ -229,11 +229,6 @@ class TemplateTest extends TestCase $arr = $response->json(); - // $p = Payment::with('client','invoices','paymentables','credits') - // ->where('id', $this->decodePrimaryKey($arr['data']['id']))->first(); - - // nlog($p->toArray()); - $start = microtime(true); $p = Payment::with('client','invoices','paymentables','credits') @@ -251,7 +246,8 @@ class TemplateTest extends TestCase $this->assertIsArray($data); $start = microtime(true); -\DB::enableQueryLog(); + + \DB::enableQueryLog(); $invoices = Invoice::with('client','payments.client','payments.paymentables','payments.credits','credits.client') ->orderBy('id','desc') @@ -260,8 +256,9 @@ class TemplateTest extends TestCase ->get() ->map(function($invoice){ + $payments = []; $payments = $invoice->payments->map(function ($payment){ - nlog(microtime(true)); + // nlog(microtime(true)); return $this->transformPayment($payment); })->toArray(); @@ -318,16 +315,19 @@ class TemplateTest extends TestCase 'payment_balance' => $invoice->client->payment_balance, 'credit_balance' => $invoice->client->credit_balance, ], - 'payments' => $payments + 'payments' => $payments, ]; - })->toArray(); + }); $queries = \DB::getQueryLog(); $count = count($queries); nlog("query count = {$count}"); - nlog($invoices); - $this->assertIsArray($invoices); + + $x = $invoices->toArray(); + nlog(json_encode(htmlspecialchars(json_encode($x), ENT_QUOTES, 'UTF-8'))); + // nlog($invoices->toJson()); + $this->assertIsArray($invoices->toArray()); nlog("end invoices = " . microtime(true) - $start);