Skip to main content

Introduction

This guide will walk you through the process of generating a simple PDF invoice you can send to your customers. It will also explain all the configuration options available in the โ€œGenerate PDFโ€ workflow step. PDF invoices are valid for tax regimes that donโ€™t require e-reporting or e-invoicing, and serves as a useful example from which to create your own workflows. Once completed, the workflow will work with any GOBL invoice produced for any country in the world.
Example of a PDF invoice

Prerequisites

Youโ€™ll need the following data to issue basic PDF invoices:
  • Supplier details: fiscal details of the issuer.
  • Customer details: fiscal details of who is receiving for B2B invoices.
  • Items: list of products or services being sold, including quantities and prices.
  • Taxes & Rates: knowing how these apply to each item.
  • Series: a series is a counter with number formatting details to be able to generate a code.

Setup

Issuing PDF invoices with Invopop requires very little preparation. We assume that you already have access to the Invopop Console and know how to create a workflow.

PDF Invoice workflow

Basic workflow to generate a PDF invoice

Configuration options

Once you have connected the โ€œPDF Generatorโ€ app, you can configure the โ€œGenerate PDFโ€ workflow step. The following options are available:

Content section

Generate PDF logo
Generate PDF locale
Generate PDF visual markers
Generate PDF checkboxes

Currency section

Currency formatting allows overriding the default currency formatting normally dictated by the documentโ€™s own currency.
Generate PDF formatting

Workflow args

All configuration options above can also be set programmatically using workflow step args. This is useful when you need to dynamically override PDF settings per job via the API.

Running

Use the following example GOBL Invoices inside the Invopop Console or via the API to create new silo entries. Once a silo entry has been stored, you can create a new job to run the โ€œPDF Invoiceโ€ workflow you just created.
A simple invoice for a VAT registered supplier in the United Kingdom
Simple invoice for a VAT registered supplier in the United States

Example PDF invoices

FAQ

Add it to the supplier object within a logos array, the first logo in the array will be used. Make sure the โ€œGenerate PDFโ€ step not configured with a logo, as it will override the supplierโ€™s logo.
If the logo is not displayed, make sure your image is publicly accessible. Sometimes server restrictions prevent our services from accessing the image. An convenient way to verify that your image is publicly accessible is by asking an AI assistant โ€œis this URL https://โ€ฆ publicly accesible?โ€.
Spain, along with a very small selection of other countries like Poland, doesnโ€™t officially recognise the concept of credit or debit notes. Instead they use the concept of corrective or adjustment invoices whereby the amounts are displayed as differences from the original document. The two main types are:
  • Replacement Invoice (Factura Rectificativa por Sustituciรณn) known in GOBL with the invoice type corrective and completely replaces any previous documents.
  • Adjustment Invoice (Factura Rectificativa por Diferencias) reflected in GOBL as either a credit-note or debit-note invoice type that appends to the previous documents.
GOBL is a designed to be an international format, so when deciding the types we try to take the most common business concepts and map them to local requirements. A credit note by definition implies a deduction from the preceding invoice, so all totals and values must be positive. This can cause confusion in Spain, where most companies are accustomed to the local way of issuing invoices with negative totals.When converting GOBL to the local tax agency format (like VERI*FACTU XML in Spain), Invopop will automatically inverts the values in a credit-note to ensure that the agency receives what they are expecting, while at the same time maintaining global compatibility in the actual document. With these changes, PDF can now apply the same logic to invert the totals and change the text translations while maintaining the same underlying information.

Participate in our community

Ask and answer questions about PDF invoices โ†’