Show invoice details

GET {{base_url}}/v2/invoicing/invoices/:invoice_id

Shows details for an invoice, by ID.

RESPONSES

status: OK

{"id":"INV2-8B9B-RB25-PBKA-2LEZ","status":"REFUNDED","detail":{"reference":"\u003cThe reference data. Includes a post office (PO) number.\u003e","currency_code":"USD","note":"\u003cA note to the invoice recipient. Also appears on the invoice notification email.\u003e","terms_and_conditions":"\u003cThe general terms of the invoice. Can include return or cancellation policy and other terms and conditions.\u003e","memo":"\u003cA private bookkeeping note for merchant.\u003e","additional_data":"\u003cAny additional information. Includes business hours.\u003e","category_code":"SHIPPABLE","invoice_number":"1644273499","invoice_date":"2022-01-04","payment_term":{"term_type":"NET_10","due_date":"2022-01-14"},"viewed_by_recipient":false,"group_draft":false,"metadata":{"create_time":"2022-02-07T22:38:19Z","last_update_time":"2022-02-07T22:41:47Z","created_by_flow":"REGULAR_SINGLE","recipient_view_url":"https://www.sandbox.paypal.com/invoice/p/#8B9BRB25PBKA2LEZ","invoicer_view_url":"https://www.sandbox.paypal.com/invoice/details/INV2-8B9B-RB25-PBKA-2LEZ","caller_type":"API_V2_INVOICE"},"archived":false},"invoicer":{"name":{"given_name":"David","surname":"Larusso","full_name":"David Larusso"},"address":{"address_line_1":"1234 First Street","address_line_2":"337673 Hillside Court","admin_area_2":"Anytown","admin_area_1":"CA","postal_code":"98765","country_code":"US"},"phones":[{"country_code":"001","national_number":"4085551234","phone_type":"MOBILE"}],"website":"www.example.com","tax_id":"XX-XXXXXXX","additional_notes":"\u003cAny additional information. Includes business hours.\u003e","logo_url":"https://example.com/logo.png"},"primary_recipients":[{"billing_info":{"name":{"given_name":"Stephanie","surname":"Meyers","full_name":"Stephanie Meyers"},"address":{"address_line_1":"1234 Main Street","admin_area_2":"Anytown","admin_area_1":"CA","postal_code":"98765","country_code":"US"},"email_address":"foobuyer@gmail.com"},"shipping_info":{"name":{"given_name":"Stephanie","surname":"Meyers","full_name":"Stephanie Meyers"},"address":{"address_line_1":"1234 Main Street","admin_area_2":"Anytown","admin_area_1":"CA","postal_code":"98765","country_code":"US"}}}],"items":[{"id":"ITEM-7U7941020B628510R","name":"Yoga Mat","description":"Elastic mat to practice yoga.","quantity":"1","unit_amount":{"currency_code":"USD","value":"100.00"},"tax":{"id":"TAX-890726493L592535Y","name":"Sales Tax","percent":"10","amount":{"currency_code":"USD","value":"8.10"}},"discount":{"percent":"10","amount":{"currency_code":"USD","value":"-10.00"}},"unit_of_measure":"QUANTITY"},{"id":"ITEM-6PL59448F36794308","name":"Yoga t-shirt","quantity":"1","unit_amount":{"currency_code":"USD","value":"100.00"},"tax":{"id":"TAX-890726493L592535Y","name":"Sales Tax","percent":"10","amount":{"currency_code":"USD","value":"8.01"}},"discount":{"amount":{"currency_code":"USD","value":"-11.00"}},"unit_of_measure":"QUANTITY"}],"configuration":{"tax_calculated_after_discount":true,"tax_inclusive":false,"allow_tip":true,"partial_payment":{"allow_partial_payment":true,"minimum_amount_due":{"currency_code":"USD","value":"20.00"}},"template_id":"TEMP-8LK05440PT816351U"},"amount":{"breakdown":{"item_total":{"currency_code":"USD","value":"200.00"},"discount":{"invoice_discount":{"percent":"10","amount":{"currency_code":"USD","value":"-17.90"}},"item_discount":{"currency_code":"USD","value":"-21.00"}},"tax_total":{"currency_code":"USD","value":"17.11"},"shipping":{"amount":{"currency_code":"USD","value":"10.00"},"tax":{"id":"TAX-5YE80182GU8933136","name":"Sales Tax","percent":"10","amount":{"currency_code":"USD","value":"1.00"}}},"custom":{"label":"Packing Charges","amount":{"currency_code":"USD","value":"10.00"}}},"currency_code":"USD","value":"198.21"},"due_amount":{"currency_code":"USD","value":"0.00"},"payments":{"paid_amount":{"currency_code":"USD","value":"198.21"},"transactions":[{"type":"EXTERNAL","payment_id":"EXTR-101149333L6013332","payment_date":"2022-02-07","method":"CASH","note":"\u003cA note associated with an external cash or check payment.\u003e","amount":{"currency_code":"USD","value":"10.00"}},{"type":"EXTERNAL","payment_id":"EXTR-1BA03202J5523783Y","payment_date":"2022-02-07","method":"CASH","note":"\u003cA note associated with an external cash or check payment.\u003e","amount":{"currency_code":"USD","value":"10.00"}},{"type":"EXTERNAL","payment_id":"EXTR-84E10368FG665583C","payment_date":"2022-02-07","method":"CASH","note":"\u003cA note associated with an external cash or check payment.\u003e","amount":{"currency_code":"USD","value":"178.21"}}]},"refunds":{"refund_amount":{"currency_code":"USD","value":"198.21"},"transactions":[{"type":"EXTERNAL","recipient_transaction_id":"EXTR-98B36987DN684241L","refund_date":"2021-02-07","amount":{"currency_code":"USD","value":"5.00"},"method":"BANK_TRANSFER"},{"type":"EXTERNAL","recipient_transaction_id":"EXTR-3KL043015H503490Y","refund_date":"2021-02-07","amount":{"currency_code":"USD","value":"5.00"},"method":"BANK_TRANSFER"},{"type":"EXTERNAL","recipient_transaction_id":"EXTR-32S27410YD5594244","refund_date":"2021-02-07","amount":{"currency_code":"USD","value":"10.00"},"method":"BANK_TRANSFER"},{"type":"EXTERNAL","recipient_transaction_id":"EXTR-0HD27611TX531883F","refund_date":"2021-02-07","amount":{"currency_code":"USD","value":"178.21"},"method":"BANK_TRANSFER"}]},"links":[{"href":"https://api.sandbox.paypal.com/v2/invoicing/invoices/INV2-8B9B-RB25-PBKA-2LEZ","rel":"self","method":"GET"}]}