Billy

Description

This plugin helps you speed-up your billing process, from creating invoices or quotes, minimizing any potential errors to getting paid faster.
Create an electronic invoice, a quote or accounting records in just a matter of minutes with the block-based WordPress editor. Invoice numbers are generated automatically in unique and sequential order. For convenience reasons the totals of the table rows are calculated in What You See Is What You Get real-time.
Global settings like your name, your address, the invoice number format, tax rates and the currency can be defined in the Customizer. The post header can be branded with your logo. Any frontend styles will be inherited from the theme, so please make sure the theme installed on your site fully supports the Block editor.

Target group?

  • Freelancers and small agencies that need a billing suite which integrates seamlessly into their existing WordPress environment.

Compatible themes?

The plugin should work with any modern WordPress theme that supports the Block editor. Minor style modifications in the theme may be required.
Heads up: Please note that the main content area of the Single/Custom Post Template of your theme needs to be setup in “fullwidth” format. Having a sidebar may narrow the (invoice) table layout too much.

The following WordPress themes have been tested:

What’s included?

  • Invoices
  • Quotes
  • Accounting
  • Custom styles: Compatible with any WordPress theme that supports the Block editor
  • Custom Post types
  • Custom Blocks and Block templates
  • Set individual tax rates
  • WYSIWYG, Real-time calculation
  • Locale specific number formatting
  • Legally compliant: Unique and sequential invoice numbers
  • PDF-Export
  • Privacy by design: All information published will be made private by default and stays confidential as no data is being shared with third-parties
  • Dashboard widget
  • Multilingual: You can help translate the plugin into your language

Dependencies?

  • There are no third-party dependencies required and if you use the latest WordPress version with a block based WordPress theme you are good to go.

Contribution?

PRO Add-on

Please consider purchasing the premium add-on with the following features:
https://them.es/plugins/billy

  • Contact Management
  • Address book
  • Project Management: Kanban-style todos
  • Time tracking
  • Electronic invoices: Generate UBL-XML files
  • Enhanced invoices: Contact selector, Status selector, QR code generator for customized payment codes
  • Enhanced quotes: Contact selector, Status selector
  • Enhanced accounting: Autofilter, Autosync invoices
  • Share Invoices and Quotes via a password protected link
  • Update the current invoice/quote status
  • Overdue invoices get highlighted in the overview
  • Auto-create invoices from WooCommerce orders
  • Show upcoming birthdays in a dashboard widget
  • Admin columns
  • Useful stats and charts
  • WordPress Export Personal Data tool
  • Compatible with Polylang

Screenshots

  • Custom Post types
  • Global settings via Customizer
  • Dashboard widget
  • Editing an Invoice (Backend, TwentyTwenty theme)
  • Invoice (Frontend, TwentyTwenty theme)
  • Editing an Accounting table (Backend, TwentyTwenty theme)
  • Accounting table (Frontend, TwentyTwenty theme)

Blocks

This plugin provides 11 blocks.

  • Billy Blocks Header
  • Billy Blocks Theme Mod
  • Billy Blocks Table Totals
  • Billy Blocks Invoice Paymentinformation
  • Billy Blocks Invoice Number
  • Billy Blocks Invoice Date
  • Billy Blocks Invoice Duedate
  • Billy Blocks Quote Number
  • Billy Blocks Quote Information
  • Billy Blocks Quote Date
  • Billy Blocks Quote Validuntildate

Installation

  1. Upload the Plugin to the /wp-content/plugins/ directory.
  2. Activate it through the ‘Plugins’ menu in WordPress.
  3. (Optional) Activate the PRO add-on.
  4. Open the Customizer: Appearance > Customize > Billy [PRO]
  5. Add global data like your name, an address, currency, tax rates, etc.
  6. If you need to start with a specific invoice number you can modify the invoice number value.
  7. Go back to the Dashboard and customize the global Billy Header by adding your logo.
  8. Congrats. You can create your first invoice or quote now.

FAQ-e

Where can I find the developer documentation?

Are there any recommended third-party plugins?

Where can I get help?

The billing templates don’t look good in my theme

  • Please note that we can’t support you in getting individual themes customized. But if your theme supports the Block editor everything should work out of the box. Minor CSS changes may be required.
  • The plugin has been tested with the latest default WordPress themes and with some other major themes.

How can I style the billing templates?

  • This plugin uses core Gutenberg block styles – so your theme needs to support Gutenberg blocks.
  • All Billy templates are inheriting the styles of your theme. If required you can edit the style.css file of your theme or add custom CSS in the Customizer.

How do I create a PDF version of my invoices/quotes?

  • A PDF-Exporter is included.
  • If you need an exact copy of the screen version you can try the Print to PDF feature built into your operating system.

How do I create an UBL e-invoice?

  • This is only possible in the PRO add-on and considered “beta” support.
  • You can generate a XML that can be sent to third-parties for further processing.

Why do I see a 404 error page when trying to open an invoice/quote?

  • Billing information is sensitive data! Due to privacy reasons these posts cannot be made public which means that only authorized users have access. You need to be logged in to see private posts.
  • If you would like to share a post with others you need to use the Share Link option in the PRO add-on.

I need more features!

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Billy” is open source software. The following people have contributed to this plugin.

Contributors

“Billy” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Billy” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.9.3

  • Bugfix for post revisions: Don’t overwrite invoice and quote titles with current date on save
  • Make “fix_invoices” function public and add info with actual link to the dashboard widget instead of the JS console output
  • Confirm that a “fix_invoices” update has been executed
  • Upgrade third-party dependencies

1.9.2

  • Invoice and Quote number formatting: Use current date instead of post date if the post is unpublished
  • Dashboard widget: Remove output sanitization as this caused issues when meta data errors were found
  • Add a nonce verifiction to the undocumented “fix_invoices” function

1.9.1

  • Allow to disable Geocoding
  • Accounting: Move export button to the right and fix a PHP notice
  • Invoices/Quotes lookup: Fix a PHP notice if no posts have been published yet

1.9.0

  • Include an optional reference meta field in invoice post templates
  • Customizer: 1. Add new settings for email (default value is “admin_email”) and phone number, 2. Implement a Geocoder API (powered by nominatim.openstreetmap.org) which validates the address input and stores the geocoded data string in a new field for further processing
  • Change default currency code from “$” to “USD” (ISO 4217 format)
  • PDF generator: Optionally return the file instead of triggering a download
  • PDF: Add “DRAFT” watermark if the post has not been published yet
  • Redesign the post header and improve the way PDFs are previewed
  • Remove Print button which never was active in Chrome due to compatibility issues – users are adviced to print via the browser menu or via OS printing window shortcuts
  • Code refactoring with improvements to the load time
  • Renaming of some functions for consistency
  • Bumb minimum supported WordPress version to v6.0 (v6.5 is recommended!)
  • Update dependencies

1.8.2

  • Bugfix: Exclude all reusable footer blocks – not only the latest one – from PDF body
  • Show the current quote number in Dashboard widget
  • Add a blueprint.json
  • Tested up to WordPress 6.6 (beta)

1.8.1

  • Improve theme compatibility with Export tables
  • PDF footer: Include {DATE}, {EMAIL}, {SITETITLE} and {SITEICON} placeholders to output the post date, the admin email and the site title/icon
  • Show the current quote number in Editor sidebar panel

1.8.0

  • In general more possibilities to customize the look and feel
  • All Billy menu items are restructured and combined in a single dashboard menu
  • Always show [+] row appender in tables
  • Enhancement: Enabled the Synced Patterns core feature in invoice, quote and accounting tables to be able to create reusable blocks for products and services.
  • Bugfix: Make table rows in accounting table selectable again
  • Quotes: Optionally autoincrement numbers (like in invoices) and add a number prefix
  • Number prefixes: Include placeholders {YEAR}, {MONTH} and {DAY} to output the post date variables. Remove “#” fallback prefix from output.
  • Tables: Add top/bottom borders by default
  • Table data export: Improve handling of output
  • PDF generator: Improve unicode chars output
  • The PDF footer can now be fully customized via a reusable block – similar to the header. Heads up: Modifying the footer will also change the PDF output of existing posts!
  • Code refactoring: Add on_init action in “Billy” class. Combine setAttributes() requests in blocks where possible. Define a table export constant instead of the hardcoded post type lookup, Use document.title as export_table_to_tsv() filename.
  • Renamed some variables for consistency
  • Fixed some PHP linting warnings
  • Updated translation strings

1.7.4

  • Bugfix: Error loading font “Could not find PostScript font name”
  • Add them.es Starter FSE to tested Themes

1.7.3

  • Minor code refactoring
  • Add .l10n.php translation files to adopt performant translations (WordPress 6.5+)
  • Update dependencies

1.7.2

  • Minor code refactoring
  • Update dependencies
  • Tested up to WordPress 6.5

1.7.1

  • Bugfix: Custom meta deprecation warning
  • Allow to add classes in custom meta fields

1.7.0

  • Code refactoring with an upgrade to Block API v2
  • Bump supported WordPress version to 5.6+
  • Fix WSOD when saving a post that has not been modified

1.6.6

  • Restrict current_user_can() to users who can view/edit private posts
  • Add nonce validation to PDF generator
  • Hide Print button on Chrome
  • Code refactoring and minor style updates
  • Upgrade third-party dependencies
  • Tested with PHP 8.3

1.6.5

  • Enhancement: Update composer autoloader reference to fix a potential issue
  • Add Twenty Twenty-Four to tested Themes

1.6.4

  • Bugfix: Minor warning in Editor
  • Upgrade third-party dependencies
  • Tested up to WordPress 6.4

1.6.3

  • Tested in PHP 7.4 and updated composer.json to prevent a fatal error (Using PHP 8.0+ is still advised!)

1.6.2

  • Bugfix: React warning “Uncaught ReferenceError: editEntityRecord is not defined” in invoice meta
  • Upgrade third-party dependencies

1.6.1

  • Bugfix: React warnings “Cannot update a component while rendering a different component”
  • Deactivate mPDF simpleTables to allow full CSS support for tables (e.g. via manipulating Billy_PDF_Export::$pdfstyles)
  • PDF output: Less opinionated table styles
  • Minor updates in style-editor.css to format Block-Editor specific elements only

1.6.0

  • Refactoring and Code quality
  • Styling updates
  • Bugfix: Retrieve reusable Header block in current locale (Polylang, WPML)
  • New Sidebar panel with settings overview
  • Upgrade third-party dependencies
  • Tested up to WordPress 6.2

1.5.3

  • Minor style update in style-editor.css
  • Code quality
  • Documentation

1.5.2

  • Add an optional “subject” line in Custom Post type templates
  • CSS updates (Frontend and generated PDF)
  • Upgrade third-party dependencies

1.5.1

  • Improve table markup by replacing labels with and removing classNames
  • CSS updates (Frontend and generated PDF)
  • Minor bugfixes
  • Backwards compatibility

1.5.0

  • Code modernization: Replace Header CPT with a reusable block ensuring backwards compatibility
  • Cleanup
  • Minor style updates and UI improvements
  • Upgrade third-party dependencies
  • Compatibility with WordPress 6.1

1.4.1

  • Code modernization and Cleanup
  • Upgrade third-party dependencies

1.4.0

  • Removed iframe PDF viewer: Use WP native wp-block-file__embed instead
  • Add PDF preview before post content
  • Don’t make pre-header sticky
  • Invoices: Check if required meta data is missing (e.g. after an import) and provide a (hidden) tool to regenerate the meta data on all posts based on the current invoice number
  • Upgrade third-party dependencies

1.3.4

  • Numeric invoice numbers
  • Autoincrement invoice number function has been rewritten using get_previous_post()
  • Upgrade third-party dependencies

1.3.3

  • Enqueue frontend assets only when necessary
  • Upgrade third-party dependencies

1.3.2

  • Coding Standards
  • Compatibility with WordPress 5.8: Fix PHP notice in ‘block_categories’
  • Upgrade third-party dependencies

1.3.1

  • Compatibility with WordPress 5.7
  • Upgrade third-party dependencies

1.3.0

  • Refactoring
  • Minor style updates to improve PDF output
  • Removed PDF.js: Use browser internal PDF viewer via iframe instead
  • Upgrade third-party dependencies

1.2.3

  • Refactored Meta
  • Replaced two wrong Gettext domains

1.2.2

  • Code quality
  • Fixed misaligned label in Editor

1.2.1

  • PDF footer: Use the date on which the post was published instead of the current date

1.2.0

  • Allow more formatting options in descriptions: Replace RichText components with InnerBlocks components.
  • Style improvements to the PDF output
  • Tables: Vertical alignment “top”
  • Upgrade third-party dependencies

1.1.4

  • Minor compatibility update for WordPress 5.5+

1.1.3

  • Compatibility with WordPress 5.5

1.1.3

  • Minor updates: styles

1.1.1

  • Prevent TypeError in main.js

1.1.0

  • Embedded PDF files (PDF.js)
  • Make PDF Export class variables public so they can be modified by third parties
  • Minor style updates to the default PDF output

1.0.3

  • Dynamically set the PDF filename
  • Minor style updates to the PDF output

1.0.2

  • Internationalization
  • Readme updates

1.0.1

  • Minor update to the table row frontend view

1.0

  • Initial Release
  • Created a GitHub repository with all development sources