API Basics
Pay In Endpoints
- MoneyIn
- Subscription
- TokenStorage
- Invoice
- LineItem
- PaymentLink
- PaymentMethodDomain
- HostedPaymentPages
- Cloud
- Wallet: Apple Pay
Pay Out Endpoints
- MoneyOut
- Bill
Pay Ops Endpoints
- Templates
- Boarding
- Chargebacks and ACH Returns
- Entities
- Notification
- Query
- Statistic
- Export
- Import
Object Models
- Object Model References
Get Invoice
Retrieves a single invoice by ID.
GET
/
Invoice
/
{idInvoice}
curl --request GET \
--url https://api-sandbox.payabli.com/api/Invoice/{idInvoice} \
--header 'requestToken: <api-key>'
{
"invoiceId": 236,
"customerId": 4440,
"paypointId": 56,
"invoiceNumber": "INV-2345",
"invoiceDate": "10/25/2023",
"invoiceDueDate": "2024-07-01",
"invoiceType": 0,
"invoiceEndDate": "2024-07-01",
"invoiceStatus": 1,
"invoiceSentDate": "2025-10-19T00:00:00",
"lastPaymentDate": "2025-10-19T00:00:00",
"createdAt": "2022-07-01 15:00:01",
"frequency": "<string>",
"paymentTerms": "NET30",
"termsConditions": "<string>",
"notes": "<string>",
"tax": 2.05,
"discount": 10,
"invoiceAmount": 105,
"freightAmount": 10,
"dutyAmount": 0,
"purchaseOrder": "PO-345",
"invoicePaidAmount": 0,
"firstName": "<string>",
"lastName": "<string>",
"company": "<string>",
"shippingAddress1": "123 Walnut St",
"shippingAddress2": "STE 900",
"shippingCity": "Johnson City",
"shippingState": "TN",
"shippingZip": "37619",
"shippingCountry": "US",
"shippingEmail": "example@email.com",
"shippingPhone": "<string>",
"shippingFromZip": "30040",
"summaryCommodityCode": "501718",
"items": [
{
"itemProductCode": "M-DEPOSIT",
"itemProductName": "Materials deposit",
"itemDescription": "Deposit for materials.",
"itemCommodityCode": "010",
"itemUnitOfMeasure": "SqFt",
"itemCost": 5,
"itemQty": 1,
"itemMode": 0,
"itemCategories": [
"<string>"
],
"itemTotalAmount": 123,
"itemTaxAmount": 7,
"itemTaxRate": 0.075
}
],
"customer": {
"CustomerId": 4440,
"FirstName": "John",
"LastName": "Doe",
"CompanyName": "Sunshine LLC",
"CustomerNumber": "3456-7645A",
"BillingAddress1": "1111 West 1st Street",
"BillingAddress2": "Suite 200",
"BillingCity": "Miami",
"BillingState": "FL",
"BillingZip": "45567",
"BillingCountry": "US",
"BillingPhone": "5555555555",
"BillingEmail": "example@email.com",
"ShippingAddress1": "123 Walnut St",
"ShippingAddress2": "STE 900",
"ShippingCity": "Johnson City",
"ShippingState": "TN",
"ShippingZip": "37619",
"ShippingCountry": "US",
"AdditionalData": {
"key1": "value1",
"key2": "value2",
"key3": "value3"
},
"CreatedAt": "2022-07-01 15:00:01",
"customerId": 4440,
"customerStatus": 1,
"Identifiers": [
"\\\"firstname\\\"",
"\\\"lastname\\\"",
"\\\"email\\\"",
"\\\"customId\\\""
]
},
"paylinkId": "<string>",
"billEvents": [
{
"description": "TransferCreated",
"eventTime": "2023-07-05T22:31:06.8317486+00:00",
"refData": "<string>",
"extraData": {},
"source": "api"
}
],
"scheduledOptions": {
"includePaylink": true,
"includePdf": true
},
"paypointLegalname": "<string>",
"paypointDbaname": "<string>",
"paypointEntryname": "<string>",
"parentOrgName": "<string>",
"AdditionalData": {
"key1": "value1",
"key2": "value2",
"key3": "value3"
},
"documentsRef": {
"zipfile": "zx45.zip",
"filelist": [
{
"originalName": "<string>",
"zipName": "<string>"
}
]
}
}
Authorizations
Most endpoints require an organization
token. Some endpoints require an application
token, and those endpoints are noted.
Path Parameters
Invoice ID
Example:
23548884
Response
200
application/json
Success
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api-sandbox.payabli.com/api/Invoice/{idInvoice} \
--header 'requestToken: <api-key>'
{
"invoiceId": 236,
"customerId": 4440,
"paypointId": 56,
"invoiceNumber": "INV-2345",
"invoiceDate": "10/25/2023",
"invoiceDueDate": "2024-07-01",
"invoiceType": 0,
"invoiceEndDate": "2024-07-01",
"invoiceStatus": 1,
"invoiceSentDate": "2025-10-19T00:00:00",
"lastPaymentDate": "2025-10-19T00:00:00",
"createdAt": "2022-07-01 15:00:01",
"frequency": "<string>",
"paymentTerms": "NET30",
"termsConditions": "<string>",
"notes": "<string>",
"tax": 2.05,
"discount": 10,
"invoiceAmount": 105,
"freightAmount": 10,
"dutyAmount": 0,
"purchaseOrder": "PO-345",
"invoicePaidAmount": 0,
"firstName": "<string>",
"lastName": "<string>",
"company": "<string>",
"shippingAddress1": "123 Walnut St",
"shippingAddress2": "STE 900",
"shippingCity": "Johnson City",
"shippingState": "TN",
"shippingZip": "37619",
"shippingCountry": "US",
"shippingEmail": "example@email.com",
"shippingPhone": "<string>",
"shippingFromZip": "30040",
"summaryCommodityCode": "501718",
"items": [
{
"itemProductCode": "M-DEPOSIT",
"itemProductName": "Materials deposit",
"itemDescription": "Deposit for materials.",
"itemCommodityCode": "010",
"itemUnitOfMeasure": "SqFt",
"itemCost": 5,
"itemQty": 1,
"itemMode": 0,
"itemCategories": [
"<string>"
],
"itemTotalAmount": 123,
"itemTaxAmount": 7,
"itemTaxRate": 0.075
}
],
"customer": {
"CustomerId": 4440,
"FirstName": "John",
"LastName": "Doe",
"CompanyName": "Sunshine LLC",
"CustomerNumber": "3456-7645A",
"BillingAddress1": "1111 West 1st Street",
"BillingAddress2": "Suite 200",
"BillingCity": "Miami",
"BillingState": "FL",
"BillingZip": "45567",
"BillingCountry": "US",
"BillingPhone": "5555555555",
"BillingEmail": "example@email.com",
"ShippingAddress1": "123 Walnut St",
"ShippingAddress2": "STE 900",
"ShippingCity": "Johnson City",
"ShippingState": "TN",
"ShippingZip": "37619",
"ShippingCountry": "US",
"AdditionalData": {
"key1": "value1",
"key2": "value2",
"key3": "value3"
},
"CreatedAt": "2022-07-01 15:00:01",
"customerId": 4440,
"customerStatus": 1,
"Identifiers": [
"\\\"firstname\\\"",
"\\\"lastname\\\"",
"\\\"email\\\"",
"\\\"customId\\\""
]
},
"paylinkId": "<string>",
"billEvents": [
{
"description": "TransferCreated",
"eventTime": "2023-07-05T22:31:06.8317486+00:00",
"refData": "<string>",
"extraData": {},
"source": "api"
}
],
"scheduledOptions": {
"includePaylink": true,
"includePdf": true
},
"paypointLegalname": "<string>",
"paypointDbaname": "<string>",
"paypointEntryname": "<string>",
"parentOrgName": "<string>",
"AdditionalData": {
"key1": "value1",
"key2": "value2",
"key3": "value3"
},
"documentsRef": {
"zipfile": "zx45.zip",
"filelist": [
{
"originalName": "<string>",
"zipName": "<string>"
}
]
}
}