Hello. I just finished testing api using sandbox. Shortly after, I tried to create an invoice using live api. Then I experienced an error that I cannot access the invoice manage page nor the created invoice. However, I can list the invoice via the live api. Now, I cannot do anything other than listing the created invoice. Please help me. Thanks. Here is the detail of the created invoice: {
"id": "INV2-VN8R-6955-MHKG-3VEQ",
"status": "DRAFT",
"detail": {
"currency_code": "HKD",
"additional_data": "...",
"category_code": "SHIPPABLE",
"invoice_number": "F00000",
"invoice_date": "2021-03-17",
"payment_term": {
"term_type": "DUE_ON_DATE_SPECIFIED",
"due_date": "0001-01-01"
},
"viewed_by_recipient": false,
"group_draft": false,
"metadata": {
"create_time": "2021-03-17T06:28:32Z",
"last_update_time": "2021-03-17T06:28:32Z",
"created_by_flow": "REGULAR_SINGLE",
"recipient_view_url": "https://www.paypal.com/invoice/p/#VN8R6955MHKG3VEQ",
"invoicer_view_url": "https://www.paypal.com/invoice/details/INV2-VN8R-6955-MHKG-3VEQ",
"caller_type": "API_V2_INVOICE"
},
"archived": false
},
"invoicer": {
"name": {
"given_name": "...",
"full_name": "..."
},
"email_address": "...",
"website": "http://...",
"additional_notes": "...",
"logo_url": "..."
},
"primary_recipients": [
{
"billing_info": {
"name": {
"given_name": "mr name",
"full_name": "mr name"
},
"address": {
"address_line_1": "address address"
},
"email_address": "...",
"phones": [
{
"country_code": "852",
"national_number": "...",
"phone_type": "MOBILE"
}
],
"language": "en-US"
},
"shipping_info": {
"name": {
"given_name": "mr name",
"full_name": "mr name"
},
"address": {
"address_line_1": "address address"
}
}
}
],
"items": [
{
"id": "ITEM-23U05890TK9782127",
"name": "Yoga Mat",
"description": "Elastic mat to practice yoga.",
"quantity": "1",
"unit_amount": {
"currency_code": "HKD",
"value": "50.00"
},
"unit_of_measure": "QUANTITY"
}
],
"configuration": {
"tax_calculated_after_discount": false,
"tax_inclusive": false,
"allow_tip": false,
"template_id": "TEMP-32F684632E492312F"
},
"amount": {
"breakdown": {
"item_total": {
"currency_code": "HKD",
"value": "50.00"
},
"discount": {
"invoice_discount": {
"amount": {
"currency_code": "HKD",
"value": "0.00"
}
},
"item_discount": {
"currency_code": "HKD",
"value": "0.00"
}
},
"tax_total": {
"currency_code": "HKD",
"value": "0.00"
}
},
"currency_code": "HKD",
"value": "50.00"
},
"due_amount": {
"currency_code": "HKD",
"value": "50.00"
},
"links": [
{
"href": "https://api.paypal.com/v2/invoicing/invoices/INV2-VN8R-6955-MHKG-3VEQ",
"rel": "self",
"method": "GET"
},
{
"href": "https://api.paypal.com/v2/invoicing/invoices/INV2-VN8R-6955-MHKG-3VEQ/send",
"rel": "send",
"method": "POST"
},
{
"href": "https://api.paypal.com/v2/invoicing/invoices/INV2-VN8R-6955-MHKG-3VEQ",
"rel": "replace",
"method": "PUT"
},
{
"href": "https://api.paypal.com/v2/invoicing/invoices/INV2-VN8R-6955-MHKG-3VEQ",
"rel": "delete",
"method": "DELETE"
},
{
"href": "https://api.paypal.com/v2/invoicing/invoices/INV2-VN8R-6955-MHKG-3VEQ/payments",
"rel": "record-payment",
"method": "POST"
}
]
}
... View more