Invoice
Create invoice
Changed onpost/invoices
Request
- Base URLhttps://api.helcim.com/v2
- URLhttps://api.helcim.com/v2/invoices
- AuthAPI key in header api-token
Request body
Example request
{
"currency": "CAD",
"lineItems": [
{
"description": "Red Hat",
"quantity": 10.5,
"price": 10.55,
"sku": "ITM1434"
}
],
"customerId": 123123,
"billingAddress": {
"name": "John Smith / Helcim",
"street1": "21 Jump Street",
"street2": "Suite 400",
"city": "Calgary",
"province": "AB",
"country": "CAN",
"postalCode": "H0H0H0",
"email": "john@example.com"
},
"shipping": {
"amount": 10.99,
"details": "Canada Post 1-day shipping",
"address": {
"name": "John Smith / Helcim",
"street1": "21 Jump Street",
"street2": "Suite 400",
"city": "Calgary",
"province": "AB",
"country": "CAN",
"postalCode": "H0H0H0",
"email": "john@example.com"
}
},
"pickup": {
"date": "2022-01-25 13:55:55",
"name": "Jane Smith"
},
"tax": {
"amount": 5.99,
"details": "GST 5%"
},
"discount": {
"amount": 10.99,
"details": "DISC100"
},
"type": "INVOICE",
"status": "DUE",
"convenienceFeeEnabled": true,
"tipAmount": 0.99,
"notes": "No vegetables please"
}Response
Successful
Example response
{
"invoiceId": 28658838,
"invoiceNumber": "INV1000",
"token": "4e71b0b71b032e8bd95097",
"type": "INVOICE",
"status": "DUE",
"currency": "CAD",
"customerId": 15301549,
"billingAddress": {
"name": "John Smith / Helcim",
"street1": "21 Jump Street",
"street2": "Suite 400",
"city": "Calgary",
"province": "AB",
"country": "CAN",
"postalCode": "H0H0H0",
"email": "john@example.com"
},
"shipping": {
"amount": 10.99,
"details": "Canada Post 1-day shipping",
"address": {
"name": "John Smith / Helcim",
"street1": "21 Jump Street",
"street2": "Suite 400",
"city": "Calgary",
"province": "AB",
"country": "CAN",
"postalCode": "H0H0H0",
"email": "john@example.com"
}
},
"pickup": {
"date": "2022-01-25 13:55:55",
"name": "Jane Smith"
},
"tax": {
"amount": 5.99,
"details": "GST 5%"
},
"discount": {
"amount": 10.99,
"details": "DISC100"
},
"lineItems": [
{
"description": "Red Hat",
"quantity": 10.5,
"price": 10.55,
"sku": "ITM1434"
}
],
"dateCreated": "2025-06-20 13:05:03",
"dateUpdated": "2025-06-20 13:05:03",
"datePaid": "0000-00-00 00:00:00",
"dateIssued": "2025-06-20 13:05:03",
"amount": 127.48,
"amountDue": 127.48,
"tipAmount": 0.99,
"orderFields": [
{
"displayName": "Table Number",
"value": "44B"
}
],
"notes": "No vegetables please"
}Changes
- breaking
the
//request property format changed from no format tofloat - breaking
the
//request property format changed from no format tofloat - breaking
the
//request property format changed from no format tofloat - breaking
the
//request property format changed from no format tofloat - breaking
removed the required property
//from the response with the status - warning
removed the request property
//
- breaking