I am trying to send an invoice using the API, but I am getting error "INVALID_NOTI_SEND_INVOICES", Description: Notifications cannot be edited for multiple invoices. Note that I am trying to Send only One Invoice.
Appreciate any help.
Details:-
POST https://api.sandbox.paypal.com/v2/invoicing/invoices/INV2-UASG-8FKS-AJP4-8WAX/send?notify_merchant=true
Response:-
{
"name": "UNPROCESSABLE_ENTITY",
"message": "The requested action could not be performed, semantically incorrect, or failed business validation.",
"debug_id": "64c4fe9d0e748",
"details": [
{
"field": "invoiceId",
"value": "INV2-UASG-8FKS-AJP4-8WAX",
"location": "path",
"issue": "INVALID_NOTI_SEND_INVOICES",
"description": "Notifications cannot be edited for multiple invoices."
}
],
"links": [
{
"href": "https://developer.paypal.com/docs/api/invoicing/#errors",
"method": "GET"
}
]
}
... View more