Dev

Invoice Terminology

May 06, 2014

After creating the invoice model and provided it with its own table section, I started integrating it into the rest of the sections. The projects section now has a column for paid and unpaid invoice amounts as well as a footer under each table for the sums. For the paid/unpaid attribute, I researched a few of the services I plan to integrate with and looked at how they represent this in their invoice model. Each one has a status for invoices, with half a dozen options:

Harvest open, partial, draft, paid, unpaid, past due

Freshbooks disputed, draft, sent, viewed, paid, auto-paid, retry, failed

Dayswork unresolved, paid, uncollectable

Again, like with the project statuses, no one can agree on a set of common statuses to use, so we have a long list of unique ones per service. Since these are all services where you can create invoices and track them on a granular level, they need the specific statuses, like draft, viewed, etc. I have absolutely no plans for invoice creation in Cushion, so I have it easier when it comes to statuses. What I really want to know is whether or not an invoice has been paid.

2014-05-05-invoices

Originally, I created a boolean paid attribute and used that as an indicator. After separating the invoices section into two tables, “paid” and “unpaid”, I noticed this boolean wouldn’t suffice—I needed more relevant data. For instance, in the paid table, I no longer need the “due” column—I’d much rather see when invoices were paid. Considering this, I changed the paid attribute to a date, called paid_on. This gives me the date on which the invoice was paid and an easy indicator of whether it was paid or not (true if the date is set).

I’m excited about the invoice portion of the app because every service provides so much useful data. For now, I plan to condense it into something easier to digest, but down the road, there is so much I can do with it.

Share this on Twitter or Facebook

Archive

  1. Our First Company Lunch
    Story
  2. How to embed Vue.js & Vuex inside an AngularJS app... wait what?
    Dev
  3. Funding Cushion
    Story
  4. Hiring a Team of Freelancers
    Story
  5. Taking a Real Break From Work
    Story
  6. Slack as a Notification Center
    Dev
  7. Document Your Features
    Story
  8. 300
    Story
  9. Vacations
    Design
  10. Offering Discounts
    Design
  11. Waves of Traffic
    Story
  12. Less Blogging, More Journaling
    Story
  13. Retention Through Useful Features
    Design
  14. The Onboarding Checklist
    Design
  15. Spreading the Word
    Story
  16. From Beta to Launch - The Subdomain
    Dev
  17. From Beta to Launch - Sign up
    Design
  18. From Beta to Launch - Messaging
    Design
  19. Launch
    Story
  20. Authenticating with 3rd Party Services
    Dev
  21. Intro to Integrations
    Design
  22. Inspiration vs Imitation
    Story
  23. The Emotional Rollercoaster
    Story
  24. Designing Project Blocks
    Design
  25. Everything in Increments
    Story
  26. Deleting Your Account
    Design
  27. Designing the Subscription Page
    Design
  28. Rewriting the Timeline
    Dev
  29. Restructuring the Individual Project Page
    Design
  30. Project Blocks
    Story
  31. Redesigning the Homepage
    Design
  32. Multiple Timelines
    Design
  33. Archiving and Estimate Differences
    Design
  34. Multiple Financial Goals
    Design
  35. Zooming in on the Timeline
    Design
  36. Currency
    Dev
  37. Preferences, Accounts, and a Typeface Change
    Design
  38. Sending Out the First Email
    Story
  39. Currency Inputs, Notifications, and Invoice Nets
    Design
  40. Dots and Lines
    Design
  41. Calculating in the Database and Revealing Tendencies
    Dev
  42. Improved Form UX
    Design
  43. Cushion is Online
    Story
  44. Schedule Timeline Patterns
    Design
  45. A Slimmer Schedule Timeline
    Design
  46. The Schedule Timeline
    Design
  47. Plugging in Real Data for the First Time
    Design
  48. Transitions and Project Lists
    Design
  49. Death to Modals
    Design
  50. The Individual Project Page
    Design
  51. Estimated Incomes and Talks with Other Freelancers
    Story
  52. Statuses to Lists and the Paid Beta
    Story
  53. The Timeline
    Story
  54. Invoice Terminology
    Dev
  55. Modal Forms
    Dev
  56. Wiring the Backend to the Frontend
    Dev
  57. Balancing Design and Dev
    Story
  58. Timecop, Monocle, and Vagrant
    Dev
  59. Going with Ruby and Sinatra
    Dev
  60. Ditching local-first and trying out Node.js
    Dev
  61. Switching to AngularJS
    Dev
  62. Building the Table with Vue.js
    Dev
  63. Clients, Projects, and Invoices
    Dev
  64. Introduction
    Story

Ask a Freelancer

A podcast series where experienced freelancers answer questions about freelancing.

Listen to the Podcast

Talking Shop

An interview series where we talk to freelancers about important topics in the freelance world.

Read the Interviews

Running Costs

Take a close look at the costs that go into running a web app and why we use specific services.

View the Costs

How It’s Made

Follow along with the journal for insight into the overall experience of building an app.

Read the Journal