[Get invoice]

GET {{url}}{{public-prefix}}/invoices/{{invoice_id}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","status":"paid","amount":"5300.0","external_id":null,"customer":{"id":"4b214574-8870-49a0-a91e-3e9ac73fd333","external_id":"","email":"test@test.com","language":"ES","timezone":"Buenos Aires","first_name":"Customer","last_name":"Test","billing_info":{"id":"55fcce19-0b77-4c96-ac1c-fff100d86ac2","address_line_1":"Broadway 123","address_line_2":"","country":"ARG","currency":"ARS","city":"City","state":"Buenos Aires","zip_code":"1112","phone":"111212123"},"tax_id":"20123123458","checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/n0EGp2","created_at":"2021-09-29T17:41:12-03:00"},"subscriptions":[{"id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49","plan":{"id":"a4f65c53-37be-4b63-b4ee-a24090cdeba4","name":"New plan credit card"},"customer":{"id":"4b214574-8870-49a0-a91e-3e9ac73fd333","email":"test@test.com","first_name":"Customer","last_name":"Test"},"quantity":1,"amount":"2500.0","net_amount":"2620.0","currency":"ARS","status":"active","canceled_at":null,"paused_at":null,"trial_period_end":"2021-09-30T00:00:00-03:00","next_billing_date":"2021-10-30T00:00:00-03:00","created_at":"2021-09-30T17:41:44-03:00","payment_method":{"id":"ad8a00b5-74a1-46c3-bdce-f3d1625de131","external_id":"8999462605","data":{"country":"ARG","number":"503175**0604","type":"card","cardholder_identification_type":"DNI","cardholder_identification_number":"221231231","expiration_month":11,"expiration_year":2025,"first_six_digits":"503175","last_four_digits":"0604","issuer_name":"Mastercard","cardholder_name":"APRO","card_brand_name":"Mastercard","card_brand_payment_type_id":"credit_card"},"created_at":"2021-09-30T17:40:06-03:00","collect_method_id":"d2a7fd90-a8da-4276-8fee-2b5f91edab61"},"product":{"id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","name":"New product"},"external_id":"edff0eed-67b7-409d-abf2-517ebd0f80a1","activate_at":"2021-09-30","cancel_at":null,"checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/rvZbec"}],"currency":"ARS","created_at":"2021-09-30T18:00:18-03:00","paid_at":"2021-09-30T18:00:29-03:00","checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/7Z4Z6m","success_url":"?invoice_id=3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c\u0026customer_id=4b214574-8870-49a0-a91e-3e9ac73fd333\u0026subscription_id=bb8ceb4e-929f-4f31-9e1f-9ade5c562c49\u0026payment_method_id=ad8a00b5-74a1-46c3-bdce-f3d1625de131","collect_methods":{"cbu":[],"card":[],"ticket":[]},"items":[{"id":"01e0a971-0223-4df5-b3ac-231f2a94ac24","description":"New plan credit card","quantity":1,"unit_price":"2500.0","amount":"2500.0","currency":"ARS","item_number":0,"invoiceable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49","invoiceable_type":"Subscription","product_name":"New product","applicable_type":null},{"id":"4fa52f3a-0574-4e2a-8e50-cd36ebd0b7e8","description":"New one time cost","quantity":1,"unit_price":"1300.0","amount":"1300.0","currency":"ARS","item_number":1,"invoiceable_id":"716d64f8-1b2f-4bf7-b2ba-3da72382244a","invoiceable_type":"OneTimeCost","product_name":"New product","applicable_type":"Subscription"},{"id":"38fc8d7a-d093-43d2-8645-13a6a36c3324","description":"New one time cost for subscription","quantity":1,"unit_price":"1500.0","amount":"1500.0","currency":"ARS","item_number":2,"invoiceable_id":"af2fa75f-2bfc-489d-8501-286ae421c7a5","invoiceable_type":"OneTimeCost","product_name":"New product","applicable_type":"Subscription"},{"id":"1cdb8817-2563-46de-89d7-e31042b49b14","description":"New discount","quantity":1,"unit_price":"130.0","amount":"-130.0","currency":"ARS","item_number":3,"invoiceable_id":"bd9a61bd-c7f1-4920-a832-a43a5084b6f1","invoiceable_type":"Discount","product_name":null,"applicable_type":"Subscription"},{"id":"eb0bf8fa-6c4e-4b2b-ad51-f9e8b0faac7e","description":"New discount for subscription","quantity":1,"unit_price":"120.0","amount":"-120.0","currency":"ARS","item_number":4,"invoiceable_id":"bb913fef-135c-4901-a637-c2efb4b37b07","invoiceable_type":"Discount","product_name":null,"applicable_type":"Subscription"},{"id":"d700db29-e86d-43b4-a90e-308b5f98a820","description":"New tax","quantity":1,"unit_price":"130.0","amount":"130.0","currency":"ARS","item_number":5,"invoiceable_id":"9cacf4ba-080f-4120-a84e-6b824e92fe39","invoiceable_type":"Tax","product_name":"New product","applicable_type":"Subscription"},{"id":"fccad5ad-4bc7-4d39-8ed7-eddcce646d69","description":"New tax for subscription","quantity":1,"unit_price":"120.0","amount":"120.0","currency":"ARS","item_number":6,"invoiceable_id":"e9cc9167-7796-4e10-8ee5-ad6ae4a0beb4","invoiceable_type":"Tax","product_name":"New product","applicable_type":"Subscription"}],"invoice_items":[{"id":"fccad5ad-4bc7-4d39-8ed7-eddcce646d69","description":"New tax for subscription","quantity":1,"unit_price":"120.0","amount":"120.0","currency":"ARS","item_number":6,"invoiceable_id":"e9cc9167-7796-4e10-8ee5-ad6ae4a0beb4","invoiceable_type":"Tax","product_name":"New product","applicable_type":"Subscription"},{"id":"d700db29-e86d-43b4-a90e-308b5f98a820","description":"New tax","quantity":1,"unit_price":"130.0","amount":"130.0","currency":"ARS","item_number":5,"invoiceable_id":"9cacf4ba-080f-4120-a84e-6b824e92fe39","invoiceable_type":"Tax","product_name":"New product","applicable_type":"Subscription"},{"id":"eb0bf8fa-6c4e-4b2b-ad51-f9e8b0faac7e","description":"New discount for subscription","quantity":1,"unit_price":"120.0","amount":"-120.0","currency":"ARS","item_number":4,"invoiceable_id":"bb913fef-135c-4901-a637-c2efb4b37b07","invoiceable_type":"Discount","product_name":null,"applicable_type":"Subscription"},{"id":"1cdb8817-2563-46de-89d7-e31042b49b14","description":"New discount","quantity":1,"unit_price":"130.0","amount":"-130.0","currency":"ARS","item_number":3,"invoiceable_id":"bd9a61bd-c7f1-4920-a832-a43a5084b6f1","invoiceable_type":"Discount","product_name":null,"applicable_type":"Subscription"},{"id":"38fc8d7a-d093-43d2-8645-13a6a36c3324","description":"New one time cost for subscription","quantity":1,"unit_price":"1500.0","amount":"1500.0","currency":"ARS","item_number":2,"invoiceable_id":"af2fa75f-2bfc-489d-8501-286ae421c7a5","invoiceable_type":"OneTimeCost","product_name":"New product","applicable_type":"Subscription"},{"id":"4fa52f3a-0574-4e2a-8e50-cd36ebd0b7e8","description":"New one time cost","quantity":1,"unit_price":"1300.0","amount":"1300.0","currency":"ARS","item_number":1,"invoiceable_id":"716d64f8-1b2f-4bf7-b2ba-3da72382244a","invoiceable_type":"OneTimeCost","product_name":"New product","applicable_type":"Subscription"},{"id":"01e0a971-0223-4df5-b3ac-231f2a94ac24","description":"New plan credit card","quantity":1,"unit_price":"2500.0","amount":"2500.0","currency":"ARS","item_number":0,"invoiceable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49","invoiceable_type":"Subscription","product_name":"New product","applicable_type":null}],"payments":[{"id":"056c1715-e9c6-4723-a548-104066c8889c","status":"approved","refund_status":"unrequested","amount":"5300.0","currency":"ARS","payment_method":{"id":"ad8a00b5-74a1-46c3-bdce-f3d1625de131","external_id":"8999462605","data":{"country":"ARG","number":"503175**0604","type":"card","cardholder_identification_type":"DNI","cardholder_identification_number":"221231231","expiration_month":11,"expiration_year":2025,"first_six_digits":"503175","last_four_digits":"0604","issuer_name":"Mastercard","cardholder_name":"APRO","card_brand_name":"Mastercard","card_brand_payment_type_id":"credit_card"},"created_at":"2021-09-30T17:40:06-03:00","collect_method_id":"d2a7fd90-a8da-4276-8fee-2b5f91edab61"},"events":[{"id":"ec5d35f5-7104-48a8-83c0-d12beedda6ac","name":"processor_response","message":"El pago ha sido aprobado.","status_from":"processing","status_to":"approved","created_at":"2021-09-30T18:00:29-03:00"},{"id":"3062412f-ac02-4f06-91e6-a04e077ceefb","name":"processor_response","message":"La orden de pago fue enviada a procesarse.","status_from":"open","status_to":"processing","created_at":"2021-09-30T18:00:29-03:00"},{"id":"a216ddae-e168-4615-bd0a-edc4d1bc910b","name":"payment_created","message":"La orden de pago ha sido creada.","status_from":"created","status_to":"open","created_at":"2021-09-30T18:00:19-03:00"}],"created_at":"2021-09-30T18:00:19-03:00","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","rejection_code":null,"rejection_type":null,"updated_at":"2021-09-30T18:00:29.635-03:00","rejection_description":null,"paid_at":"2021-09-30T18:00:29-03:00","invoice":{"id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","status":"paid","amount":"5300.0","external_id":null,"customer":{"id":"4b214574-8870-49a0-a91e-3e9ac73fd333","email":"test@test.com","first_name":"Customer","last_name":"Test"},"subscriptions":[{"id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49","plan":{"id":"a4f65c53-37be-4b63-b4ee-a24090cdeba4","name":"New plan credit card"},"customer":{"id":"4b214574-8870-49a0-a91e-3e9ac73fd333","email":"test@test.com","first_name":"Customer","last_name":"Test"},"quantity":1,"amount":"2500.0","net_amount":"2620.0","currency":"ARS","status":"active","canceled_at":null,"paused_at":null,"trial_period_end":"2021-09-30T00:00:00-03:00","next_billing_date":"2021-10-30T00:00:00-03:00","created_at":"2021-09-30T17:41:44-03:00","product":{"id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","name":"New product"},"activate_at":"2021-09-30","cancel_at":null}],"currency":"ARS","created_at":"2021-09-30T18:00:18-03:00","paid_at":"2021-09-30T18:00:29-03:00","checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/7Z4Z6m","success_url":"?invoice_id=3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c\u0026customer_id=4b214574-8870-49a0-a91e-3e9ac73fd333\u0026subscription_id=bb8ceb4e-929f-4f31-9e1f-9ade5c562c49\u0026payment_method_id=ad8a00b5-74a1-46c3-bdce-f3d1625de131","collect_methods":{"cbu":[],"card":[],"ticket":[]},"invoice_items":[{"id":"fccad5ad-4bc7-4d39-8ed7-eddcce646d69","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New tax for subscription","quantity":1,"unit_price":"120.0","amount":"120.0","currency":"ARS","item_number":6,"invoiceable_id":"e9cc9167-7796-4e10-8ee5-ad6ae4a0beb4","invoiceable_type":"Tax","created_at":"2021-09-30T18:00:18.940-03:00","updated_at":"2021-09-30T18:00:18.940-03:00","product_id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","denormalized_product_name":"New product","applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"},{"id":"d700db29-e86d-43b4-a90e-308b5f98a820","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New tax","quantity":1,"unit_price":"130.0","amount":"130.0","currency":"ARS","item_number":5,"invoiceable_id":"9cacf4ba-080f-4120-a84e-6b824e92fe39","invoiceable_type":"Tax","created_at":"2021-09-30T18:00:18.922-03:00","updated_at":"2021-09-30T18:00:18.922-03:00","product_id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","denormalized_product_name":"New product","applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"},{"id":"eb0bf8fa-6c4e-4b2b-ad51-f9e8b0faac7e","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New discount for subscription","quantity":1,"unit_price":"120.0","amount":"-120.0","currency":"ARS","item_number":4,"invoiceable_id":"bb913fef-135c-4901-a637-c2efb4b37b07","invoiceable_type":"Discount","created_at":"2021-09-30T18:00:18.807-03:00","updated_at":"2021-09-30T18:00:18.807-03:00","product_id":null,"denormalized_product_name":null,"applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"},{"id":"1cdb8817-2563-46de-89d7-e31042b49b14","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New discount","quantity":1,"unit_price":"130.0","amount":"-130.0","currency":"ARS","item_number":3,"invoiceable_id":"bd9a61bd-c7f1-4920-a832-a43a5084b6f1","invoiceable_type":"Discount","created_at":"2021-09-30T18:00:18.749-03:00","updated_at":"2021-09-30T18:00:18.749-03:00","product_id":null,"denormalized_product_name":null,"applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"},{"id":"38fc8d7a-d093-43d2-8645-13a6a36c3324","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New one time cost for subscription","quantity":1,"unit_price":"1500.0","amount":"1500.0","currency":"ARS","item_number":2,"invoiceable_id":"af2fa75f-2bfc-489d-8501-286ae421c7a5","invoiceable_type":"OneTimeCost","created_at":"2021-09-30T18:00:18.554-03:00","updated_at":"2021-09-30T18:00:18.554-03:00","product_id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","denormalized_product_name":"New product","applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"},{"id":"4fa52f3a-0574-4e2a-8e50-cd36ebd0b7e8","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New one time cost","quantity":1,"unit_price":"1300.0","amount":"1300.0","currency":"ARS","item_number":1,"invoiceable_id":"716d64f8-1b2f-4bf7-b2ba-3da72382244a","invoiceable_type":"OneTimeCost","created_at":"2021-09-30T18:00:18.531-03:00","updated_at":"2021-09-30T18:00:18.531-03:00","product_id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","denormalized_product_name":"New product","applicable_type":"Subscription","applicable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49"},{"id":"01e0a971-0223-4df5-b3ac-231f2a94ac24","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","description":"New plan credit card","quantity":1,"unit_price":"2500.0","amount":"2500.0","currency":"ARS","item_number":0,"invoiceable_id":"bb8ceb4e-929f-4f31-9e1f-9ade5c562c49","invoiceable_type":"Subscription","created_at":"2021-09-30T18:00:18.366-03:00","updated_at":"2021-09-30T18:00:18.366-03:00","product_id":"8e0bda25-c446-48a9-aab0-a9a7adc396fd","denormalized_product_name":"New product","applicable_type":null,"applicable_id":null}],"payments":[{"id":"056c1715-e9c6-4723-a548-104066c8889c","invoice_id":"3f9a09de-800a-4f2b-9dfb-0d0cfd2bbe2c","payment_method_id":"ad8a00b5-74a1-46c3-bdce-f3d1625de131","status":"approved","amount":"5300.0","currency":"ARS","id_for_collect_provider":1855,"created_at":"2021-09-30T18:00:19.154-03:00","updated_at":"2021-09-30T18:00:29.635-03:00","denormalized_customer_email":"test@test.com","retry_count":0,"metadata":{"mercadopago_id":null,"authorization_code":"1234567","external_resource_url":null},"rejection_code":null,"rejection_type":null,"account_id":"59640063-5b68-403e-9ddc-948d582cf8f2","rejection_description":null,"paid_at":"2021-09-30T18:00:29.449-03:00","processor_reference_id":"14647463936","denormalized_customer_first_name":"Customer","denormalized_customer_last_name":"Test","refund_status":"unrequested","refresh_date":"2021-09-30T21:00:29.002-03:00","stop_debit":false,"sync":false}]},"processor_reference_id":"14647463936","external_resource_url":null,"refundable":true}]}