Use the InvoiceAhoy Plugin for Medusa to create stunning invoices for your MedusaJS store.
Use our Medusa plugin to create beautiful invoices with a few lines of code.
import InvoiceAhoy from 'invoiceahoy'
const ia = new InvoiceAhoy(token)
await ia.invoices.create({
"currency": "USD",
"issue_date": "2023-02-01",
"due_date": "2023-02-01",
"shipping_total": 0,
"notes": "Paid in full",
"business": {
"email": "accounts@blockbrain.com",
"name": "Block Brain Inc.",
"contact_name": "Accounts",
"tax_id": "9123456789",
"city": "Erie",
"postal_code": "92318-1385",
"locale": "8001",
"address_1": "96730 Adalberto Parkway",
"address_2": "Christinia Ramp",
"address_3": "Pennsylvania",
"country": "US",
"phone": "+995 (103) 506-7210",
"region": "Pennsylvania"
},
"customer": {
"email": "info@invoiceahoy.com",
"name": "Edmund Kreiger",
"address_1": "6920 Marks Burgs",
"address_2": "Shannon Path",
"city": "Lake Mintaburgh",
"postal_code": "85692",
"country": "US",
"phone": "+995 (103) 506-7210",
"region": "Oklahoma"
},
"payments": [
{
"processor_id": "Stripe",
"currency": "USD",
"amount": 3000,
"created_at": "2023-02-01T12:50:56.181Z",
"reference": "pi_3MWflmB9F5D01Z1r0UWVncXt",
"payment_type": "credit_card"
}
],
"items": [
{
"name": "Bundle All",
"quantity": 1,
"unit_price": 2679,
"total": 3000,
"discount_total": 0,
"sku": "sku_12890iohf309h",
"tax_total": 321,
"discount_rate": 0,
"tax": {
"name": "VAT",
"country": "US",
"rate": 12
}
}
],
"total": 3000,
"discount_total": 0
}
)
{
"id": "inv_acbcdeeae1730a75fb830bc26939cfa7",
"doc_number": "3",
"download_pdf": "https://downloads.invoiceahoy.com/ydaw55trt9/invoices/3.pdf",
"download_html": "https://downloads.invoiceahoy.com/ydaw55trt9/invoices/3.html",
"created_at": "2023-11-22T05:28:43.926Z"
}
Everything you need to send beautiful, compliant invoices from anywhere on the web.
A simple, elegant interface so you can start creating invoices in minutes.
Generate beautiful invoices that are compliant in all jurisdictions. We make sure all the required fields are present on the invoice.
Stay local by automatically translating invoices to your customer's language and locale.
Secure, encrypted storage for your documents so you can rest easy abd retrieve it at any time using the API.
Integrate into your favourite services using our easy API, SDKs, Plugins and platform integrations.
Pricing plans for teams of all sizes
Choose an affordable plan that’s packed with the best features for you.
The essentials to get started.
$0/month
Get startedMost popular
A plan that scales with your rapidly growing business.
$14/month
Get startedDedicated support and infrastructure for InvoiceAhoy.
$29/month
Get startedSign up for our newsletter.