Sign in

Create invoice template

documented

Create an invoice template.

POST /v1/invoicing/templatesInvoicingno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api-m.paypal.com/v2/invoicing/templates" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{ "name": "{{$title}}", "default_template": {{$default_template}}, "template_info": { "detail": { "reference": "{{$reference}}", "currency_code": "{{$currency_code}}", "note": "{{$note}}", "terms_and_conditions": "{{$terms}}", "memo": "{{$memo}}", "attachments": [] }, "configuration": { "tax_calculated_after_discount": {{$tax_calculated_after_discount}}, "tax_inclusive": {{$tax_inclusive}}, "allow_tip": {{$allow_tip}}, "partial_payment": { "allow_partial_payment": {{$partial_payment_allowed}}, "minimum_amount_due": { "currency_code": "{{$currency_code}}", "value": "{{$minimum_due}}" } } }, "settings": { "template_item_settings": [ { "field_name": "ITEMS_QUANTITY", "display_preference": { "hidden": false } } ], "template_subtotal_settings": [ { "field_name": "DISCOUNT", "display_preference": { "hidden": false } } ] }, "unit_of_measure": "{{$unit_of_measure}}" }'"
Create invoice template · PayPal · OpenIntegrations