{"id":100528,"date":"2021-01-20T14:38:54","date_gmt":"2021-01-20T05:38:54","guid":{"rendered":"https:\/\/support.questetra.com\/?p=100528"},"modified":"2023-08-18T13:44:24","modified_gmt":"2023-08-18T04:44:24","slug":"paypal-invoice-send","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/paypal-invoice-send\/","title":{"rendered":"PayPal #Invoice: Send"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"68\" data-attachment-id=\"89186\" data-permalink=\"https:\/\/support.questetra.com\/en\/maintenance\/maintenance-20251117\/attachment\/professional-banner-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?fit=1200%2C68&amp;ssl=1\" data-orig-size=\"1200,68\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"professional-banner-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?fit=1024%2C58&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=1200%2C68&#038;ssl=1\" alt=\"\" class=\"wp-image-89186\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=600%2C34&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=1024%2C58&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/professional-banner-en.png?resize=768%2C44&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><div class=\"su-box su-box-style-soft\" id=\"\" style=\"border-color:#cc66cc;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#ff99ff;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\">PayPal: Invoice, Send<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\"> Sends an Invoice on the payment platform PayPal. Both Recipient (customer) and Invoicer will receive an email notification. The invoice status updates to SENT from DRAFT, and anyone who knows the Invoice URL will be able to pay.<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1\" data-anchor=\"configs\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Configs<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<ul class=\"fa-ul\">\n<li><span class=\"fa-li\"><i class=\"fal fa-badge-check fa-lg\"><\/i><\/span> A1: Select HTTP_Authz (BasicAuthn User:ClientID Passwd:SECRET)<span style=\"color:#990000;\"> *<\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> A2: Set Boolean for Notify Invoicer (true: DEFAULT, false: no)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B1: Set PayPal Invoice Id<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<\/ul>\n<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1 su-spoiler-closed\" data-anchor=\"script\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Script (click to open)<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ GraalJS Script (engine type: 2)\n\/*\nNOTES\n- Invoicer can automate billing operations using the PayPal Invoicing via Invoices API.\n    - https:\/\/www.paypal.com\/merchantapps\/appcenter\/acceptpayments\/invoicing\n    - The invoices are controlled by a 24-character ID (e.g. &quot;INV2-Z56S-5LLA-Q52L-CPZ5&quot;)\n- This addon requires the CLIENT-ID and SECRET. (Get on the dashboard)\n    - Developer Dashboard -&gt; My apps & credentials -&gt; REST API Apps (Live mode)\n    - https:\/\/developer.paypal.com\/developer\/applications\/\n- Terminology in this addon is based on Invoices API v2 (2019-04).\n    - Be careful when migrating from implementations prior to April 2019.\n    - e.g. &quot;merchant&quot; to &quot;invoicer&quot;\n    - e.g. &quot;billing info&quot; to &quot;recipient&quot;\n- When PayPal emails the recipient, the invoice moves from draft to payable state.\n    - To move from a draft to payable state, the SEND INVOICE action is required.\n    - Invoice Status: DRAFT, SCHEDULED, SENT, PAID, MARKED_AS_PAID, CANCELLED, REFUNDED,,\n    - https:\/\/developer.paypal.com\/docs\/api\/invoicing\/v2\/#invoices_create\n    - However, if &quot;invoice_date&quot; is set, automatically sent at 7:00 of Invoicer time zone\n- The URL for viewing the invoice differs between the recipient and the invoicer.\n    - recipient_view_url: https:\/\/www.paypal.com\/invoice\/p\/#XXXX5MHSXXXXMXJH\n    - invoicer_view_url: https:\/\/www.paypal.com\/invoice\/details\/INV2-XXXX-5MHS-XXXX-MXJH\n\nNOTE-ja\n- \u8acb\u6c42\u4eba\u306f\u3001\u8acb\u6c42\u66f8\u30c4\u30fc\u30eb\uff08Invoicing\uff09\u306b\u3088\u308b\u8acb\u6c42\u696d\u52d9\u3092\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\uff08Invoices API\u7d4c\u7531\uff09\n    - https:\/\/www.paypal.com\/jp\/webapps\/mpp\/merchant\/solutions\/invoicing\n    - \u8acb\u6c42\u66f8\u306f24\u6587\u5b57\u306eID\u3067\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3055\u308c\u307e\u3059\uff08e.g. &quot;INV2-Z56S-5LLA-Q52L-CPZ5&quot;\uff09\n- \u3053\u306e\u30a2\u30c9\u30aa\u30f3\u306e\u5229\u7528\u306b\u306f CLIENT-ID \u3068 SECRET \u304c\u5fc5\u8981\u3067\u3059\u3002\uff08\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3067\u53d6\u5f97\uff09\n    - Developer Dashboard -&gt; My apps & credentials -&gt; REST API Apps (Live mode)\n    - https:\/\/developer.paypal.com\/developer\/applications\/\n- \u3053\u306e\u30a2\u30c9\u30aa\u30f3\u306e\u8868\u8a18\u306f Invoices API v2 \u30142019-04\u3015\u30d9\u30fc\u30b9\u306e\u7528\u8a9e\u306b\u3066\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002\n    - 2019-04 \u4ee5\u524d\u306e\u5b9f\u88c5\u304b\u3089\u79fb\u884c\u3059\u308b\u5834\u5408\u306f\u3001\u7279\u306b\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002\n    - &quot;merchant&quot;\uff08\u8ca9\u58f2\u4eba\uff09 \u3067\u306f\u306a\u304f &quot;invoicer&quot;\uff08\u8acb\u6c42\u4eba\uff09\n    - &quot;billing info&quot;\uff08\u8acb\u6c42\u5148\uff09 \u3067\u306f\u306a\u304f &quot;recipient&quot;\uff08\u53d7\u53d6\u4eba\uff09\n- &quot;\u8acb\u6c42\u66f8\u30c9\u30e9\u30d5\u30c8&quot; \u306f\u539f\u5247\u3001PayPal\u304b\u3089\u53d7\u53d6\u4eba\u306b\u5bfe\u3057\u30e1\u30fc\u30eb\u3055\u308c\u305f\u969b\u306b\u6c7a\u6e08\u53ef\u80fd\u306a\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\n    - \u3059\u306a\u308f\u3061\u8acb\u6c42\u66f8\u30c9\u30e9\u30d5\u30c8\u3092\u6709\u52b9\u5316\u3059\u308b\u306b\u306f\u3001\u5225\u9014\u300c\u9001\u4fe1\u300d\u30a2\u30af\u30b7\u30e7\u30f3\u304c\u5fc5\u8981\u3067\u3059\u3002\n    - Invoice Status: DRAFT, SCHEDULED, SENT, PAID, MARKED_AS_PAID, CANCELLED, REFUNDED,,\n    - https:\/\/developer.paypal.com\/docs\/api\/invoicing\/v2\/#invoices_create\n    - \u305f\u3060\u3057 &quot;\u8acb\u6c42\u65e5&quot; \u304c\u30bb\u30c3\u30c8\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u8acb\u6c42\u4eba\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u306e 7:00 \u306b\u81ea\u52d5\u9001\u4fe1\u3055\u308c\u307e\u3059\n- \u8acb\u6c42\u66f8\u8868\u793a\u7528\u306eURL\u306f\u3001\u53d7\u53d6\u4eba\u3014\u8acb\u6c42\u5148\u3015\u7528\u3068\u8acb\u6c42\u4eba\u7528\u3067\u7570\u306a\u308a\u307e\u3059\u3002\n    - recipient_view_url: https:\/\/www.paypal.com\/invoice\/p\/#XXXX5MHSXXXXMXJH\n    - invoicer_view_url: https:\/\/www.paypal.com\/invoice\/details\/INV2-XXXX-5MHS-XXXX-MXJH\n*\/\n\n\/*\nAPPENDIX\n- To request API in Sandbox mode (instead of Live mode)\n    - Set CLIENT-ID and SECRET for Sandbox\n    - Edit Access URLs to &quot;api.sandbox.paypal.com&quot; (&#39;postUri1&#39; and &#39;postUri2&#39;)\n- PayPal API Reference &quot;Send invoice&quot; \/v2\/invoicing\/invoices\n    - https:\/\/developer.paypal.com\/docs\/invoicing\/basic-integration\/#3-send-invoice\n    - https:\/\/developer.paypal.com\/docs\/api\/invoicing\/v2\/#invoices_send\n\nAPPENDIX-ja\n- \u30c6\u30b9\u30c8\u306e\u305f\u3081\u306b\uff08Live \u30e2\u30fc\u30c9\u3067\u306f\u306a\u304f\uff09Sandbox \u30e2\u30fc\u30c9\u3067 API \u901a\u4fe1\u3055\u305b\u305f\u3044\u5834\u5408\n    - Sandbox \u7528\u306e CLIENT-ID \u3068 SECRET \u3092\u30bb\u30c3\u30c8\n    - \u30b9\u30af\u30ea\u30d7\u30c8\u5185\u306e\u30a2\u30af\u30bb\u30b9URL\u3092 &quot;api.sandbox.paypal.com&quot; \u306b (&#39;postUri1&#39; \u3068 &#39;postUri2&#39;)\n- PayPal API Reference &quot;Send invoice&quot; \/v2\/invoicing\/invoices\n    - https:\/\/developer.paypal.com\/docs\/invoicing\/basic-integration\/#3-send-invoice\n    - https:\/\/developer.paypal.com\/docs\/api\/invoicing\/v2\/#invoices_send\n*\/\n\n\n\/\/\/\/\/\/\/\/ START &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\nmain();\nfunction main(){ \n\n\/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\nconst strAuthzSetting   = configs.get( &quot;AuthzConfA1&quot; ); \/\/ required (Authz by Basic_AuthN)\n  engine.log( &quot; AutomatedTask Config: Authz Setting: &quot; + strAuthzSetting );\nconst strNoticesetting  = configs.get( &quot;StrConfA2&quot; ) + &quot;&quot;;\n  let boolNoticesetting = true;\n  if( strNoticesetting === &quot;false&quot; ){\n      boolNoticesetting = false;\n  }\n  engine.log( &quot; AutomatedTask Config: Notification to Invoicer: &quot; + boolNoticesetting );\nconst strInvoiceid      = configs.get( &quot;StrConfB1&quot; ) + &quot;&quot;; \/\/ required\n  if( strInvoiceid     === &quot;&quot; ){\n    throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                     &quot; Config {B1 Invoice Id} not specified \\n&quot; );\n  }\n\n\n\/\/\/\/ == Data Retrieving \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 ==\n\/\/ (Nothing. Retrieved via Expression Language in Config Retrieving)\n\n\n\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\n\/\/ prepare request1: Get an Access Token\n\/\/ (PayPal OAuth 2.0 credentials \/ Client Credentials)\n\/\/ https:\/\/developer.paypal.com\/docs\/api\/overview#get-credentials\n\/\/ https:\/\/developer.paypal.com\/docs\/api\/get-an-access-token-curl\/\nlet postUri1 = &quot;https:\/\/api.paypal.com\/v1\/oauth2\/token&quot;;\nlet request1 = httpClient.begin(); \/\/ HttpRequestWrapper\n    request1 = request1.authSetting( strAuthzSetting );\n    request1 = request1.formParam( &quot;grant_type&quot;, &quot;client_credentials&quot; );\nengine.log( &quot; AutomatedTask ApiRequest1 Prepared&quot; );\n\n\/\/ try request1\nconst response1 = request1.post( postUri1 ); \/\/ HttpResponseWrapper\nengine.log( &quot; AutomatedTask ApiRequest1 Start: &quot; + postUri1 );\nconst response1Code = response1.getStatusCode() + &quot;&quot;; \/\/ (primitive string)\nconst response1Body = response1.getResponseAsString() + &quot;&quot;;\nengine.log( &quot; AutomatedTask ApiResponse1 Status: &quot; + response1Code );\nif( response1Code !== &quot;200&quot;){\n  throw new Error( &quot;\\n AutomatedTask UnexpectedResponseError: &quot; +\n                    response1Code + &quot;\\n&quot; + response1Body + &quot;\\n&quot; );\n}\n\n\/\/ parse response1\n\/*** engine.log( response1Body ); \/\/ debug\nresponse sample\n{\n  &quot;scope&quot;:&quot;https:\/\/api.paypal.com\/v1\/payments\/.\u203b https:\/\/uri.paypal.com\/services\/invoicing\n           openid https:\/\/uri.paypal.com\/payments\/payouts ....&quot;,\n  &quot;access_token&quot;:&quot;A21AAO9wpfXXXXXXXXXXL1P96HvZkRXXXXXXXXXXDlSVGSvUjlXXXXX...XXXXX&quot;,\n  &quot;token_type&quot;:&quot;Bearer&quot;,\n  &quot;app_id&quot;:&quot;APP-6BKXXX232XXX3090N&quot;,\n  &quot;expires_in&quot;:32400,\n  &quot;nonce&quot;:&quot;2021-01-14T06:13:03Z1dgXXXCnnXXXgLKXXXgn0XXXcrJXXXoALXXXXBUXXXs&quot;\n}\n***\/\nconst response1Obj = JSON.parse( response1Body );\nconst strBearerToken = response1Obj.access_token;\n\n\n\/\/ prepare request2: Send Invoice\nlet request2Obj = {};\n    request2Obj.send_to_invoicer = boolNoticesetting;\nlet postUri2 = &quot;https:\/\/api.paypal.com\/v2\/invoicing\/invoices\/&quot; + strInvoiceid + &quot;\/send&quot;;\nlet request2 = httpClient.begin(); \/\/ HttpRequestWrapper\n    request2 = request2.bearer( strBearerToken );\n    request2 = request2.body( JSON.stringify( request2Obj ), &quot;application\/json&quot; );\nengine.log( &quot; AutomatedTask ApiRequest2 Prepared&quot; );\n\n\/\/ try request2\nconst response2 = request2.post( postUri2 ); \/\/ HttpResponseWrapper\nengine.log( &quot; AutomatedTask ApiRequest2 Start: &quot; + postUri2 );\nconst response2Code = response2.getStatusCode() + &quot;&quot;; \/\/ (primitive string)\nconst response2Body = response2.getResponseAsString() + &quot;&quot;;\nengine.log( &quot; AutomatedTask ApiResponse2 Status: &quot; + response2Code );\nif( response2Code !== &quot;200&quot;){          \/\/ Reference wrong &quot;202&quot;, Overview right &quot;200&quot;\n  throw new Error( &quot;\\n AutomatedTask UnexpectedResponseError: &quot; +\n                    response2Code + &quot;\\n&quot; + response2Body + &quot;\\n&quot; );\n}\n\/\/ https:\/\/developer.paypal.com\/docs\/api-basics\/HTMLStatusCodes\/\n\n\/\/ parse response2\n\/*** engine.log( response2Body ); \/\/ debug\nresponse sample\n{\n  &quot;href&quot;:&quot;https:\/\/www.paypal.com\/invoice\/p\/#INV2-XXXX-DQHU-XXXX-UKG5&quot;,\n  &quot;rel&quot;:&quot;payer-view&quot;,\n  &quot;method&quot;:&quot;GET&quot;\n}\n***\/\n\n\n\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\n\/\/ (No Output except Console Log)\n\n\n} \/\/\/\/\/\/\/\/ END &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n<\/code><\/pre><\/div>\n\n\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image alignright\"><a href=\"#\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAELElEQVRYR8VXa0xTZxh+PqCtFmQC\nw4CiM8BYBbME0Glc1KGhRONlcVvmGolGE2LdEqqbwT86Y2KUeaHEC8Sh0aCYhegPnUGqji1b1DEB\nowOWTIU5EBiK0VKgpe1nvlN7Cj3na0\/Nkp5\/7Xkvz3t73vcQhPkhiv0XXdZiomYNCMkDpdkAnQlC\n4gR9Sp8DpBOEtIDSBgzbL+LEyiEltoMD2N6QhFFHCQjZDIoJSoyCYASUVkKlLsWBvN5AOoEBbLUw\npwcBRCtyLBWygeAblOkrefp8AKZrxwFqfEPHfmqkAub8LXK25AGYLDUAvvh\/nItWzsOsN\/jblALg\nRH70Ex0MOUmIipTHbHdSdDwbxoV7fTj+WxesdqcMfmkmxlvz1LxCLvKmr+chJyU2aFIoBe71WGGo\nvo+2XptUnsA4tid8AIRuH30g13AZiVpcKcpG+tvaoACYgJtSnLjVDWNtu5y8DSpVunc6fABM9WUA\nMclprMxKRNXaTEyJUSsCwISau14i99DvHHlqhrlgK3vpAcBIJlrzjDfnXy2cjv0r3kW0OlIxgPs9\ng3j\/u1vy8ownbPYERlYeAMWWdSCo5lk\/uDoDxYtmICoiOG95bVz6sx+rT97lA6YoRLn+rMei6dpJ\ngG7kSZ82ZGH93KmKox91URz++R9Me0uDmuZe1LU\/lZuIUzDnb\/JmoBkE2TwPP32Zi7z0eMUA2Dju\nu9GBnfpUVN3uxp76R1JdihaU63NeA6gfEBeLn+gkTRQat30A3RRlbDzidAvRs4lZNTsR+653cADQ\n5ygviH9dAgvlhZf\/XgLOGLKQHKsJmoEXI04c\/fVfEAJs++gdDDlc2Fzbjtq7ffK6Zj0TZT3AB1A4\nJxnHPtWBZcL72J1uOFxu4eeQw43OgWE0Pn6J041PYPwwBevmJGNCVARauq1YfOQOhxUBiACK+SXY\nsywNJUtnQh0ZITi0OVzY8ePfQqTsmTsjFrkpsdDrErA4LQ7xWpXwPytF6Y1O7L76UD56dkOIJSi2\ncJuw6vNMbJo\/TTTy36AD39Y9xK6CVG5ZnG6Kc0092FDTGmgMxzRhgDG8bszF0gzfBLB0l\/3yGHuX\npyNG4yMm5tQ64kR7nw2VN7tQfacnSM+QcWPIJaLWkgXITPJNAKPYK21PxbL0Wh0o+qENl1v7gzbp\nOIFxRMSh4oWpcagpnI2Uyb5LjDFc\/6BDLAvbeFmlN0NzLqFiYRKky2htdhIqPpuFyRM9E8BW7fe3\nu5CWoBXL0vBgAEuONYUGAP7LiKkHWMf+1seW5cwfTwI3mxQaZx0zwQAHCXvNMnL44wwkxqiFxcS4\ngI3arjrOqMnlhXuQeIUDHKOMjPS6eGhVnu4fGnXB8tcAn2gkAIKdZCKIcB6lCjIRYsexuyfEs9zr\nIawfJl4QYf00G5vrsH2chl7wkDReAWd8uTDVR7SJAAAAAElFTkSuQmCC\n\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-cloud-download-alt\"><\/i> Download<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/drive.google.com\/file\/d\/1cbgjqg6njqLyG6cIgZjJm5cign0VSypT\/view?usp=drivesdk\" target=\"_blank\">Paypal-Invoice-Send.xml<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/drive.google.com\/file\/d\/1qk-PPEluwY855SjQyXfVqmuLAyjGKPFU\/view?usp=sharing\" data-type=\"link\" data-id=\"https:\/\/drive.google.com\/file\/d\/1qk-PPEluwY855SjQyXfVqmuLAyjGKPFU\/view?usp=sharing\">Paypal-Invoice-Send-2023.xml<\/a>\n<ul class=\"wp-block-list\">\n<li>2023-08-17 (C) Questetra, Inc. (MIT License)<\/li>\n\n\n\n<li>for &#8220;GraalJS standard (engine-type 3)&#8221; on v15.0 or above<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"has-text-align-right has-small-font-size wp-block-paragraph\">2021-01-19 (C) Questetra, Inc. (MIT License)<br><a href=\"https:\/\/support.questetra.com\/en\/addons\/paypal-invoice-send\/\">https:\/\/support.questetra.com\/addons\/paypal-invoice-send\/<\/a><br><i class=\"fal fa-info-circle\"><\/i> The Addon-import feature is available with <span style=\"color:#4a86e8\" class=\"has-inline-color\"><strong>Professional<\/strong><\/span> edition.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dashed\" style=\"margin:30px 0;border-width:8px;border-color:#009900\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-lightbulb-exclamation\"><\/i> Notes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Invoicer can automate billing operations using the PayPal Invoicing via Invoices API.\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.paypal.com\/merchantapps\/appcenter\/acceptpayments\/invoicing\" rel=\"nofollow\">https:\/\/www.paypal.com\/merchantapps\/appcenter\/acceptpayments\/invoicing<\/a><\/li>\n\n\n\n<li>The invoices are controlled by a 24-character ID (e.g. &#8220;INV2-Z56S-5LLA-Q52L-CPZ5&#8221;)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>This addon requires the CLIENT-ID and SECRET. (Get on the dashboard)\n<ul class=\"wp-block-list\">\n<li>Developer Dashboard -&gt; My apps &amp; credentials -&gt; REST API Apps (Live mode)<\/li>\n\n\n\n<li><a href=\"https:\/\/developer.paypal.com\/developer\/applications\/\" rel=\"nofollow\">https:\/\/developer.paypal.com\/developer\/applications\/<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Terminology in this addon is based on Invoices API v2 (2019-04).\n<ul class=\"wp-block-list\">\n<li>Be careful when migrating from implementations prior to April 2019.<\/li>\n\n\n\n<li>e.g. &#8220;merchant&#8221; to &#8220;invoicer&#8221;<\/li>\n\n\n\n<li>e.g. &#8220;billing info&#8221; to &#8220;recipient&#8221;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>When PayPal emails the recipient, the invoice moves from draft to payable state.\n<ul class=\"wp-block-list\">\n<li>To move from a draft to payable state, the SEND INVOICE action is required.<\/li>\n\n\n\n<li>Invoice Status: DRAFT, SCHEDULED, SENT, PAID, MARKED_AS_PAID, CANCELLED, REFUNDED,,<\/li>\n\n\n\n<li><a href=\"https:\/\/developer.paypal.com\/docs\/api\/invoicing\/v2\/#invoices_create\" rel=\"nofollow\">https:\/\/developer.paypal.com\/docs\/api\/invoicing\/v2\/#invoices_create<\/a><\/li>\n\n\n\n<li>However, if &#8220;invoice_date&#8221; is set, automatically sent at 7:00 of Invoicer time zone<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>The URL for viewing the invoice differs between the recipient and the invoicer.\n<ul class=\"wp-block-list\">\n<li>recipient_view_url: <a href=\"https:\/\/www.paypal.com\/invoice\/p\/#XXXX5MHSXXXXMXJH\" rel=\"nofollow\">https:\/\/www.paypal.com\/invoice\/p\/#XXXX5MHSXXXXMXJH<\/a><\/li>\n\n\n\n<li>invoicer_view_url: <a href=\"https:\/\/www.paypal.com\/invoice\/details\/INV2-XXXX-5MHS-XXXX-MXJH\" rel=\"nofollow\">https:\/\/www.paypal.com\/invoice\/details\/INV2-XXXX-5MHS-XXXX-MXJH<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-images\"><\/i> Capture<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-capture-en.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"100532\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/paypal-invoice-send\/attachment\/paypal-invoice-send-capture-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-capture-en.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"PayPal-Invoice-Send-capture-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-capture-en.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-capture-en.png?resize=1200%2C675&#038;ssl=1\" alt=\"Sends an Invoice on the payment platform PayPal. Both Recipient (customer) and Invoicer will receive an email notification. The invoice status updates to SENT from DRAFT, and anyone who knows the Invoice URL will be able to pay.\" class=\"wp-image-100532\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-capture-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-capture-en.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-capture-en.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-capture-en.png?resize=768%2C432&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-book\"><\/i> Appendix<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To request API in Sandbox mode (instead of Live mode)\n<ul class=\"wp-block-list\">\n<li>Set CLIENT-ID and SECRET for Sandbox<\/li>\n\n\n\n<li>Edit Access URLs to &#8220;api.<strong>sandbox<\/strong>.paypal.com&#8221; (&#8216;postUri1&#8217; and &#8216;postUri2&#8217;)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>PayPal API Reference &#8220;Send invoice&#8221; \/v2\/invoicing\/invoices\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.paypal.com\/docs\/invoicing\/basic-integration\/#3-send-invoice\" rel=\"nofollow\">https:\/\/developer.paypal.com\/docs\/invoicing\/basic-integration\/#3-send-invoice<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.paypal.com\/docs\/api\/invoicing\/v2\/#invoices_send\" rel=\"nofollow\">https:\/\/developer.paypal.com\/docs\/api\/invoicing\/v2\/#invoices_send<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-balance-scale\"><\/i> See also<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"W68eEjjToX\"><a href=\"http:\/\/support.questetra.com\/en\/addons\/paypal-invoice-check-detail\/\">PayPal #Invoice: Check Detail<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;PayPal #Invoice: Check Detail&#8221; &#8212; Questetra Support\" src=\"http:\/\/support.questetra.com\/addons\/paypal-invoice-check-detail\/embed\/#?secret=zh6eIyz423#?secret=W68eEjjToX\" data-secret=\"W68eEjjToX\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Sends an Invoice on the payment platform PayPal. Both Recipient (customer) and Invoicer will receive an email notification. The invoice status updates to SENT from DRAFT, and anyone who knows the Invoice URL will be able to pay.<\/p>\n","protected":false},"author":2,"featured_media":100529,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"Sends an Invoice on the payment platform PayPal. Both Recipient (customer) and Invoicer will receive an email notification. The invoice status updates to SENT from DRAFT, and anyone who knows the Invoice URL will be able to pay.","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[168],"tags":[391,392,403],"class_list":["post-100528","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-basicidpasswd","tag-beareroauth2token","tag-paypal-invoicing-api"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-en.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/en\/author\/imamuragenichi\/"},"uagb_comment_info":4,"uagb_excerpt":"Sends an Invoice on the payment platform PayPal. Both Recipient (customer) and Invoicer will receive an email notification. The invoice status updates to SENT from DRAFT, and anyone who knows the Invoice URL will be able to pay.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-q9q","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":75362,"url":"https:\/\/support.questetra.com\/en\/templates\/paypal-billing-process-20211227\/","url_meta":{"origin":100528,"position":0},"title":"PayPal Billing Process","author":"Hirotaka NISHI","date":"2021-12-28","format":false,"excerpt":"An independent subprocess to be invoked by various business flows. Through \"PayPal Invoicing API\", 1) let PayPal generate \"PayPal Invoice\", 2) let PayPal send \"PayPal Invoice\", 3) confirm payment status of \"PayPal Invoice\" to PayPal. Also generates \"Transfer slip CSV\" for accounting system automatically.","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/03\/eye-catch-paypal-billing-process-20210428-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/03\/eye-catch-paypal-billing-process-20210428-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/03\/eye-catch-paypal-billing-process-20210428-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/03\/eye-catch-paypal-billing-process-20210428-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/03\/eye-catch-paypal-billing-process-20210428-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":159759,"url":"https:\/\/support.questetra.com\/en\/templates\/paypal-billing-process-with-approval-20220126\/","url_meta":{"origin":100528,"position":1},"title":"PayPal Billing App, Supervisor Approval","author":"furuzo","date":"2024-04-08","format":false,"excerpt":"This is a workflow where PayPal invoices are sent automatically. The sales representative enters the billing details and the sales manager approves the details. The accounting department then reviews the automatically generated PayPal invoice draft as appropriate. Upon completion of the accounting review, the PayPal system automatically sends out the\u2026","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/12\/business-apps-dammy.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/12\/business-apps-dammy.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/12\/business-apps-dammy.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":100389,"url":"https:\/\/support.questetra.com\/en\/addons\/paypal-invoice-check-detail\/","url_meta":{"origin":100528,"position":2},"title":"PayPal #Invoice: Check Detail","author":"IMAMURA, Genichi","date":"2021-01-19","format":false,"excerpt":"Checks the status of Invoice on the payment platform PayPal. If in PAID status, payment date is retrievable.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"PayPal: Invoice, Check Detail","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Check-Detail-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Check-Detail-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Check-Detail-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Check-Detail-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Check-Detail-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":100623,"url":"https:\/\/support.questetra.com\/en\/addons\/paypal-invoice-create-draft\/","url_meta":{"origin":100528,"position":3},"title":"PayPal #Invoice: Create Draft","author":"IMAMURA, Genichi","date":"2021-01-22","format":false,"excerpt":"Creates a draft invoice on the payment platform PayPal. To move the invoice from a draft to payable state, the SEND action is required. Billing automation and paperless operations are realized.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"PayPal: Invoice, Create Draft","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/Paypal-Invoice-Create-Draft-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/Paypal-Invoice-Create-Draft-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/Paypal-Invoice-Create-Draft-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/Paypal-Invoice-Create-Draft-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/Paypal-Invoice-Create-Draft-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":100537,"url":"https:\/\/support.questetra.com\/ja\/addons\/paypal-invoice-send\/","url_meta":{"origin":100528,"position":4},"title":"PayPal #\u8acb\u6c42\u66f8: \u9001\u4fe1","author":"IMAMURA, Genichi","date":"2021-01-20","format":false,"excerpt":"\u6c7a\u6e08\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0PayPal\u5185\u306e\u30c9\u30e9\u30d5\u30c8\u8acb\u6c42\u66f8\u306b\u5bfe\u3057\u3066\u9001\u4fe1\u3092\u6307\u793a\u3057\u307e\u3059\u3002\u53d7\u53d6\u4eba\u3014\u8acb\u6c42\u5148\u3015\u3068\u8acb\u6c42\u4eba\u304c\u305d\u308c\u305e\u308c\u306e\u30e1\u30fc\u30eb\u901a\u77e5\u3092\u53d7\u4fe1\u3057\u307e\u3059\u3002PayPal \u4e0a\u306e\u8acb\u6c42\u66f8\u30b9\u30c6\u30fc\u30bf\u30b9\u306f DRAFT \u304b\u3089 SENT \u306b\u306a\u308a\u3001\u8acb\u6c42\u66f8 URL \u3092\u77e5\u308b\u4eba\u306f\u652f\u6255\u53ef\u80fd\u306a\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002","rel":"","context":"In &quot;\u30a2\u30c9\u30aa\u30f3&quot;","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"PayPal: \u8acb\u6c42\u66f8, \u9001\u4fe1","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/01\/PayPal-Invoice-Send-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":67465,"url":"https:\/\/support.questetra.com\/en\/addons\/paypal-status\/","url_meta":{"origin":100528,"position":5},"title":"PayPal Invoicing Status","author":"Hirotaka NISHI","date":"2017-06-03","format":false,"excerpt":"Download Paypal-status.xmlSince Rhino (deprecated) is specified as the script engine, a setting error will occur even if you install this in a workflow AppTo use this Add-on, you need to change the script engine and modify the script accordinglyPlease refer to Notice Concerning Deprecation of Rhino for the method for\u2026","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/06\/paypal-invoicing-status-header.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/06\/paypal-invoicing-status-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/06\/paypal-invoicing-status-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/06\/paypal-invoicing-status-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/06\/paypal-invoicing-status-header.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/100528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=100528"}],"version-history":[{"count":7,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/100528\/revisions"}],"predecessor-version":[{"id":149763,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/100528\/revisions\/149763"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/100529"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=100528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=100528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=100528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}