Skip to main content
Templates let you save reusable invoice details such as your business information, standard line items, payment terms, and display preferences so you don’t have to repeat them every time you create an invoice. You can create up to 50 templates per merchant account. Every account starts with three PayPal system templates pre-optimized for QUANTITY, HOURS, and AMOUNT billing.

Templates API

Templates are managed through five endpoints covering the full create, read, update, and delete lifecycle. Use POST to create a new template, GET to retrieve either a single template by ID or your full list, PUT to fully update an existing template, and DELETE to remove one. All template endpoints are scoped to /v2/invoicing/templates and require a valid Bearer token. For the complete request and response schemas, see the Invoicing API reference.

Template object

The following fields make up the template object.

template_info

The invoice data stored in the template shares the same structure as the invoice object. See the most commonly used fields.

settings

An array of display rules controlling field visibility on invoices created from this template. Each entry contains a field_name and a display_preference object with a single hidden boolean. Set hidden: true to hide the field, or hidden: false to show it. Supported field_name values:

Create a template

Creates a new invoice template. A successful request returns HTTP 201 Created and the template object if you set Prefer: return=representation.

Request

Response

Save the returned id to reference this template when listing, updating, or associating it with an invoice through configuration.template_id.

Quick start using Invoicing API

Create and send your first invoice using the PayPal Invoicing API.

Use cases

See how templates fit into common invoicing workflows.

Reference

Explore the full schema for the template object and all other Invoicing API objects.