Ideal for streamlining AR workflows, tracking outstanding invoices, and improving payment collection efficiency.
curl --location 'https://staginggateway.fintainium.com/gateway/createInvoice' \
--header 'sessionKey: z4FEVD7d2SVGG0B8QF1rXUTMqzUDncOT' \
--header 'Content-Type: application/json' \
--data-raw '{
"businessId": "3295462",
"internalId": "110033",
"createInvoice": [
{
"invoiceNumber": "ABCD-Test",
"invoiceDate": "2024-12-18",
"invoiceDueDate": "2024-12-28",
"invoicePO": "",
"emailAddress": "playpay-test13@yopmail.com",
"term": "Net 30",
"invoiceItems": [
{
"itemId": "1122",
"name": "item name",
"serviceDate": "",
"description": "",
"quantity": "1.00",
"unitPrice": 4.00,
"classId": "",
"class": ""
}
]
}
]
}'[
{
"id": 4445368,
"invoiceNumber": "ABCD-Test",
"term": "Net 30",
"totalAmount": 4,
"revisedTotalAmount": 4,
"subTotal": 4,
"taxableSubTotal": 4,
"effectiveSubTotal": 4,
"finalAmount": 4,
"invoiceState": "DRAFT",
"invoiceType": "RECEIVABLE",
"isDuplicate": true,
"isWorkflowEnabled": "D",
"duplicateInvoiceId": 4445362,
"invoiceDate": "12/18/2024",
"invoiceDueDate": "12/28/2024",
"revisedInvoiceDueDate": "12/28/2024",
"createdDate": "12/18/2024 12:31:48",
"lastModifiedDate": "12/18/2024 12:31:48",
"customerVendorId": 4311893,
"businessName": "Super Coffee Co.",
"businessEmail": "tjx01@getnada.com",
"businessAddress1": "47 W 13th St",
"businessZipcode": "10011",
"businessPhone": "1 416-447-7088",
"businessCountryName": "United States",
"businessStateName": "New York",
"businessStateCode": "NY",
"businessCityName": "New York",
"isVcEnabled": "true",
"invoiceItems": [
{
"id": 4445369,
"name": "item name",
"quantity": 1,
"unitPrice": 4,
"subtotal": 4,
"itemRefType": "ITEM"
}
],
"customerVendor": {
"id": 4311893,
"companyName": "Test Customer 2",
"firstName": "Test Customer",
"lastName": "Test Customer",
"paymentMode": "ACH",
"businessId": 3295462,
"businessName": "Super Coffee Co.",
"internalId": "110033",
"isCustomer": true,
"createdDate": "11/14/2024"
},
"uploadType": "Bill",
"showDiscountFlag": true,
"isFileAttachmentAvailable": true,
"fileAttachments": [
{
"id": 4445371,
"fileName": "Invoice_ABCD-Test.pdf",
"fileURL": "https://s3.us-west-2.amazonaws.com/stagingachprocess/INVOICE/Attachments/AR/1734543108616-Invoice_ABCD-Test.pdf",
"documentFormat": "application/pdf",
"documentType": "INVOICE",
"createdDate": "12/18/2024",
"userId": 37177,
"fileSize": 2228,
"pageCount": 1,
"isSendEmail": true,
"createdDateAndTime": "12/18/2024 12:31:48"
}
],
"isOverdueFromOpen": true,
"scheduledPaymentDate": "12/23/2024"
}
]