📃 Mockoon pre-generated templates

Make API development a breeze with our comprehensive library of JSON templates, designed to help you prototype and learn faster in Mockoon.

List of invoices

Copy
[ {{#repeat 10}} { "id": "{{faker 'string.uuid'}}", "invoiceNumber": "{{faker 'number.int' max=99999}}", "customerName": "{{faker 'person.firstName'}} {{faker 'person.lastName'}}", "customerEmail": "{{faker 'internet.email'}}", "billingAddress": { "street": "{{faker 'location.streetAddress'}}", "city": "{{faker 'location.city'}}", "state": "{{faker 'location.stateAbbr'}}", "zip": "{{faker 'location.zipCode'}}" }, "items": [ {{#repeat (faker 'number.int' min=1 max=5)}} { "id": "{{faker 'string.uuid'}}", "name": "{{faker 'commerce.productName'}}", "quantity": {{faker 'number.int' max=99999}}, "price": {{faker 'commerce.price'}} } {{/repeat}} ], "subtotal": {{faker 'commerce.price'}}, "tax": {{faker 'number.int' min=5 max=10}}, "total": {{faker 'commerce.price'}}, "paid": {{faker 'datatype.boolean'}} } {{/repeat}} ]

This template streamlines the process of generating random invoices, complete with details such as invoice number, customer name, email, billing address, items, subtotal, tax, total, and paid status. Its primary utility lies in testing invoicing-related features within applications, serving as a valuable tool for accounting and billing systems. Beyond its immediate testing function, it offers the flexibility to simulate a database of invoices. By providing diverse entries, it enables developers to evaluate application performance across various invoicing scenarios, ensuring robustness and reliability. These data are perfect to prototype or serve as sample data for applications like accounting software, billing systems, and invoicing platforms.