Paperless Invoicing

Plugin Banner

Paperless Invoicing

by paperlessapi

Download
Description

Paperless Invoicing connects WooCommerce to the Paperless API.

When an order reaches the Completed status, the plugin sends invoice payload data to:
https://api.paperless.tax/invoices/api/create

On success, the returned invoice URL is saved on the order and displayed to the customer on:
– Thank You page
– My Account -> Order details

The plugin is built for a behind-the-scenes checkout flow: customers place orders normally, while invoice creation happens automatically in the background.

Key Features

  • Automatic invoice creation when order status becomes Completed
  • Hardcoded Paperless endpoint for production use
  • API key authentication via X-API-KEY header
  • Product-level mapping with Paperless Product ID
  • Invoice URL persistence in order meta
  • Customer-facing invoice link display (Thank You + My Account)
  • Error logging to WooCommerce logs (source: paperless-invoicing)

Notes

  • Trigger status is fixed to Completed.
  • Invoice type is fixed to 2 (InvoiceReceipt).
  • Plugin does not send invoice emails.
  • To avoid duplicates, there is no manual retry action in order actions.

External services

This plugin connects to paperless.tax API to create invoices when a sale is completed.
It sends the details of the invoice items, prices and client’s details to paperless.tax so that an invoice will be produced and sent to the buyer on behalf of the seller
This service is provided by “Paperless Bookkeeping LTD”:
terms of use: https://paperless-public-1.s3.eu-west-1.amazonaws.com/docs/260205_tos.pdf
privacy policy: https://paperless-public-1.s3.eu-west-1.amazonaws.com/docs/251023_privacy.pdf

  1. Upload the plugin folder to /wp-content/plugins/, or install via WordPress admin upload.
  2. Activate Paperless Invoicing through the Plugins screen.
  3. Go to WooCommerce -> Paperless Invoicing.
  4. Enable sync and enter your API key.
  5. Edit each product and set Paperless Product ID.
  6. Save settings and products.
Who uses this plugin: store admin or customer?

Store admin configures it. Customers do not see plugin settings.

What happens if invoice creation fails (for example HTTP 400)?

Order flow continues normally. No invoice link is shown to customer. Error details are written to WooCommerce logs.

Where can I find error logs?

Go to WooCommerce -> Status -> Logs and open logs with source paperless-invoicing.

Where is the invoice link shown to customers?

On Thank You page and My Account -> Order details.

Is the invoice link temporary?

The URL returned by API is stored in order meta and remains available after refresh.

1.0.1

  • Rebranded plugin to Paperless Invoicing
  • Hardcoded production API endpoint
  • Fixed trigger to Completed only
  • Fixed invoice type to InvoiceReceipt (iType = 2)
  • Simplified product mapping to required Paperless Product ID
  • Removed order debug metabox
  • Added success order note and WooCommerce log-based error handling

1.0.0

  • Initial release
Back to top