{{baseUrl}}/invoices

GET {{baseUrl}}/invoices?createdAt[before]=<string>&createdAt[strictly_before]=<string>&createdAt[after]=<string>&createdAt[strictly_after]=<string>&signed=<boolean>&downloaded=<boolean>&toPa=<string>&type=<string>&sender=<string>&recipient=<string>&invoiceDate[before]=<string>&invoiceDate[strictly_before]=<string>&invoiceDate[after]=<string>&invoiceDate[strictly_after]=<string>&invoiceNumber=<string>&recipient.businessName=<string>&recipient.businessVatNumberCode=<string>&recipient.businessVatNumberCode[]=<string>&recipient.businessVatNumberCode[]=<string>&recipient.businessFiscalCode=<string>&recipient.businessFiscalCode[]=<string>&recipient.businessFiscalCode[]=<string>&sender.businessName=<string>&sender.businessVatNumberCode=<string>&sender.businessVatNumberCode[]=<string>&sender.businessVatNumberCode[]=<string>&sender.businessFiscalCode=<string>&sender.businessFiscalCode[]=<string>&sender.businessFiscalCode[]=<string>&marking=<string>&marking[]=<string>&marking[]=<string>&page=<integer>

This endpoint allows retrieving information about invoices. Various query parameters can be specified to filter the results based on user needs.

Query Parameters: - type (optional): The type of search to be performed. Allowed values: 0 or 1. If 0, invoices where the user is the sender are returned. If 1, invoices where the user is the recipient are returned. If not specified, the default value is 0. - sender (optional): Specifies the sender of the invoices. It can be a single sender or a list of senders separated by commas. - recipient (optional): Specifies the recipient of the invoices. It can be a single recipient or a list of recipients separated by commas.

Example: Retrieve all invoices for the user: GET /invoices?type=1 GET /invoices?type=1&recipient=987654321,123456789 GET /invoices?type=0&sender=123456789,987654321

Note: If type is not specified, the default value is 0, and all invoices for the user of type 0 are returned.

Request Params

KeyDatatypeRequiredDescription
createdAt[before]string
createdAt[strictly_before]string
createdAt[after]string
createdAt[strictly_after]string
signedstring
downloadedstring
toPastringSearch invoices that was sent to PA.
typestringWhen type is 0 search for invoices sent to a customer, when type is 1 search for invoice received by a supplier
senderstringSearch by sender (vat number OR fiscal code). You can specify more values at once comma separated.
recipientstringSearch by recipient (vat number OR fiscal code). You can specify more values at once comma separated.
invoiceDate[before]string
invoiceDate[strictly_before]string
invoiceDate[after]string
invoiceDate[strictly_after]string
invoiceNumberstring
recipient.businessNamestring
recipient.businessVatNumberCodestring
recipient.businessVatNumberCode[]string
recipient.businessVatNumberCode[]string
recipient.businessFiscalCodestring
recipient.businessFiscalCode[]string
recipient.businessFiscalCode[]string
sender.businessNamestring
sender.businessVatNumberCodestring
sender.businessVatNumberCode[]string
sender.businessVatNumberCode[]string
sender.businessFiscalCodestring
sender.businessFiscalCode[]string
sender.businessFiscalCode[]string
markingstring
marking[]string
marking[]string
pagestringThe collection page number

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;created_at&quot;:&quot;1981-01-15T05:33:00.040Z&quot;,&quot;uuid&quot;:&quot;consectetur et eiusmod anim&quot;,&quot;type&quot;:54112181,&quot;payload&quot;:&quot;fugiat&quot;,&quot;sender&quot;:{&quot;head_office_address_street&quot;:&quot;Excepteu&quot;,&quot;head_office_address_zip_code&quot;:&quot;minim n&quot;,&quot;head_office_address_city&quot;:&quot;fugiat elit&quot;,&quot;head_office_address_country&quot;:&quot;ea dolor in sed&quot;,&quot;uuid&quot;:&quot;aliquip nostrud eiusmod irure&quot;,&quot;head_office_address_street_number&quot;:&quot;Duis do cillum amet sit&quot;,&quot;head_office_address_province&quot;:&quot;cillum et nisi occaecat commodo&quot;,&quot;office_address_street&quot;:&quot;mollit ut ad qui&quot;,&quot;office_address_street_number&quot;:&quot;amet consequat in&quot;,&quot;office_address_zip_code&quot;:&quot;exercitation sint consequat&quot;,&quot;office_address_city&quot;:&quot;Excepteur incididunt quis velit&quot;,&quot;office_address_province&quot;:&quot;adipisicing nulla tempor Excepteur&quot;,&quot;office_address_country&quot;:&quot;f&quot;,&quot;business_vat_number_country&quot;:&quot;cillum est ad ut in&quot;,&quot;business_vat_number_code&quot;:&quot;ipsum irure voluptate&quot;,&quot;business_fiscal_code&quot;:&quot;laborum in officia&quot;,&quot;business_name&quot;:&quot;ea qui magna commodo&quot;,&quot;name&quot;:&quot;pariatur sint Lorem ut ipsum&quot;,&quot;surname&quot;:&quot;esse ut ad&quot;,&quot;title&quot;:&quot;culpa laborum incididunt&quot;,&quot;cod_eori&quot;:&quot;in voluptat&quot;,&quot;professional_register&quot;:&quot;&quot;,&quot;professional_register_province&quot;:&quot;Ut culpa&quot;,&quot;professional_register_registration_number&quot;:&quot;Excepteur ut&quot;,&quot;professional_register_registration_date&quot;:&quot;1998-08-25T13:36:18.272Z&quot;,&quot;tax_regime&quot;:&quot;labore sed quis&quot;,&quot;contact_phone&quot;:&quot;laborum ex aute sit in&quot;,&quot;contact_fax&quot;:&quot;qui nostrud&quot;,&quot;contact_email&quot;:&quot;consectetur&quot;,&quot;rea_registration_office&quot;:&quot;mollit ullamco dolore&quot;,&quot;rea_registration_number&quot;:&quot;in veniam cill&quot;,&quot;rea_registration_share_capital&quot;:&quot;aute in id&quot;,&quot;rea_registration_sole_shareholder&quot;:&quot;&quot;,&quot;rea_registration_liquidation_status&quot;:&quot;commodo&quot;,&quot;reference_administration&quot;:&quot;ullamco consectetur ipsum&quot;,&quot;fiscal_representative_vat_number_country&quot;:&quot;eiusmod&quot;,&quot;fiscal_representative_vat_number_code&quot;:&quot;velit sint ut veniam&quot;,&quot;fiscal_representative_fiscal_code&quot;:&quot;nisi&quot;,&quot;fiscal_representative_denomination&quot;:&quot;occaecat laborum&quot;,&quot;fiscal_representative_name&quot;:&quot;elit&quot;,&quot;fiscal_representative_surname&quot;:&quot;occaecat consectetur&quot;,&quot;fiscal_representative_title&quot;:&quot;elit commodo irure&quot;,&quot;fiscal_representative_cod_eori&quot;:&quot;dolor sed ea&quot;},&quot;recipient&quot;:{&quot;head_office_address_street&quot;:&quot;Duis&quot;,&quot;head_office_address_zip_code&quot;:&quot;et officia&quot;,&quot;head_office_address_city&quot;:&quot;nostrud ut anim&quot;,&quot;head_office_address_country&quot;:&quot;in mollit&quot;,&quot;uuid&quot;:&quot;velit aliqua&quot;,&quot;head_office_address_street_number&quot;:&quot;laborum in dolore&quot;,&quot;head_office_address_province&quot;:&quot;Lorem aute&quot;,&quot;office_address_street&quot;:&quot;sit pariatur&quot;,&quot;office_address_street_number&quot;:&quot;enim eu id&quot;,&quot;office_address_zip_code&quot;:&quot;sed&quot;,&quot;office_address_city&quot;:&quot;est incididunt aliqua&quot;,&quot;office_address_province&quot;:&quot;minim culpa&quot;,&quot;office_address_country&quot;:&quot;magna est&quot;,&quot;business_vat_number_country&quot;:&quot;laborum sunt par&quot;,&quot;business_vat_number_code&quot;:&quot;Ut et deserunt&quot;,&quot;business_fiscal_code&quot;:&quot;Excepteur&quot;,&quot;business_name&quot;:&quot;occaecat Ut&quot;,&quot;name&quot;:&quot;eiusmod elit culpa&quot;,&quot;surname&quot;:&quot;consectetur nisi deserunt in&quot;,&quot;title&quot;:&quot;incididunt dolore&quot;,&quot;cod_eori&quot;:&quot;sint labore nulla&quot;,&quot;professional_register&quot;:&quot;sint velit&quot;,&quot;professional_register_province&quot;:&quot;dolor&quot;,&quot;professional_register_registration_number&quot;:&quot;pariatur nostrud sit&quot;,&quot;professional_register_registration_date&quot;:&quot;2006-06-25T20:45:03.609Z&quot;,&quot;tax_regime&quot;:&quot;ipsum est deserunt aute pariatur&quot;,&quot;contact_phone&quot;:&quot;consequat ipsum cillum sunt&quot;,&quot;contact_fax&quot;:&quot;pariatur labore eu magna&quot;,&quot;contact_email&quot;:&quot;minim do ea&quot;,&quot;rea_registration_office&quot;:&quot;culpa nisi&quot;,&quot;rea_registration_number&quot;:&quot;magna velit in&quot;,&quot;rea_registration_share_capital&quot;:&quot;in ex&quot;,&quot;rea_registration_sole_shareholder&quot;:&quot;ea magna adipisicing dolore&quot;,&quot;rea_registration_liquidation_status&quot;:&quot;quis irure&quot;,&quot;reference_administration&quot;:&quot;sed cupidatat&quot;,&quot;fiscal_representative_vat_number_country&quot;:&quot;culpa eiusmod consectetur&quot;,&quot;fiscal_representative_vat_number_code&quot;:&quot;ullamco&quot;,&quot;fiscal_representative_fiscal_code&quot;:&quot;in voluptate ipsum laborum&quot;,&quot;fiscal_representative_denomination&quot;:&quot;qui Ut &quot;,&quot;fiscal_representative_name&quot;:&quot;non&quot;,&quot;fiscal_representative_surname&quot;:&quot;labore do aliquip&quot;,&quot;fiscal_representative_title&quot;:&quot;dolore nostrud minim&quot;,&quot;fiscal_representative_cod_eori&quot;:&quot;amet ut ipsum quis&quot;},&quot;notifications&quot;:[&quot;&quot;,&quot;labore in&quot;],&quot;sdi_file_name&quot;:&quot;irure sed Duis&quot;,&quot;sdi_file_id&quot;:&quot;aute cillum dolore sunt ullamco&quot;,&quot;signed&quot;:true,&quot;legally_stored&quot;:true,&quot;preserved_document&quot;:{&quot;created_at&quot;:&quot;1978-08-01T09:25:48.058Z&quot;,&quot;uuid&quot;:&quot;amet aliquip Lorem&quot;,&quot;status&quot;:&quot;do aute ut dolore&quot;,&quot;receipt_received_at&quot;:&quot;2004-09-04T01:48:41.495Z&quot;,&quot;object_type&quot;:&quot;enim ullamco dolore Ut&quot;,&quot;object_id&quot;:&quot;velit nulla&quot;,&quot;message&quot;:&quot;incididunt in minim&quot;,&quot;preserved_object_id&quot;:&quot;cillum commodo sint laboris&quot;,&quot;weight&quot;:207784},&quot;downloaded&quot;:false,&quot;downloaded_at&quot;:&quot;1961-05-20T18:29:56.452Z&quot;,&quot;marking&quot;:&quot;exercitation qu&quot;,&quot;notice&quot;:&quot;commodo&quot;,&quot;retry_information&quot;:&quot;irure ullamco&quot;,&quot;transmission_format&quot;:&quot;elit sint&quot;,&quot;to_pa&quot;:true},{&quot;created_at&quot;:&quot;2016-08-05T20:14:24.227Z&quot;,&quot;uuid&quot;:&quot;Ut&quot;,&quot;type&quot;:-67830133,&quot;payload&quot;:&quot;Lorem dolor&quot;,&quot;sender&quot;:{&quot;head_office_address_street&quot;:&quot;Ut aliquip&quot;,&quot;head_office_address_zip_code&quot;:&quot;nisi consecte&quot;,&quot;head_office_address_city&quot;:&quot;dolor aute anim et&quot;,&quot;head_office_address_country&quot;:&quot;Duis qui&quot;,&quot;uuid&quot;:&quot;mollit commodo Ut ut Duis&quot;,&quot;head_office_address_street_number&quot;:&quot;magna ipsum dolor culpa&quot;,&quot;head_office_address_province&quot;:&quot;minim sed cillum incididunt ut&quot;,&quot;office_address_street&quot;:&quot;aliqua laborum&quot;,&quot;office_address_street_number&quot;:&quot;nostrud &quot;,&quot;office_address_zip_code&quot;:&quot;elit ullamco mollit labore minim&quot;,&quot;office_address_city&quot;:&quot;id Duis amet ut cupidatat&quot;,&quot;office_address_province&quot;:&quot;non dolore&quot;,&quot;office_address_country&quot;:&quot;&quot;,&quot;business_vat_number_country&quot;:&quot;dolor eiusmod consectetur in&quot;,&quot;business_vat_number_code&quot;:&quot;elit fugiat in&quot;,&quot;business_fiscal_code&quot;:&quot;dolor velit dolore dolore&quot;,&quot;business_name&quot;:&quot;aliquip ad voluptate est dolor&quot;,&quot;name&quot;:&quot;cillum ipsum consequat non&quot;,&quot;surname&quot;:&quot;veniam&quot;,&quot;title&quot;:&quot;adipisicing nostrud pariatur ut&quot;,&quot;cod_eori&quot;:&quot;nulla Duis&quot;,&quot;professional_register&quot;:&quot;amet sunt&quot;,&quot;professional_register_province&quot;:&quot;est&quot;,&quot;professional_register_registration_number&quot;:&quot;est magna cillum&quot;,&quot;professional_register_registration_date&quot;:&quot;1974-04-21T21:37:47.436Z&quot;,&quot;tax_regime&quot;:&quot;culpa&quot;,&quot;contact_phone&quot;:&quot;do ad velit tempo&quot;,&quot;contact_fax&quot;:&quot;officia id&quot;,&quot;contact_email&quot;:&quot;consecte&quot;,&quot;rea_registration_office&quot;:&quot;Lorem Ut laboris ipsum&quot;,&quot;rea_registration_number&quot;:&quot;enim&quot;,&quot;rea_registration_share_capital&quot;:&quot;ad exercitation mollit in&quot;,&quot;rea_registration_sole_shareholder&quot;:&quot;et est a&quot;,&quot;rea_registration_liquidation_status&quot;:&quot;Lorem dolor&quot;,&quot;reference_administration&quot;:&quot;sed tempor ullamco laboris&quot;,&quot;fiscal_representative_vat_number_country&quot;:&quot;do commodo&quot;,&quot;fiscal_representative_vat_number_code&quot;:&quot;consequat sunt ut&quot;,&quot;fiscal_representative_fiscal_code&quot;:&quot;magna laboris &quot;,&quot;fiscal_representative_denomination&quot;:&quot;in ut mollit Duis&quot;,&quot;fiscal_representative_name&quot;:&quot;ipsum qui&quot;,&quot;fiscal_representative_surname&quot;:&quot;do non&quot;,&quot;fiscal_representative_title&quot;:&quot;eiusmod officia Duis eu&quot;,&quot;fiscal_representative_cod_eori&quot;:&quot;nulla amet&quot;},&quot;recipient&quot;:{&quot;head_office_address_street&quot;:&quot;nisi veniam aute esse irure&quot;,&quot;head_office_address_zip_code&quot;:&quot;dolor aliquip voluptate dolore&quot;,&quot;head_office_address_city&quot;:&quot;nulla Duis Ut&quot;,&quot;head_office_address_country&quot;:&quot;laborum cillum dolore consectetur nostrud&quot;,&quot;uuid&quot;:&quot;qui proident dolor reprehenderit&quot;,&quot;head_office_address_street_number&quot;:&quot;Ut&quot;,&quot;head_office_address_province&quot;:&quot;dolor est consequat&quot;,&quot;office_address_street&quot;:&quot;cupidatat occaecat fu&quot;,&quot;office_address_street_number&quot;:&quot;fugiat commodo eiusmod deserunt&quot;,&quot;office_address_zip_code&quot;:&quot;ea eiusmod nulla sunt&quot;,&quot;office_address_city&quot;:&quot;sed velit non aute&quot;,&quot;office_address_province&quot;:&quot;amet nostrud irure&quot;,&quot;office_address_country&quot;:&quot;ea est minim&quot;,&quot;business_vat_number_country&quot;:&quot;labore&quot;,&quot;business_vat_number_code&quot;:&quot;laboris ut do&quot;,&quot;business_fiscal_code&quot;:&quot;eu pariatur&quot;,&quot;business_name&quot;:&quot;laborum quis do&quot;,&quot;name&quot;:&quot;eu incididunt reprehenderit &quot;,&quot;surname&quot;:&quot;eiusmod&quot;,&quot;title&quot;:&quot;dolore incididunt proident mollit&quot;,&quot;cod_eori&quot;:&quot;exercitation adipisicing&quot;,&quot;professional_register&quot;:&quot;sint dolor adipisicing minim occaecat&quot;,&quot;professional_register_province&quot;:&quot;eiusmod tempor dolore labore&quot;,&quot;professional_register_registration_number&quot;:&quot;ut nulla in aliqua laboris&quot;,&quot;professional_register_registration_date&quot;:&quot;2012-01-13T00:25:12.259Z&quot;,&quot;tax_regime&quot;:&quot;Ut sit ea aliquip&quot;,&quot;contact_phone&quot;:&quot;Ut veniam in&quot;,&quot;contact_fax&quot;:&quot;tempor&quot;,&quot;contact_email&quot;:&quot;labore magna&quot;,&quot;rea_registration_office&quot;:&quot;aliquip aute do sed&quot;,&quot;rea_registration_number&quot;:&quot;aliqua reprehenderit&quot;,&quot;rea_registration_share_capital&quot;:&quot;Duis c&quot;,&quot;rea_registration_sole_shareholder&quot;:&quot;ad reprehenderit commodo culpa&quot;,&quot;rea_registration_liquidation_status&quot;:&quot;in ipsum&quot;,&quot;reference_administration&quot;:&quot;id irure eu&quot;,&quot;fiscal_representative_vat_number_country&quot;:&quot;aute ex &quot;,&quot;fiscal_representative_vat_number_code&quot;:&quot;exercitation id fugiat dolor&quot;,&quot;fiscal_representative_fiscal_code&quot;:&quot;laborum laboris minim enim do&quot;,&quot;fiscal_representative_denomination&quot;:&quot;sint anim&quot;,&quot;fiscal_representative_name&quot;:&quot;officia reprehenderit pariatur esse&quot;,&quot;fiscal_representative_surname&quot;:&quot;ipsum ut aliqua esse&quot;,&quot;fiscal_representative_title&quot;:&quot;proident ex anim&quot;,&quot;fiscal_representative_cod_eori&quot;:&quot;in in veniam Ut&quot;},&quot;notifications&quot;:[&quot;anim ut&quot;,&quot;fugiat non&quot;],&quot;sdi_file_name&quot;:&quot;veniam&quot;,&quot;sdi_file_id&quot;:&quot;velit&quot;,&quot;signed&quot;:false,&quot;legally_stored&quot;:false,&quot;preserved_document&quot;:{&quot;created_at&quot;:&quot;1949-01-12T08:36:47.208Z&quot;,&quot;uuid&quot;:&quot;deserunt in sed mollit&quot;,&quot;status&quot;:&quot;ad Lorem&quot;,&quot;receipt_received_at&quot;:&quot;2011-01-16T17:07:30.421Z&quot;,&quot;object_type&quot;:&quot;commodo in&quot;,&quot;object_id&quot;:&quot;nulla minim &quot;,&quot;message&quot;:&quot;commodo anim sunt Exce&quot;,&quot;preserved_object_id&quot;:&quot;commodo qui ex&quot;,&quot;weight&quot;:-80389859},&quot;downloaded&quot;:true,&quot;downloaded_at&quot;:&quot;2020-12-22T12:49:01.830Z&quot;,&quot;marking&quot;:&quot;adipisicing ut ullamco&quot;,&quot;notice&quot;:&quot;amet sit&quot;,&quot;retry_information&quot;:&quot;officia&quot;,&quot;transmission_format&quot;:&quot;mollit dolore ex id&quot;,&quot;to_pa&quot;:false}],&quot;success&quot;:false,&quot;message&quot;:&quot;irure pariatur Lorem&quot;,&quot;error&quot;:{}}