GET https://facturation.myapp.agence-saycom.com/api/v1/invoices/list?_=1781528023503&queryParams=

Query Metrics

34 Database Queries
7 Different statements
33.52 ms Query time
1 Invalid entities
31 Managed entities

Queries

Group similar statements

remote_db connection

# Time Info
1 7.01 ms
SELECT i0_.pennylane_invoice_id AS pennylane_invoice_id_0, i0_.pennylane_invoice_label AS pennylane_invoice_label_1, i0_.pennylane_invoice_number AS pennylane_invoice_number_2, i0_.pennylane_invoice_amount AS pennylane_invoice_amount_3, i0_.pennylane_invoice_currency_amount AS pennylane_invoice_currency_amount_4, i0_.pennylane_invoice_currency_amount_before_tax AS pennylane_invoice_currency_amount_before_tax_5, i0_.pennylane_invoice_tax AS pennylane_invoice_tax_6, i0_.pennylane_invoice_currency_tax AS pennylane_invoice_currency_tax_7, i0_.pennylane_invoice_remaining_amount_with_tax AS pennylane_invoice_remaining_amount_with_tax_8, i0_.pennylane_invoice_remaining_amount_without_tax AS pennylane_invoice_remaining_amount_without_tax_9, i0_.pennylane_invoice_filename AS pennylane_invoice_filename_10, i0_.pennylane_invoice_date AS pennylane_invoice_date_11, i0_.pennylane_invoice_special_mention AS pennylane_invoice_special_mention_12, i0_.pennylane_invoice_pdf_invoice_free_text AS pennylane_invoice_pdf_invoice_free_text_13, i0_.pennylane_invoice_pdf_description AS pennylane_invoice_pdf_description_14, i0_.pennylane_invoice_pdf_invoice_subject AS pennylane_invoice_pdf_invoice_subject_15, i0_.pennylane_invoice_extrenal_reference AS pennylane_invoice_extrenal_reference_16, i0_.pennylane_invoice_customer_invoice_template_id AS pennylane_invoice_customer_invoice_template_id_17, i0_.vtiger_invoice_id AS vtiger_invoice_id_18, i0_.vtiger_document_id AS vtiger_document_id_19, i0_.vtiger_attachment_id AS vtiger_attachment_id_20, i0_.generated AS generated_21, i0_.token AS token_22, LENGTH(i0_.pennylane_invoice_number) AS sclr_23, i0_.pennylane_customer_id AS pennylane_customer_id_24 FROM invoices i0_ LEFT JOIN customers c1_ ON i0_.pennylane_customer_id = c1_.pennylane_customer_id ORDER BY sclr_23 DESC, i0_.pennylane_invoice_number DESC LIMIT 10
Parameters:
[]
2 1.34 ms
SELECT count(i0_.pennylane_invoice_id) AS sclr_0 FROM invoices i0_
Parameters:
[]
3 0.98 ms
SELECT COUNT(*) FROM invoices t0
Parameters:
[]
4 0.75 ms
SELECT count(i0_.id) AS sclr_0 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ?
Parameters:
[
  "23264667197440"
]
5 0.90 ms
SELECT i0_.id AS id_0, i0_.date_created AS date_created_1, i0_.send_at AS send_at_2, i0_.is_send AS is_send_3, i0_.send_to AS send_to_4, i0_.pennylane_invoice_id AS pennylane_invoice_id_5, i0_.mail_template_id AS mail_template_id_6 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ? ORDER BY i0_.send_at DESC LIMIT 1
Parameters:
[
  "23264667197440"
]
6 0.84 ms
SELECT t0.pennylane_customer_id AS pennylane_customer_id_1, t0.pennylane_customer_name AS pennylane_customer_name_2, t0.pennylane_customer_phone AS pennylane_customer_phone_3, t0.pennylane_customer_vat_number AS pennylane_customer_vat_number_4, t0.pennylane_customer_reg_no AS pennylane_customer_reg_no_5, t0.pennylane_customer_email AS pennylane_customer_email_6, t0.pennylane_customer_billing_address AS pennylane_customer_billing_address_7, t0.pennylane_customer_billing_postal_code AS pennylane_customer_billing_postal_code_8, t0.pennylane_customer_billing_city AS pennylane_customer_billing_city_9, t0.vtiger_account_id AS vtiger_account_id_10, t0.hubspot_id AS hubspot_id_11, t0.pennylane_customer_apirest_url AS pennylane_customer_apirest_url_12 FROM customers t0 WHERE t0.pennylane_customer_id = ?
Parameters:
[
  "113199614"
]
7 0.64 ms
SELECT count(i0_.id) AS sclr_0 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ?
Parameters:
[
  "23263112294400"
]
8 0.63 ms
SELECT i0_.id AS id_0, i0_.date_created AS date_created_1, i0_.send_at AS send_at_2, i0_.is_send AS is_send_3, i0_.send_to AS send_to_4, i0_.pennylane_invoice_id AS pennylane_invoice_id_5, i0_.mail_template_id AS mail_template_id_6 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ? ORDER BY i0_.send_at DESC LIMIT 1
Parameters:
[
  "23263112294400"
]
9 0.80 ms
SELECT t0.pennylane_customer_id AS pennylane_customer_id_1, t0.pennylane_customer_name AS pennylane_customer_name_2, t0.pennylane_customer_phone AS pennylane_customer_phone_3, t0.pennylane_customer_vat_number AS pennylane_customer_vat_number_4, t0.pennylane_customer_reg_no AS pennylane_customer_reg_no_5, t0.pennylane_customer_email AS pennylane_customer_email_6, t0.pennylane_customer_billing_address AS pennylane_customer_billing_address_7, t0.pennylane_customer_billing_postal_code AS pennylane_customer_billing_postal_code_8, t0.pennylane_customer_billing_city AS pennylane_customer_billing_city_9, t0.vtiger_account_id AS vtiger_account_id_10, t0.hubspot_id AS hubspot_id_11, t0.pennylane_customer_apirest_url AS pennylane_customer_apirest_url_12 FROM customers t0 WHERE t0.pennylane_customer_id = ?
Parameters:
[
  "1257807458304"
]
10 0.68 ms
SELECT count(i0_.id) AS sclr_0 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ?
Parameters:
[
  "23255595274240"
]
11 0.70 ms
SELECT i0_.id AS id_0, i0_.date_created AS date_created_1, i0_.send_at AS send_at_2, i0_.is_send AS is_send_3, i0_.send_to AS send_to_4, i0_.pennylane_invoice_id AS pennylane_invoice_id_5, i0_.mail_template_id AS mail_template_id_6 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ? ORDER BY i0_.send_at DESC LIMIT 1
Parameters:
[
  "23255595274240"
]
12 0.89 ms
SELECT t0.pennylane_customer_id AS pennylane_customer_id_1, t0.pennylane_customer_name AS pennylane_customer_name_2, t0.pennylane_customer_phone AS pennylane_customer_phone_3, t0.pennylane_customer_vat_number AS pennylane_customer_vat_number_4, t0.pennylane_customer_reg_no AS pennylane_customer_reg_no_5, t0.pennylane_customer_email AS pennylane_customer_email_6, t0.pennylane_customer_billing_address AS pennylane_customer_billing_address_7, t0.pennylane_customer_billing_postal_code AS pennylane_customer_billing_postal_code_8, t0.pennylane_customer_billing_city AS pennylane_customer_billing_city_9, t0.vtiger_account_id AS vtiger_account_id_10, t0.hubspot_id AS hubspot_id_11, t0.pennylane_customer_apirest_url AS pennylane_customer_apirest_url_12 FROM customers t0 WHERE t0.pennylane_customer_id = ?
Parameters:
[
  "1257524154368"
]
13 0.66 ms
SELECT count(i0_.id) AS sclr_0 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ?
Parameters:
[
  "23254698967040"
]
14 0.71 ms
SELECT i0_.id AS id_0, i0_.date_created AS date_created_1, i0_.send_at AS send_at_2, i0_.is_send AS is_send_3, i0_.send_to AS send_to_4, i0_.pennylane_invoice_id AS pennylane_invoice_id_5, i0_.mail_template_id AS mail_template_id_6 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ? ORDER BY i0_.send_at DESC LIMIT 1
Parameters:
[
  "23254698967040"
]
15 0.79 ms
SELECT t0.pennylane_customer_id AS pennylane_customer_id_1, t0.pennylane_customer_name AS pennylane_customer_name_2, t0.pennylane_customer_phone AS pennylane_customer_phone_3, t0.pennylane_customer_vat_number AS pennylane_customer_vat_number_4, t0.pennylane_customer_reg_no AS pennylane_customer_reg_no_5, t0.pennylane_customer_email AS pennylane_customer_email_6, t0.pennylane_customer_billing_address AS pennylane_customer_billing_address_7, t0.pennylane_customer_billing_postal_code AS pennylane_customer_billing_postal_code_8, t0.pennylane_customer_billing_city AS pennylane_customer_billing_city_9, t0.vtiger_account_id AS vtiger_account_id_10, t0.hubspot_id AS hubspot_id_11, t0.pennylane_customer_apirest_url AS pennylane_customer_apirest_url_12 FROM customers t0 WHERE t0.pennylane_customer_id = ?
Parameters:
[
  "1257461637120"
]
16 0.67 ms
SELECT count(i0_.id) AS sclr_0 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ?
Parameters:
[
  "4287269225"
]
17 0.69 ms
SELECT i0_.id AS id_0, i0_.date_created AS date_created_1, i0_.send_at AS send_at_2, i0_.is_send AS is_send_3, i0_.send_to AS send_to_4, i0_.pennylane_invoice_id AS pennylane_invoice_id_5, i0_.mail_template_id AS mail_template_id_6 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ? ORDER BY i0_.send_at DESC LIMIT 1
Parameters:
[
  "4287269225"
]
18 0.84 ms
SELECT t0.pennylane_customer_id AS pennylane_customer_id_1, t0.pennylane_customer_name AS pennylane_customer_name_2, t0.pennylane_customer_phone AS pennylane_customer_phone_3, t0.pennylane_customer_vat_number AS pennylane_customer_vat_number_4, t0.pennylane_customer_reg_no AS pennylane_customer_reg_no_5, t0.pennylane_customer_email AS pennylane_customer_email_6, t0.pennylane_customer_billing_address AS pennylane_customer_billing_address_7, t0.pennylane_customer_billing_postal_code AS pennylane_customer_billing_postal_code_8, t0.pennylane_customer_billing_city AS pennylane_customer_billing_city_9, t0.vtiger_account_id AS vtiger_account_id_10, t0.hubspot_id AS hubspot_id_11, t0.pennylane_customer_apirest_url AS pennylane_customer_apirest_url_12 FROM customers t0 WHERE t0.pennylane_customer_id = ?
Parameters:
[
  "252893242"
]
19 0.84 ms
SELECT count(i0_.id) AS sclr_0 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ?
Parameters:
[
  "2863521188"
]
20 0.70 ms
SELECT i0_.id AS id_0, i0_.date_created AS date_created_1, i0_.send_at AS send_at_2, i0_.is_send AS is_send_3, i0_.send_to AS send_to_4, i0_.pennylane_invoice_id AS pennylane_invoice_id_5, i0_.mail_template_id AS mail_template_id_6 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ? ORDER BY i0_.send_at DESC LIMIT 1
Parameters:
[
  "2863521188"
]
21 1.01 ms
SELECT t0.pennylane_customer_id AS pennylane_customer_id_1, t0.pennylane_customer_name AS pennylane_customer_name_2, t0.pennylane_customer_phone AS pennylane_customer_phone_3, t0.pennylane_customer_vat_number AS pennylane_customer_vat_number_4, t0.pennylane_customer_reg_no AS pennylane_customer_reg_no_5, t0.pennylane_customer_email AS pennylane_customer_email_6, t0.pennylane_customer_billing_address AS pennylane_customer_billing_address_7, t0.pennylane_customer_billing_postal_code AS pennylane_customer_billing_postal_code_8, t0.pennylane_customer_billing_city AS pennylane_customer_billing_city_9, t0.vtiger_account_id AS vtiger_account_id_10, t0.hubspot_id AS hubspot_id_11, t0.pennylane_customer_apirest_url AS pennylane_customer_apirest_url_12 FROM customers t0 WHERE t0.pennylane_customer_id = ?
Parameters:
[
  "195438519"
]
22 1.37 ms
SELECT count(i0_.id) AS sclr_0 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ?
Parameters:
[
  "23248200802304"
]
23 1.00 ms
SELECT i0_.id AS id_0, i0_.date_created AS date_created_1, i0_.send_at AS send_at_2, i0_.is_send AS is_send_3, i0_.send_to AS send_to_4, i0_.pennylane_invoice_id AS pennylane_invoice_id_5, i0_.mail_template_id AS mail_template_id_6 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ? ORDER BY i0_.send_at DESC LIMIT 1
Parameters:
[
  "23248200802304"
]
24 0.90 ms
SELECT t0.pennylane_customer_id AS pennylane_customer_id_1, t0.pennylane_customer_name AS pennylane_customer_name_2, t0.pennylane_customer_phone AS pennylane_customer_phone_3, t0.pennylane_customer_vat_number AS pennylane_customer_vat_number_4, t0.pennylane_customer_reg_no AS pennylane_customer_reg_no_5, t0.pennylane_customer_email AS pennylane_customer_email_6, t0.pennylane_customer_billing_address AS pennylane_customer_billing_address_7, t0.pennylane_customer_billing_postal_code AS pennylane_customer_billing_postal_code_8, t0.pennylane_customer_billing_city AS pennylane_customer_billing_city_9, t0.vtiger_account_id AS vtiger_account_id_10, t0.hubspot_id AS hubspot_id_11, t0.pennylane_customer_apirest_url AS pennylane_customer_apirest_url_12 FROM customers t0 WHERE t0.pennylane_customer_id = ?
Parameters:
[
  "113199188"
]
25 0.67 ms
SELECT count(i0_.id) AS sclr_0 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ?
Parameters:
[
  "22918375993344"
]
26 0.68 ms
SELECT i0_.id AS id_0, i0_.date_created AS date_created_1, i0_.send_at AS send_at_2, i0_.is_send AS is_send_3, i0_.send_to AS send_to_4, i0_.pennylane_invoice_id AS pennylane_invoice_id_5, i0_.mail_template_id AS mail_template_id_6 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ? ORDER BY i0_.send_at DESC LIMIT 1
Parameters:
[
  "22918375993344"
]
27 0.88 ms
SELECT t0.pennylane_customer_id AS pennylane_customer_id_1, t0.pennylane_customer_name AS pennylane_customer_name_2, t0.pennylane_customer_phone AS pennylane_customer_phone_3, t0.pennylane_customer_vat_number AS pennylane_customer_vat_number_4, t0.pennylane_customer_reg_no AS pennylane_customer_reg_no_5, t0.pennylane_customer_email AS pennylane_customer_email_6, t0.pennylane_customer_billing_address AS pennylane_customer_billing_address_7, t0.pennylane_customer_billing_postal_code AS pennylane_customer_billing_postal_code_8, t0.pennylane_customer_billing_city AS pennylane_customer_billing_city_9, t0.vtiger_account_id AS vtiger_account_id_10, t0.hubspot_id AS hubspot_id_11, t0.pennylane_customer_apirest_url AS pennylane_customer_apirest_url_12 FROM customers t0 WHERE t0.pennylane_customer_id = ?
Parameters:
[
  "113199993"
]
28 0.60 ms
SELECT count(i0_.id) AS sclr_0 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ?
Parameters:
[
  "22918377881600"
]
29 0.73 ms
SELECT i0_.id AS id_0, i0_.date_created AS date_created_1, i0_.send_at AS send_at_2, i0_.is_send AS is_send_3, i0_.send_to AS send_to_4, i0_.pennylane_invoice_id AS pennylane_invoice_id_5, i0_.mail_template_id AS mail_template_id_6 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ? ORDER BY i0_.send_at DESC LIMIT 1
Parameters:
[
  "22918377881600"
]
30 0.85 ms
SELECT t0.pennylane_customer_id AS pennylane_customer_id_1, t0.pennylane_customer_name AS pennylane_customer_name_2, t0.pennylane_customer_phone AS pennylane_customer_phone_3, t0.pennylane_customer_vat_number AS pennylane_customer_vat_number_4, t0.pennylane_customer_reg_no AS pennylane_customer_reg_no_5, t0.pennylane_customer_email AS pennylane_customer_email_6, t0.pennylane_customer_billing_address AS pennylane_customer_billing_address_7, t0.pennylane_customer_billing_postal_code AS pennylane_customer_billing_postal_code_8, t0.pennylane_customer_billing_city AS pennylane_customer_billing_city_9, t0.vtiger_account_id AS vtiger_account_id_10, t0.hubspot_id AS hubspot_id_11, t0.pennylane_customer_apirest_url AS pennylane_customer_apirest_url_12 FROM customers t0 WHERE t0.pennylane_customer_id = ?
Parameters:
[
  "113199752"
]
31 0.74 ms
SELECT count(i0_.id) AS sclr_0 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ?
Parameters:
[
  "23146327580672"
]
32 0.78 ms
SELECT i0_.id AS id_0, i0_.date_created AS date_created_1, i0_.send_at AS send_at_2, i0_.is_send AS is_send_3, i0_.send_to AS send_to_4, i0_.pennylane_invoice_id AS pennylane_invoice_id_5, i0_.mail_template_id AS mail_template_id_6 FROM invoices_sendat i0_ WHERE i0_.pennylane_invoice_id = ? ORDER BY i0_.send_at DESC LIMIT 1
Parameters:
[
  "23146327580672"
]
33 0.81 ms
SELECT t0.pennylane_customer_id AS pennylane_customer_id_1, t0.pennylane_customer_name AS pennylane_customer_name_2, t0.pennylane_customer_phone AS pennylane_customer_phone_3, t0.pennylane_customer_vat_number AS pennylane_customer_vat_number_4, t0.pennylane_customer_reg_no AS pennylane_customer_reg_no_5, t0.pennylane_customer_email AS pennylane_customer_email_6, t0.pennylane_customer_billing_address AS pennylane_customer_billing_address_7, t0.pennylane_customer_billing_postal_code AS pennylane_customer_billing_postal_code_8, t0.pennylane_customer_billing_city AS pennylane_customer_billing_city_9, t0.vtiger_account_id AS vtiger_account_id_10, t0.hubspot_id AS hubspot_id_11, t0.pennylane_customer_apirest_url AS pennylane_customer_apirest_url_12 FROM customers t0 WHERE t0.pennylane_customer_id = ?
Parameters:
[
  "217246061"
]

local_db connection

# Time Info
1 0.46 ms
SELECT t0.id AS id_1, t0.email AS email_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom AS nom_5, t0.prenom AS prenom_6 FROM user t0 WHERE t0.id = ?
Parameters:
[
  2
]

Database Connections

Name Service
local_db doctrine.dbal.local_db_connection
remote_db doctrine.dbal.remote_db_connection

Entity Managers

Name Service
local_em doctrine.orm.local_em_entity_manager
remote_em doctrine.orm.remote_em_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

local_em entity manager

Class Amount of managed objects
App\Entity\Local\User 1

remote_em entity manager

Class Amount of managed objects
App\Entity\Remote\Invoice 10
App\Entity\Remote\Customer 10
App\Entity\Remote\InvoiceSendAt 8
App\Entity\Remote\MailTemplate 2

Entities Mapping

local_em entity manager

Class Mapping errors
App\Entity\Local\User No errors.

remote_em entity manager

Class Mapping errors
App\Entity\Remote\Invoice
  • The field App\Entity\Remote\Invoice#sendSchedules is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Remote\InvoiceSendAt#invoice does not contain the required 'inversedBy: "sendSchedules"' attribute.
App\Entity\Remote\Customer No errors.
App\Entity\Remote\InvoiceLine No errors.
App\Entity\Remote\InvoiceSendAt No errors.
App\Entity\Remote\MailTemplate No errors.