{"id":67449,"date":"2018-01-29T14:35:49","date_gmt":"2018-01-29T05:35:49","guid":{"rendered":"https:\/\/support.questetra.com\/?p=67449"},"modified":"2021-01-22T14:06:10","modified_gmt":"2021-01-22T05:06:10","slug":"paypal-createusd","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/paypal-createusd\/","title":{"rendered":"PayPal Invoicing Create (USD)"},"content":{"rendered":"<div class=\"su-note\"  style=\"border-color:#e5dab2;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\"><div class=\"su-note-inner su-u-clearfix su-u-trim\" style=\"background-color:#FFF4CC;border-color:#ffffff;color:#333333;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;\">\n<h3><i class=\"fal fa-exclamation-circle\"><\/i> PAGE UPDATED<\/h3>\n<div style=\"text-align: center;\"><i class=\"fal fa-truck fa-lg\"><\/i> <a href=\"https:\/\/support.questetra.com\/en\/addons\/paypal-invoice-create-draft\/\">https:\/\/support.questetra.com\/en\/addons\/paypal-invoice-create-draft\/<\/a><\/div>\n<\/div><\/div>\n\n\n\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<div class=\"su-box su-box-style-default\" id=\"\" style=\"border-color:#003e04;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#267137;color:#ffffff;border-top-left-radius:0px;border-top-right-radius:0px\">PayPal Invoicing Create (USD)<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\">Generates Paypal invoice automatically from the setting item information, and stores Paypal Invoice ID in a String type data item.\n<br><span style=\"float: right;\">2018 (C) Questetra, Inc. (MIT License)<\/span><\/div><\/div>\n\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\"><ul class=\"fa-ul\">\n<li> \tA: Set CLIENT-ID and SECRET for PayPal-REST-API (2-lines)<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tB: Select STRING DATA for Access Log (update)<\/li>\n<li> \tC: Set BisNAME\/COUNTRY-CODE\/POST\/Pref\/City for Merchant (5-lns)<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tD: Set ADDRESS for Merchant (2-lines)<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tE: Set PHONE-COUNTRY-CODE\/NUMBER\/EMAIL\/URL for Merchant (4-lns)<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tF: Select STRING DATA for Billing Business Name<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tG: Select STRING DATA for Billing Name1<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tH: Select STRING DATA for Billing Name2<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tI: Select STRING DATA for Billing Email<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tJ: Select STRING DATA for Item Name<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tK: Select STRING DATA for Item Description<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tL: Select NUMERIC DATA for Item Quantity<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tM: Select NUMERIC DATA for Unit Price<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tN: Set ItemTax Percent (e.g. &#8220;8&#8221; &#8220;10&#8221;)<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tO: Select STRING DATA for Invoice ID<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tP: Select DATE DATA for Payment Due Date<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tQ: Select STRING DATA for Invoice Note<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \t\tR: Select STRING DATA for Invoice Terms<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tS: Set Logo Url (e.g. <a href=\"https:\/\/example.com\/a.png\" rel=\"nofollow\">https:\/\/example.com\/a.png<\/a>)<span style=\"color:#990000;\"> *<\/span><\/li>\n<li> \tT: Select STRING DATA for Paypal Invoice ID (update)<span style=\"color:#990000;\"> *<\/span><\/li>\n<\/ul><\/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<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/\/\/ == \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 \/ Config Retrieving ==\nvar clientId_secret = configs.get( \"conf_ClientId_Secret\" ) + \"\";\nvar array_clientId_secret = clientId_secret.split(\"\\n\");\nvar clientId = array_clientId_secret&#091;0];\nvar secret   = array_clientId_secret&#091;1];\n\nvar merchantPostalCode   = configs.get( \"conf_MerchantPostalCode\" ) + \"\";\nvar array_merchantPostalCode = merchantPostalCode.split(\"\\n\");\nvar merchantBusinessName = array_merchantPostalCode&#091;0];\nvar merchantAddressCC    = array_merchantPostalCode&#091;1];\nvar merchantAddressPC    = array_merchantPostalCode&#091;2];\nvar merchantAddressState = array_merchantPostalCode&#091;3];\nvar merchantAddressCity  = array_merchantPostalCode&#091;4];\n\nvar merchantAddress      = configs.get( \"conf_MerchantAddress\" ) + \"\";\nvar array_merchantAddress = merchantAddress.split(\"\\n\");\nvar merchantAddress1     = array_merchantAddress&#091;0];\nvar merchantAddress2     = array_merchantAddress&#091;1];\n\nvar merchantPhoneEmail   = configs.get( \"conf_MerchantPhoneEmail\" ) + \"\";\nvar array_merchantPhoneEmail  = merchantPhoneEmail.split(\"\\n\");\nvar merchantPhoneCC      = array_merchantPhoneEmail&#091;0];\nvar merchantPhoneNum     = array_merchantPhoneEmail&#091;1];\nvar merchantEmail        = array_merchantPhoneEmail&#091;2];\nvar merchantWebsite      = array_merchantPhoneEmail&#091;3];\n\nvar billingLanguage      = \"en_US\"; \/\/\/ HARD-CODED\nvar itemUnitPriceCurrency = \"USD\"; \/\/\/ HARD-CODED\nvar itemTaxName          = \"TAX\"; \/\/\/ HARD-CODED\nvar itemTaxPercent       = configs.get( \"conf_ItemTax\" ) - 0;\nvar logoUrl              = configs.get( \"conf_logoUrl\" ) + \"\";\n\nvar dataIdB = configs.get( \"conf_DataIdB\" ) + \"\";\nvar dataIdF = configs.get( \"conf_DataIdF\" ) + \"\";\nvar dataIdG = configs.get( \"conf_DataIdG\" ) + \"\";\nvar dataIdH = configs.get( \"conf_DataIdH\" ) + \"\";\nvar dataIdI = configs.get( \"conf_DataIdI\" ) + \"\";\nvar dataIdJ = configs.get( \"conf_DataIdJ\" ) + \"\";\nvar dataIdK = configs.get( \"conf_DataIdK\" ) + \"\";\nvar dataIdL = configs.get( \"conf_DataIdL\" ) + \"\";\nvar dataIdM = configs.get( \"conf_DataIdM\" ) + \"\";\n\nvar dataIdO = configs.get( \"conf_DataIdO\" ) + \"\";\nvar dataIdP = configs.get( \"conf_DataIdP\" ) + \"\";\nvar dataIdQ = configs.get( \"conf_DataIdQ\" ) + \"\";\nvar dataIdR = configs.get( \"conf_DataIdR\" ) + \"\";\nvar dataIdT = configs.get( \"conf_DataIdT\" ) + \"\";\n\n\n\/\/\/\/ == \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 \/ Data Retrieving ==\nvar billingBusinessName  = engine.findDataByNumber( dataIdF ) + \"\"; \/\/ Max 100\nvar billingName1         = engine.findDataByNumber( dataIdG ) + \"\"; \/\/ Max 30\nvar billingName2         = engine.findDataByNumber( dataIdH ) + \"\"; \/\/ Max 30\nvar billingEmail         = engine.findDataByNumber( dataIdI ) + \"\"; \/\/ Max 260\nvar itemName             = engine.findDataByNumber( dataIdJ ) + \"\"; \/\/ Max 200\nvar itemDescription      = engine.findDataByNumber( dataIdK ) + \"\"; \/\/ Max 1000\nvar itemQuantity         = engine.findDataByNumber( dataIdL ) - 0;\nvar itemUnitPriceNum     = engine.findDataByNumber( dataIdM ) - 0;\nvar itemUnitPrice        = itemUnitPriceNum + \"\"; \/\/ STRING!! without Comma\n\nvar invoiceNumber        = engine.findDataByNumber( dataIdO ) + \"\"; \/\/ Max 25\nvar paymentTermDueDate   = engine.findDataByNumber( dataIdP ) + \" PST\";\nvar invoiceNote          = engine.findDataByNumber( dataIdQ ) + \"\"; \/\/ Max 4000\nvar invoiceTerms         = engine.findDataByNumber( dataIdR ) + \"\"; \/\/ Max 4000\n\nvar merchantMemo = \"BPMS Process ID: \" + processInstance.getProcessInstanceId();\n\n\n\/\/\/\/ == \u6f14\u7b97 \/ Calculating ==\nvar accessLog = \"\";\n\n\/\/ Get OAuth Token with Client Credentials\nvar uri = \"https:\/\/api.paypal.com\/v1\/oauth2\/token\";\nvar response = httpClient.begin()\n  .basic( clientId, secret )\n  .formParam( \"grant_type\", \"client_credentials\" )\n  .post( uri );\nvar httpStatus = response.getStatusCode() + \"\";\naccessLog = \"---POST request--- \" + httpStatus + \"\\n\";\naccessLog += response.getResponseAsString() + \"\\n\";\n\/\/ Error Handling\nif( httpStatus !== \"200\" ){\n  throw new Error( accessLog );\n}\n\nvar oauthTokenObj = JSON.parse( response.getResponseAsString() );\nvar oauthToken = oauthTokenObj.access_token;\n\n\n\/\/ Create invoice\nvar invoiceObj = {};\n  invoiceObj.number = invoiceNumber;\n  invoiceObj.payment_term = {};\n  invoiceObj.payment_term.due_date = paymentTermDueDate;\n  invoiceObj.note = invoiceNote;\n  invoiceObj.terms = invoiceTerms;\n  invoiceObj.logo_url = logoUrl;\n  invoiceObj.merchant_memo = merchantMemo;\n  invoiceObj.merchant_info = {};\n    invoiceObj.merchant_info.email = merchantEmail;\n    invoiceObj.merchant_info.business_name = merchantBusinessName;\n    invoiceObj.merchant_info.address = {};\n      invoiceObj.merchant_info.address.line1 = merchantAddress1;\n      invoiceObj.merchant_info.address.line2 = merchantAddress2;\n      invoiceObj.merchant_info.address.city = merchantAddressCity;\n      invoiceObj.merchant_info.address.state = merchantAddressState;\n      invoiceObj.merchant_info.address.postal_code = merchantAddressPC;\n      invoiceObj.merchant_info.address.country_code = merchantAddressCC;\n      invoiceObj.merchant_info.address.phone = {};\n        invoiceObj.merchant_info.address.phone.country_code = merchantPhoneCC;\n        invoiceObj.merchant_info.address.phone.national_number = merchantPhoneNum;\n    invoiceObj.merchant_info.website = merchantWebsite;\n  invoiceObj.billing_info = &#091;];\n    invoiceObj.billing_info&#091;0] = {};\n      invoiceObj.billing_info&#091;0].email = billingEmail;\n      invoiceObj.billing_info&#091;0].first_name = billingName1;\n      invoiceObj.billing_info&#091;0].last_name = billingName2;\n      invoiceObj.billing_info&#091;0].business_name = billingBusinessName;\n      invoiceObj.billing_info&#091;0].language = billingLanguage;\n  invoiceObj.items = &#091;];\n    invoiceObj.items&#091;0] = {};\n      invoiceObj.items&#091;0].name = itemName;\n      invoiceObj.items&#091;0].description =itemDescription;\n      invoiceObj.items&#091;0].quantity = itemQuantity;\n      invoiceObj.items&#091;0].unit_price = {};\n        invoiceObj.items&#091;0].unit_price.currency = itemUnitPriceCurrency;\n        invoiceObj.items&#091;0].unit_price.value = itemUnitPrice;\n      if( itemTaxPercent !== 0 ){\n      invoiceObj.items&#091;0].tax = {};\n        invoiceObj.items&#091;0].tax.name = itemTaxName;\n        invoiceObj.items&#091;0].tax.percent = itemTaxPercent;\n      }\nvar uriCreate = \"https:\/\/api.paypal.com\/v1\/invoicing\/invoices\/\";\nvar responseCreate = httpClient.begin()\n  .bearer( oauthToken )\n  .body( JSON.stringify( invoiceObj ), \"application\/json\" )\n  .post( uriCreate );\n\nvar httpStatusCreate = responseCreate.getStatusCode() + \"\";\naccessLog = \"---POST request--- \" + httpStatusCreate + \"\\n\";\naccessLog += responseCreate.getResponseAsString() + \"\\n\";\n\/\/ Error Handling\nif( httpStatusCreate !== \"201\" ){\n  throw new Error( accessLog );\n}\n\nvar paypalIdObj = JSON.parse( responseCreate.getResponseAsString() );\nvar paypalId    = paypalIdObj.id;\n\n\n\/\/\/\/ == \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 \/ Data Updating ==\nengine.setDataByNumber( dataIdT, paypalId );\nif ( dataIdB !== \"\" ){ engine.setDataByNumber( dataIdB, accessLog ); }<\/code><\/pre>\n\n\n<\/div><\/div>\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-cloud-download-alt\"><\/i> Download<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/questetra.github.io\/addon\/service-task\/paypal-createUsd.xml\" target=\"_blank\" rel=\"noopener noreferrer\">paypal-createUsd.xml<\/a><ul><li>Since Rhino (deprecated) is specified as the script engine, a setting error will occur even if you install this in a workflow App<\/li><li>To use this Add-on, you need to change the script engine and modify the script accordingly<ul><li>Please refer to <a href=\"https:\/\/support.questetra.com\/en\/developer-blog\/rhino-deprecated\/\">Notice Concerning Deprecation of Rhino<\/a> for the method for corresponding.<\/li><\/ul><\/li><li>A modified version is in preparation<\/li><\/ul><\/li><\/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-large\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"84005\" data-permalink=\"https:\/\/support.questetra.com\/en\/bpmn-icons\/onedrive-file-upload\/attachment\/setting-service-task-pdf-generation-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/setting-service-task-pdf-generation-en.png?fit=959%2C833&amp;ssl=1\" data-orig-size=\"959,833\" 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=\"setting-service-task-pdf-generation-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/01\/setting-service-task-pdf-generation-en.png?fit=725%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-create-invoice-usd.png?ssl=1\" alt=\"\" class=\"wp-image-84005\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\"><\/figure>\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\"><li>You need to create App at Paypal Dashboard beforehand and obtain Client ID\/Secret in advance<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Workflow-Sample<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>2017-07-03 <a href=\"https:\/\/en.workflow-sample.net\/2017\/07\/paypal-invoice-3.html\" target=\"_blank\" rel=\"noreferrer noopener\">Easy Billing Operation by Connecting with PayPal Invoice (3)<\/a><\/li><li>2017-06-26 <a href=\"https:\/\/en.workflow-sample.net\/2017\/06\/paypal-invoice-2.html\" target=\"_blank\" rel=\"noreferrer noopener\">Easy Billing Operation by Connecting with PayPal Invoice (2)<\/a><\/li><li>2017-06-19 <a href=\"https:\/\/en.workflow-sample.net\/2017\/06\/paypal-invoice.html\" target=\"_blank\" rel=\"noreferrer noopener\">Easy Billing Operation by Connecting with PayPal Invoice (1)<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Download paypal-createUsd.xml Since Rhino (deprecated) is specified as the script engine, a setting error will occur even if you install this in a workflow App To use this Add-on, you need to change the script engine and modify the script accordingly Please refer to Notice Concerning Deprecation of Rhino for the method for corresponding. A [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":90409,"comment_status":"closed","ping_status":"closed","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":"","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":"","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":[],"faq_section":[],"class_list":["post-67449","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons"],"jetpack_publicize_connections":[],"uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"Hirotaka NISHI","author_link":"https:\/\/support.questetra.com\/en\/author\/nishiquestetra\/"},"uagb_comment_info":0,"uagb_excerpt":"Download paypal-createUsd.xml Since Rhino (deprecated) is specified as the script engine, a setting error will occur even if you install this in a workflow App To use this Add-on, you need to change the script engine and modify the script accordingly Please refer to Notice Concerning Deprecation of Rhino for the method for corresponding. A&hellip;","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-hxT","jetpack-related-posts":[{"id":75362,"url":"https:\/\/support.questetra.com\/en\/templates\/paypal-billing-process-20211227\/","url_meta":{"origin":67449,"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":67459,"url":"https:\/\/support.questetra.com\/en\/addons\/paypal-send\/","url_meta":{"origin":67449,"position":1},"title":"PayPal Invoicing Send","author":"Hirotaka NISHI","date":"2017-06-02","format":false,"excerpt":"Download Paypal-send.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-invoice-send-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-invoice-send-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/06\/paypal-invoice-send-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-invoice-send-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/06\/paypal-invoice-send-header.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":67449,"position":2},"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":[]},{"id":67455,"url":"https:\/\/support.questetra.com\/en\/addons\/paypal-createjpy\/","url_meta":{"origin":67449,"position":3},"title":"PayPal Invoicing Create (JPY)","author":"Hirotaka NISHI","date":"2018-01-29","format":false,"excerpt":"Download Paypal-createJpy.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\/2018\/01\/paypal-invoicing-create-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\/2018\/01\/paypal-invoicing-create-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.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":67449,"position":4},"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":100623,"url":"https:\/\/support.questetra.com\/en\/addons\/paypal-invoice-create-draft\/","url_meta":{"origin":67449,"position":5},"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":[]}],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2018\/01\/paypal-invoicing-create-header.png?fit=1200%2C675&ssl=1","_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/67449","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=67449"}],"version-history":[{"count":9,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/67449\/revisions"}],"predecessor-version":[{"id":100657,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/67449\/revisions\/100657"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/90409"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=67449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=67449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=67449"},{"taxonomy":"faq_section","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/faq_section?post=67449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}