I’m happy to announce that another great capability was just added to our REST API yesterday: Invoicing. This enables sending and managing invoices through the API and makes a great addition for merchants and even freelancers.

As you might remember there has been a NVP- and SOAP-based Invoicing API at PayPal for a long time already. To make the usage of this API even easier, we’ve made it consistent with our new APIs: A true REST-scheme, OAuth 2.0 Bearer tokens for authentication and an easy to read JSON format.

An invoice differs to a regular PayPal payment in the following way: Instead of defining a payment method a receiver (email) is defined and passed in the billing info. After creating the invoice you can send it to the receiver by passing its ID to the endpoint for sending invoices: /v1/invoicing/invoices/{invoiceId}/send.

Once the invoice arrived the receiver is able to pay with PayPal, a check, debit card, or credit card.

As you can see the usage of the Invoice API is very similar to the Payments API and should enable you to start right away! We’re always looking for feedback regarding this capability to make even more improvements in the future.

About Tim Messerschmidt

As a long time mobile and web developer specializing in Android, Tim channels his knowledge and experience as Developer Evangelist across Europe for PayPal’s Developer Network. Tim is very passionate about startups, and serves as a mentor of Seedcamp, Wayra, Startup Wise Guys & Rockstart. In his spare time, he leads and creates training classes in all sorts of Android related topics, and is the author of the Android chapter of the Mobile Developer's Guide to the Galaxy, as well as numerous articles published in magazines like web&mobile developer.


8 Responses to REST Invoicing API

  1. Russell Dempsey says:

    Hey Tim,

    Any idea when this new API will be implemented in the REST API SDK for PHP?

  2. Tim Messerschmidt says:

    Hey Russell,
    we’re planning on adding support for invoicing to our SDKs by the end of next week!


  3. tasi says:

    Hi Tim,
    this function is useful to me, but can invoice be sent to mobile? Because I would like people create orders in my website and pay with mobile.

  4. Johnny Tiozzo says:

    Hi Tim, is it possible to use this service just after an effective payment e.g. checkout express?

  5. Michael Bopp says:

    Tim, This looks great, so much better than the NVP / SOAP method. However I’m not sure how to send invoices on BEHALF of another user (as was possible in the Classic API).

    Do you know if this is supported with the new REST API. If not, do you have an idea of when it might get support?

    Thanks so much

  6. Tim Messerschmidt says:

    Hey Tasi,
    since it’ll be sent to an email address (that’s tied to the user’s PayPal account) it’ll also work with mobile.


  7. Lászlóné Somogyi says:

    Hogyan tudom meg azt mi a gond a Paypalommal ?Segítséget honnan kérjek ?

  8. Gionn says:

    It’s possible to create an Invoice and immediately redirect the user to the checkout page, instead of letting them to open the email?