Skip to content

Commit

Permalink
Invoice blog
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Oct 23, 2024
1 parent b7aaeed commit 1cc7f4a
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions apps/website/src/app/updates/posts/invoice-pdf.mdx
Original file line number Diff line number Diff line change
@@ -1,51 +1,50 @@
---
title: "Invoice - generating PDFs"
title: "Generating PDF Invoices: Our Approach"
publishedAt: "2024-10-23"
summary: "We are excited to announce the launch of Apps in the Midday. You can now easily connect your favorite tools to streamline your workflow."
summary: "Discover how we're implementing PDF invoice generation in Midday, using React-based solutions for customizable, efficient document creation."
image: "/images/update/invoice-pdf/pdf.jpg"
tag: "Updates"
---

With our upcoming Invoicing feature, we have explored different ways to generate PDF invoices, everything from running Pupper to using a headless browser on Cloudflare, to paid services and generating PDFs using React.
With our upcoming Invoicing feature, we have explored various methods to generate PDF invoices, ranging from running Puppeteer to using a headless browser on Cloudflare, as well as considering paid services and generating PDFs using React.

<br />
We noticed from the comunity that this is a common question on how to generate PDF invoices, so we decided to share our solution with you.
We've noticed that generating PDF invoices is a common challenge in the developer community, so we decided to share our solution with you.
<br />


## Invoice in Midday
![PDF Invoices](/images/update/invoice-pdf/invoice.jpg)
<br />
We are building a new experience for invoices in Midday. You will be able to create and send invoices to your customers, and generate PDFs for each invoice.
We are building a new experience for invoices in Midday. You'll be able to create and send invoices to your customers, as well as generate PDFs for each invoice.

<br />

Our interface is highly customizable with a visual editor where you can easily change the layout, add your logo, and customize the text to your liking.
Our interface is highly customizable with a visual editor where you can easily change the layout, add your logo, and tailor the text to your preferences.

<br />

We use an editor based on Tiptap to support rich text, AI genearation for grammar and improvin text with just one click.
We use an editor based on Tiptap to support rich text, with AI-powered grammar checking and text improvement available at the click of a button.

<br />

While the editor saves the content using JSON, we also need a way to make this work with our PDF generation.
While the editor saves the content using JSON, we also needed to ensure compatibility with our PDF generation process.

<br/>

When you have sent an invoice to a customer, they will recive a email with a unique link to the invoice. When they click on the link, it will render the invoice in a web page where you and the
customer can communicate in realtime using our chat interface.
When you send an invoice to a customer, they will receive an email with a unique link to the invoice. Clicking this link will render the invoice on a web page where you and the
customer can communicate in real-time using our chat interface.

<br />

You will also know if the customer has viewed the invoice and if they have any questions about the invoice.
You'll also be able to track when the customer has viewed the invoice and if they have any questions about it.

<br />

## PDF Generation
![PDF Invoices](/images/update/invoice-pdf/pdf-invoice.jpg)
<br />

There are many ways to generate PDFs, and we have looked into many different solutions. We have also looked into paid services, but we wanted to make sure to give you full control over the invoices and not rely on another service.
There are numerous ways to generate PDFs, and we've explored many different solutions. While we considered paid services, we ultimately decided to prioritize giving you full control over the invoices without relying on external services.

<br />

Expand Down

0 comments on commit 1cc7f4a

Please sign in to comment.