TAG LINE
TAG LINE
SMALL TITLE

Invoice

(API Version v6)


This entity represents an Invoice on an Account with related details.


What can you do with Invoice?


Properties

Property Details
identity
READ-ONLY
"identity": 16
Type: Number
This is the unique numeric identifier for the Invoice
accountId
"accountId": 4
Type: Number
Unique identifier for the associated Account object.
accountName
"accountName": "Sample Name"
Type: String
The name of the object associated with the accountId property.
name
"name": "Hello World"
Type: String
The system generated invoice identifier/number.
date
"date": "2021-04-26T15:25:27.587Z"
Type: Date
The Date Time stamp to appear on the Invoice.

Date and time values are specified in the ISO 8601 format.
sent
"sent": "2021-04-26T15:25:27.587Z"
Type: Date
The Date Time stamp for when this Invoice was sent to the Account Contact.

Date and time values are specified in the ISO 8601 format.
due
"due": "2021-04-26T15:25:27.587Z"
Type: Date
The Date Time for when this Invoice payment is due.

Date and time values are specified in the ISO 8601 format.
lastChecked
"lastChecked": "2021-04-26T15:25:27.587Z"
Type: Date
Date and time values are specified in the ISO 8601 format.
invoiceStatusTypeId
"invoiceStatusTypeId": 23
Type: Number
Unique identifier for the associated InvoiceStatusType object.
invoiceStatusTypeName
"invoiceStatusTypeName": "Sample Name"
Type: String
The name of the object associated with the invoiceStatusTypeId property.
processed
"processed": "2021-04-26T15:25:27.587Z"
Type: Date
Date and time values are specified in the ISO 8601 format.
billRunHistoryId
"billRunHistoryId": 24
Type: Number
Unique identifier for the associated BillRunHistory object.
billRunHistoryName
"billRunHistoryName": "Sample Name"
Type: String
The name of the object associated with the billRunHistoryId property.
previousBalance
"previousBalance": 102.52
Type: Number
The balance of the Account that was carried forward.
balance
"balance": 202.52
Type: Number
The current outstanding balance of this Invoice.
created
READ-ONLY
"created": "2021-04-26T15:25:27.587Z"
Type: Date
This is a system generated date when the record was created. Date and time values are specified in the ISO 8601 format.
closed
"closed": "2021-04-26T15:25:27.587Z"
Type: Date
The Date Time stamp for when this Invoice was closed.

Date and time values are specified in the ISO 8601 format.
total
"total": 100.15
Type: Number
The grand total of the Invoice.
totalCharge
"totalCharge": 100.15
Type: Number
The total new charges for the Invoice.
totalTax
"totalTax": 12.15
Type: Number
The sum of all the taxes for the Invoice.
totalDiscount
"totalDiscount": 10.36
Type: Number
The sum of all the discounts for the Invoice.
totalPaymentApplied
"totalPaymentApplied": 12.36
Type: Number
The total amount of payment that has been disbursed to this Invoice.
totalCreditApplied
"totalCreditApplied": 11.36
Type: Number
The total amount of credits that have been disbursed to this Invoice.
totalPaymentAttached
"totalPaymentAttached": 7.36
Type: Number
The total amount of payment that should be shown on this Invoice.
totalCreditAttached
"totalCreditAttached": 5.34
Type: Number
The total amount of credits that should be shown on this Invoice.
baseTotal
"baseTotal": 100.15
Type: Number
The total of the Invoice converted to Owner/base currency.
baseTotalCharge
"baseTotalCharge": 100.15
Type: Number
The total new charges for the Invoice converted to Owner/base currency.
baseTotalDiscount
"baseTotalDiscount": 10.36
Type: Number
The sum of all the discounts for the Invoice converted to Owner/base currency.
baseTotalPaymentApplied
"baseTotalPaymentApplied": 12.36
Type: Number
The total amount of payment that has been disbursed to this Invoice converted to Owner/base currency.
baseTotalCreditApplied
"baseTotalCreditApplied": 11.36
Type: Number
The total amount of credits that have been disbursed to this Invoice converted to Owner/base currency.
baseTotalPaymentAttached
"baseTotalPaymentAttached": 7.36
Type: Number
The total amount of payment that should be shown on this Invoice converted to Owner/base currency.
baseTotalCreditAttached
"baseTotalCreditAttached": 5.34
Type: Number
The total amount of credits that should be shown on this Invoice converted to Owner/base currency.
baseBalance
"baseBalance": 5.34
Type: Number
The current outstanding balance of this Invoice converted to Owner/base currency.
baseTotalTax
"baseTotalTax": 12.15
Type: Number
The sum of all the taxes for the Invoice converted to Owner/base currency.
basePreviousBalance
"basePreviousBalance": 102.52
Type: Number
The balance of the Account that was carried forward converted to Owner/base currency.
isVoid
"isVoid": true
Type: Boolean
Whether or not this Invoice has been voided.
isVoiding
"isVoiding": true
Type: Boolean
Whether or not this Invoice is the newly generated Invoice that offsets a voided invoice.
doNotDeliver
"doNotDeliver": true
Type: Boolean


End Points

GETInvoice/
Retrieve all of the Invoice objects.
Retrieve all of the Invoice objects.
GET Invoice/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "accountId": 23,
            "accountName": "Sample Text Data",
            "name": "Sample Text Data",
            "date": "2021-04-26T15:25:27.587Z",
            "sent": "2021-04-26T15:25:27.587Z",
            "due": "2021-04-26T15:25:27.587Z",
            "lastChecked": "2021-04-26T15:25:27.587Z",
            "invoiceStatusTypeId": 1,
            "invoiceStatusTypeName": "Sample Text Data",
            "processed": "2021-04-26T15:25:27.587Z",
            "billRunHistoryId": 12,
            "billRunHistoryName": "Sample Text Data",
            "previousBalance": 102.52,
            "balance": 202.52,
            "created": "2021-04-26T15:25:27.587Z",
            "closed": "2021-04-26T15:25:27.587Z",
            "total": 100.15,
            "totalCharge": 100.15,
            "totalTax": 12.15,
            "totalDiscount": 10.36,
            "totalPaymentApplied": 12.36,
            "totalCreditApplied": 11.36,
            "totalPaymentAttached": 7.36,
            "totalCreditAttached": 5.34,
            "baseTotal": 100.15,
            "baseTotalCharge": 100.15,
            "baseTotalDiscount": 10.36,
            "baseTotalPaymentApplied": 12.36,
            "baseTotalCreditApplied": 11.36,
            "baseTotalPaymentAttached": 7.36,
            "baseTotalCreditAttached": 5.34,
            "baseBalance": 5.34,
            "baseTotalTax": 12.15,
            "basePreviousBalance": 102.52,
            "isVoid": true,
            "isVoiding": true,
            "doNotDeliver": true
        }
    ]
}
GETInvoice/Paged
Retrieve all of the Invoice objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the Invoice objects in a paged fashion.
GET Invoice/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 15,
                "accountName": "Sample Text Data",
                "name": "Sample Text Data",
                "date": "2021-04-26T15:25:27.587Z",
                "sent": "2021-04-26T15:25:27.587Z",
                "due": "2021-04-26T15:25:27.587Z",
                "lastChecked": "2021-04-26T15:25:27.587Z",
                "invoiceStatusTypeId": 0,
                "invoiceStatusTypeName": "Sample Text Data",
                "processed": "2021-04-26T15:25:27.587Z",
                "billRunHistoryId": 25,
                "billRunHistoryName": "Sample Text Data",
                "previousBalance": 102.52,
                "balance": 202.52,
                "created": "2021-04-26T15:25:27.587Z",
                "closed": "2021-04-26T15:25:27.587Z",
                "total": 100.15,
                "totalCharge": 100.15,
                "totalTax": 12.15,
                "totalDiscount": 10.36,
                "totalPaymentApplied": 12.36,
                "totalCreditApplied": 11.36,
                "totalPaymentAttached": 7.36,
                "totalCreditAttached": 5.34,
                "baseTotal": 100.15,
                "baseTotalCharge": 100.15,
                "baseTotalDiscount": 10.36,
                "baseTotalPaymentApplied": 12.36,
                "baseTotalCreditApplied": 11.36,
                "baseTotalPaymentAttached": 7.36,
                "baseTotalCreditAttached": 5.34,
                "baseBalance": 5.34,
                "baseTotalTax": 12.15,
                "basePreviousBalance": 102.52,
                "isVoid": true,
                "isVoiding": true,
                "doNotDeliver": true
            }
        ]
    }
}
GETInvoice/Paged/Detail
Retrieve all of the Invoice objects in a paged fashion with all object details. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
Retrieve all of the Invoice objects in a paged fashion with all object details.
GET Invoice/Paged/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 15,
                "accountName": "Sample Text Data",
                "name": "Sample Text Data",
                "date": "2021-04-26T15:25:27.587Z",
                "sent": "2021-04-26T15:25:27.587Z",
                "due": "2021-04-26T15:25:27.587Z",
                "lastChecked": "2021-04-26T15:25:27.587Z",
                "invoiceStatusTypeId": 26,
                "invoiceStatusTypeName": "Sample Text Data",
                "processed": "2021-04-26T15:25:27.587Z",
                "billRunHistoryId": 9,
                "billRunHistoryName": "Sample Text Data",
                "previousBalance": 102.52,
                "balance": 202.52,
                "created": "2021-04-26T15:25:27.587Z",
                "closed": "2021-04-26T15:25:27.587Z",
                "total": 100.15,
                "totalCharge": 100.15,
                "totalTax": 12.15,
                "totalDiscount": 10.36,
                "totalPaymentApplied": 12.36,
                "totalCreditApplied": 11.36,
                "totalPaymentAttached": 7.36,
                "totalCreditAttached": 5.34,
                "baseTotal": 100.15,
                "baseTotalCharge": 100.15,
                "baseTotalDiscount": 10.36,
                "baseTotalPaymentApplied": 12.36,
                "baseTotalCreditApplied": 11.36,
                "baseTotalPaymentAttached": 7.36,
                "baseTotalCreditAttached": 5.34,
                "baseBalance": 5.34,
                "baseTotalTax": 12.15,
                "basePreviousBalance": 102.52,
                "isVoid": true,
                "isVoiding": true,
                "doNotDeliver": true,
                "details": {
                    "taxSummary": [
                        {
                            "identity": 7,
                            "invoiceId": 41,
                            "invoiceName": "Sample Text Data",
                            "taxCodeId": 30,
                            "taxCodeName": "Sample Text Data",
                            "taxRateId": 0,
                            "taxRateName": "Sample Text Data",
                            "amount": 71.2,
                            "baseAmount": 66.8,
                            "invoiceAmount": 54.02,
                            "amountReportable": 39.44,
                            "baseAmountReportable": 52.63,
                            "invoiceAmountReportable": 86.91,
                            "taxableInvoiceAmount": 38.25
                        }
                    ],
                    "invoiceHistory": [
                        {
                            "identity": 39,
                            "invoiceId": 32,
                            "invoiceName": "Sample Text Data",
                            "date": "2021-04-26T15:25:27.587Z",
                            "action": "Sample Text Data",
                            "userId": 5,
                            "userName": "Sample Text Data",
                            "billRunHistoryId": 73,
                            "billRunHistoryName": "Sample Text Data"
                        }
                    ],
                    "invoiceItems": [
                        {
                            "identity": 36,
                            "accountId": 36,
                            "accountName": "Sample Text Data",
                            "packageId": 86,
                            "packageName": "Sample Text Data",
                            "serviceId": 79,
                            "serviceName": "Sample Text Data",
                            "amount": 37.02,
                            "detail": "Sample Text Data",
                            "periodStart": "2021-04-26T15:25:27.587Z",
                            "periodEnd": "2021-04-26T15:25:27.587Z",
                            "prorated": true,
                            "date": "2021-04-26T15:25:27.587Z",
                            "accountPackageName": "Sample Text Data",
                            "accountServiceName": "Sample Text Data",
                            "posting": "2021-04-26T15:25:27.587Z",
                            "invoiceId": 25,
                            "invoiceName": "Sample Text Data",
                            "invoiceItemTypeId": 62,
                            "invoiceItemTypeName": "Sample Text Data",
                            "baseAmount": 13.69,
                            "invoiceAmount": 46.09,
                            "invoiceCurrencyExchangeDetailId": 28,
                            "originalInvoiceItemId": 87,
                            "isManual": true,
                            "createdByUserId": 22,
                            "createdByUserName": "Sample Text Data",
                            "udrUsageIdentifier": "Sample Text Data",
                            "quantity": 99,
                            "price": 6.77,
                            "generalLedgerId": 19,
                            "generalLedgerName": "Sample Text Data",
                            "serviceTaxCategoryId": 3,
                            "serviceTaxCategoryName": "Sample Text Data",
                            "preDiscountAmount": 47.42,
                            "isTaxInclusive": true,
                            "baseInvoiceItemTypeId": 85,
                            "baseInvoiceItemTypeName": "Sample Text Data",
                            "unitAmount": 28,
                            "details": {
                                "taxes": [
                                    {
                                        "identity": 47,
                                        "invoiceItemId": 56,
                                        "amount": 3.77,
                                        "taxRateId": 29,
                                        "taxRateName": "Sample Text Data",
                                        "taxCodeId": 44,
                                        "taxCodeName": "Sample Text Data",
                                        "accountTaxCategoryId": 71,
                                        "accountTaxCategoryName": "Sample Text Data",
                                        "baseAmount": 69.89,
                                        "invoiceAmount": 84.08,
                                        "amountReportable": 82.4,
                                        "baseAmountReportable": 3.87,
                                        "invoiceAmountReportable": 50.19,
                                        "serviceTaxCategoryId": 40,
                                        "serviceTaxCategoryName": "Sample Text Data"
                                    }
                                ],
                                "discounts": [
                                    {
                                        "identity": 30,
                                        "invoiceItemId": 75,
                                        "amount": 35.74,
                                        "accountPackageServiceStatusDiscountId": 87,
                                        "baseAmount": 98.12,
                                        "invoiceAmount": 59.88,
                                        "generalLedgerId": 44,
                                        "generalLedgerName": "Sample Text Data",
                                        "discountAmountId": 49
                                    }
                                ],
                                "creditDisbursements": [
                                    {
                                        "identity": 80,
                                        "invoiceId": 9,
                                        "invoiceName": "Sample Text Data",
                                        "amount": 47.48,
                                        "invoiceItemId": 35,
                                        "baseAmount": 67.58,
                                        "invoiceAmount": 60.22,
                                        "automaticDisburse": true
                                    }
                                ],
                                "creditItem": {
                                    "identity": 91,
                                    "invoiceItemId": 49,
                                    "showOnInvoice": true,
                                    "showOnCreditNote": true,
                                    "creditNoteId": 53,
                                    "creditNoteName": "Sample Text Data",
                                    "disbursed": true,
                                    "automaticDisburse": true
                                },
                                "reversals": [
                                    {
                                        "identity": 85,
                                        "accountId": 99,
                                        "accountName": "Sample Text Data",
                                        "packageId": 33,
                                        "packageName": "Sample Text Data",
                                        "serviceId": 64,
                                        "serviceName": "Sample Text Data",
                                        "amount": 1.8900000000000001,
                                        "detail": "Sample Text Data",
                                        "periodStart": "2021-04-26T15:25:27.587Z",
                                        "periodEnd": "2021-04-26T15:25:27.587Z",
                                        "prorated": true,
                                        "date": "2021-04-26T15:25:27.587Z",
                                        "accountPackageName": "Sample Text Data",
                                        "accountServiceName": "Sample Text Data",
                                        "posting": "2021-04-26T15:25:27.587Z",
                                        "invoiceId": 52,
                                        "invoiceName": "Sample Text Data",
                                        "invoiceItemTypeId": 8,
                                        "invoiceItemTypeName": "Sample Text Data",
                                        "baseAmount": 66.91,
                                        "invoiceAmount": 27.52,
                                        "invoiceCurrencyExchangeDetailId": 68,
                                        "originalInvoiceItemId": 74,
                                        "isManual": true,
                                        "createdByUserId": 64,
                                        "createdByUserName": "Sample Text Data",
                                        "udrUsageIdentifier": "Sample Text Data",
                                        "quantity": 37,
                                        "price": 58.74,
                                        "generalLedgerId": 74,
                                        "generalLedgerName": "Sample Text Data",
                                        "serviceTaxCategoryId": 34,
                                        "serviceTaxCategoryName": "Sample Text Data",
                                        "preDiscountAmount": 59.8,
                                        "isTaxInclusive": true,
                                        "baseInvoiceItemTypeId": 35,
                                        "baseInvoiceItemTypeName": "Sample Text Data",
                                        "unitAmount": 99.1
                                    }
                                ]
                            }
                        }
                    ],
                    "reportAttachments": [
                        {
                            "identity": 85,
                            "reportDefinitionId": 62,
                            "reportDefinitionName": "Sample Text Data",
                            "reportStorageId": 81,
                            "reportContentTypeId": 85,
                            "reportContentTypeName": "Sample Text Data",
                            "start": "2021-04-26T15:25:27.587Z",
                            "complete": "2021-04-26T15:25:27.587Z",
                            "reportStorageStatusTypeId": 41,
                            "reportStorageStatusTypeName": "Sample Text Data"
                        }
                    ]
                }
            }
        ]
    }
}
GETInvoice/{id}
Retrieve an instance of the Invoice object by its ID.
{id}Unique identifier for the Invoice object.
Retrieve an instance of the Invoice object by its ID.
GET Invoice/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "accountId": 0,
        "accountName": "Sample Text Data",
        "name": "Sample Text Data",
        "date": "2021-04-26T15:25:27.587Z",
        "sent": "2021-04-26T15:25:27.587Z",
        "due": "2021-04-26T15:25:27.587Z",
        "lastChecked": "2021-04-26T15:25:27.587Z",
        "invoiceStatusTypeId": 27,
        "invoiceStatusTypeName": "Sample Text Data",
        "processed": "2021-04-26T15:25:27.587Z",
        "billRunHistoryId": 26,
        "billRunHistoryName": "Sample Text Data",
        "previousBalance": 102.52,
        "balance": 202.52,
        "created": "2021-04-26T15:25:27.587Z",
        "closed": "2021-04-26T15:25:27.587Z",
        "total": 100.15,
        "totalCharge": 100.15,
        "totalTax": 12.15,
        "totalDiscount": 10.36,
        "totalPaymentApplied": 12.36,
        "totalCreditApplied": 11.36,
        "totalPaymentAttached": 7.36,
        "totalCreditAttached": 5.34,
        "baseTotal": 100.15,
        "baseTotalCharge": 100.15,
        "baseTotalDiscount": 10.36,
        "baseTotalPaymentApplied": 12.36,
        "baseTotalCreditApplied": 11.36,
        "baseTotalPaymentAttached": 7.36,
        "baseTotalCreditAttached": 5.34,
        "baseBalance": 5.34,
        "baseTotalTax": 12.15,
        "basePreviousBalance": 102.52,
        "isVoid": true,
        "isVoiding": true,
        "doNotDeliver": true
    }
}
GETInvoice/{id}/Detail
Retrieve deep detail of the Invoice object by its ID. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
{id}Unique identifier for the Invoice object.
Retrieve deep detail of the Invoice object by its ID.
GET Invoice/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "accountId": 21,
        "accountName": "Sample Text Data",
        "name": "Sample Text Data",
        "date": "2021-04-26T15:25:27.587Z",
        "sent": "2021-04-26T15:25:27.587Z",
        "due": "2021-04-26T15:25:27.587Z",
        "lastChecked": "2021-04-26T15:25:27.587Z",
        "invoiceStatusTypeId": 24,
        "invoiceStatusTypeName": "Sample Text Data",
        "processed": "2021-04-26T15:25:27.587Z",
        "billRunHistoryId": 18,
        "billRunHistoryName": "Sample Text Data",
        "previousBalance": 102.52,
        "balance": 202.52,
        "created": "2021-04-26T15:25:27.587Z",
        "closed": "2021-04-26T15:25:27.587Z",
        "total": 100.15,
        "totalCharge": 100.15,
        "totalTax": 12.15,
        "totalDiscount": 10.36,
        "totalPaymentApplied": 12.36,
        "totalCreditApplied": 11.36,
        "totalPaymentAttached": 7.36,
        "totalCreditAttached": 5.34,
        "baseTotal": 100.15,
        "baseTotalCharge": 100.15,
        "baseTotalDiscount": 10.36,
        "baseTotalPaymentApplied": 12.36,
        "baseTotalCreditApplied": 11.36,
        "baseTotalPaymentAttached": 7.36,
        "baseTotalCreditAttached": 5.34,
        "baseBalance": 5.34,
        "baseTotalTax": 12.15,
        "basePreviousBalance": 102.52,
        "isVoid": true,
        "isVoiding": true,
        "doNotDeliver": true,
        "details": {
            "taxSummary": [
                {
                    "identity": 7,
                    "invoiceId": 41,
                    "invoiceName": "Sample Text Data",
                    "taxCodeId": 30,
                    "taxCodeName": "Sample Text Data",
                    "taxRateId": 0,
                    "taxRateName": "Sample Text Data",
                    "amount": 71.2,
                    "baseAmount": 66.8,
                    "invoiceAmount": 54.02,
                    "amountReportable": 39.44,
                    "baseAmountReportable": 52.63,
                    "invoiceAmountReportable": 86.91,
                    "taxableInvoiceAmount": 38.25
                }
            ],
            "invoiceHistory": [
                {
                    "identity": 39,
                    "invoiceId": 32,
                    "invoiceName": "Sample Text Data",
                    "date": "2021-04-26T15:25:27.587Z",
                    "action": "Sample Text Data",
                    "userId": 5,
                    "userName": "Sample Text Data",
                    "billRunHistoryId": 73,
                    "billRunHistoryName": "Sample Text Data"
                }
            ],
            "invoiceItems": [
                {
                    "identity": 36,
                    "accountId": 36,
                    "accountName": "Sample Text Data",
                    "packageId": 86,
                    "packageName": "Sample Text Data",
                    "serviceId": 79,
                    "serviceName": "Sample Text Data",
                    "amount": 37.02,
                    "detail": "Sample Text Data",
                    "periodStart": "2021-04-26T15:25:27.587Z",
                    "periodEnd": "2021-04-26T15:25:27.587Z",
                    "prorated": true,
                    "date": "2021-04-26T15:25:27.587Z",
                    "accountPackageName": "Sample Text Data",
                    "accountServiceName": "Sample Text Data",
                    "posting": "2021-04-26T15:25:27.587Z",
                    "invoiceId": 25,
                    "invoiceName": "Sample Text Data",
                    "invoiceItemTypeId": 62,
                    "invoiceItemTypeName": "Sample Text Data",
                    "baseAmount": 13.69,
                    "invoiceAmount": 46.09,
                    "invoiceCurrencyExchangeDetailId": 28,
                    "originalInvoiceItemId": 87,
                    "isManual": true,
                    "createdByUserId": 22,
                    "createdByUserName": "Sample Text Data",
                    "udrUsageIdentifier": "Sample Text Data",
                    "quantity": 99,
                    "price": 6.77,
                    "generalLedgerId": 19,
                    "generalLedgerName": "Sample Text Data",
                    "serviceTaxCategoryId": 3,
                    "serviceTaxCategoryName": "Sample Text Data",
                    "preDiscountAmount": 47.42,
                    "isTaxInclusive": true,
                    "baseInvoiceItemTypeId": 85,
                    "baseInvoiceItemTypeName": "Sample Text Data",
                    "unitAmount": 28,
                    "details": {
                        "taxes": [
                            {
                                "identity": 47,
                                "invoiceItemId": 56,
                                "amount": 3.77,
                                "taxRateId": 29,
                                "taxRateName": "Sample Text Data",
                                "taxCodeId": 44,
                                "taxCodeName": "Sample Text Data",
                                "accountTaxCategoryId": 71,
                                "accountTaxCategoryName": "Sample Text Data",
                                "baseAmount": 69.89,
                                "invoiceAmount": 84.08,
                                "amountReportable": 82.4,
                                "baseAmountReportable": 3.87,
                                "invoiceAmountReportable": 50.19,
                                "serviceTaxCategoryId": 40,
                                "serviceTaxCategoryName": "Sample Text Data"
                            }
                        ],
                        "discounts": [
                            {
                                "identity": 30,
                                "invoiceItemId": 75,
                                "amount": 35.74,
                                "accountPackageServiceStatusDiscountId": 87,
                                "baseAmount": 98.12,
                                "invoiceAmount": 59.88,
                                "generalLedgerId": 44,
                                "generalLedgerName": "Sample Text Data",
                                "discountAmountId": 49
                            }
                        ],
                        "creditDisbursements": [
                            {
                                "identity": 80,
                                "invoiceId": 9,
                                "invoiceName": "Sample Text Data",
                                "amount": 47.48,
                                "invoiceItemId": 35,
                                "baseAmount": 67.58,
                                "invoiceAmount": 60.22,
                                "automaticDisburse": true
                            }
                        ],
                        "creditItem": {
                            "identity": 91,
                            "invoiceItemId": 49,
                            "showOnInvoice": true,
                            "showOnCreditNote": true,
                            "creditNoteId": 53,
                            "creditNoteName": "Sample Text Data",
                            "disbursed": true,
                            "automaticDisburse": true
                        },
                        "reversals": [
                            {
                                "identity": 85,
                                "accountId": 99,
                                "accountName": "Sample Text Data",
                                "packageId": 33,
                                "packageName": "Sample Text Data",
                                "serviceId": 64,
                                "serviceName": "Sample Text Data",
                                "amount": 1.8900000000000001,
                                "detail": "Sample Text Data",
                                "periodStart": "2021-04-26T15:25:27.587Z",
                                "periodEnd": "2021-04-26T15:25:27.587Z",
                                "prorated": true,
                                "date": "2021-04-26T15:25:27.587Z",
                                "accountPackageName": "Sample Text Data",
                                "accountServiceName": "Sample Text Data",
                                "posting": "2021-04-26T15:25:27.587Z",
                                "invoiceId": 52,
                                "invoiceName": "Sample Text Data",
                                "invoiceItemTypeId": 8,
                                "invoiceItemTypeName": "Sample Text Data",
                                "baseAmount": 66.91,
                                "invoiceAmount": 27.52,
                                "invoiceCurrencyExchangeDetailId": 68,
                                "originalInvoiceItemId": 74,
                                "isManual": true,
                                "createdByUserId": 64,
                                "createdByUserName": "Sample Text Data",
                                "udrUsageIdentifier": "Sample Text Data",
                                "quantity": 37,
                                "price": 58.74,
                                "generalLedgerId": 74,
                                "generalLedgerName": "Sample Text Data",
                                "serviceTaxCategoryId": 34,
                                "serviceTaxCategoryName": "Sample Text Data",
                                "preDiscountAmount": 59.8,
                                "isTaxInclusive": true,
                                "baseInvoiceItemTypeId": 35,
                                "baseInvoiceItemTypeName": "Sample Text Data",
                                "unitAmount": 99.1
                            }
                        ]
                    }
                }
            ],
            "reportAttachments": [
                {
                    "identity": 85,
                    "reportDefinitionId": 62,
                    "reportDefinitionName": "Sample Text Data",
                    "reportStorageId": 81,
                    "reportContentTypeId": 85,
                    "reportContentTypeName": "Sample Text Data",
                    "start": "2021-04-26T15:25:27.587Z",
                    "complete": "2021-04-26T15:25:27.587Z",
                    "reportStorageStatusTypeId": 41,
                    "reportStorageStatusTypeName": "Sample Text Data"
                }
            ]
        }
    }
}
GETInvoice/{id}/Download
Returns the byte array of the PDF version of the specified Invoice
{id}Unique identifier for the Invoice object.
POSTInvoice/{id}/Delivery
Delivers the specified Invoice to its recipients.
{id}Unique identifier for the Invoice object.
POSTInvoice/{id}/ReRender
Requests the system to re-render the specified Invoice
{id}Unique identifier for the Invoice object.
POSTInvoice/{id}/Void
Void the specified Invoice.
{id}Unique identifier for the Invoice object.
PUTInvoice/{id}
Update an existing instance of the Invoice object.
Update an existing instance of the Invoice object.
PUT Invoice/{id}

{
    "identity": 1,
    "accountId": 4,
    "name": "Sample Text Data",
    "date": "2021-04-26T15:25:27.587Z",
    "sent": "2021-04-26T15:25:27.587Z",
    "due": "2021-04-26T15:25:27.587Z",
    "lastChecked": "2021-04-26T15:25:27.587Z",
    "invoiceStatusTypeId": 5,
    "processed": "2021-04-26T15:25:27.587Z",
    "billRunHistoryId": 17,
    "previousBalance": 102.52,
    "balance": 202.52,
    "closed": "2021-04-26T15:25:27.587Z",
    "total": 100.15,
    "totalCharge": 100.15,
    "totalTax": 12.15,
    "totalDiscount": 10.36,
    "totalPaymentApplied": 12.36,
    "totalCreditApplied": 11.36,
    "totalPaymentAttached": 7.36,
    "totalCreditAttached": 5.34,
    "baseTotal": 100.15,
    "baseTotalCharge": 100.15,
    "baseTotalDiscount": 10.36,
    "baseTotalPaymentApplied": 12.36,
    "baseTotalCreditApplied": 11.36,
    "baseTotalPaymentAttached": 7.36,
    "baseTotalCreditAttached": 5.34,
    "baseBalance": 5.34,
    "baseTotalTax": 12.15,
    "basePreviousBalance": 102.52,
    "isVoid": true,
    "isVoiding": true,
    "doNotDeliver": true
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "accountId": 18,
                "accountName": "Sample Text Data",
                "name": "Sample Text Data",
                "date": "2021-04-26T15:25:27.587Z",
                "sent": "2021-04-26T15:25:27.587Z",
                "due": "2021-04-26T15:25:27.587Z",
                "lastChecked": "2021-04-26T15:25:27.587Z",
                "invoiceStatusTypeId": 17,
                "invoiceStatusTypeName": "Sample Text Data",
                "processed": "2021-04-26T15:25:27.587Z",
                "billRunHistoryId": 7,
                "billRunHistoryName": "Sample Text Data",
                "previousBalance": 102.52,
                "balance": 202.52,
                "created": "2021-04-26T15:25:27.587Z",
                "closed": "2021-04-26T15:25:27.587Z",
                "total": 100.15,
                "totalCharge": 100.15,
                "totalTax": 12.15,
                "totalDiscount": 10.36,
                "totalPaymentApplied": 12.36,
                "totalCreditApplied": 11.36,
                "totalPaymentAttached": 7.36,
                "totalCreditAttached": 5.34,
                "baseTotal": 100.15,
                "baseTotalCharge": 100.15,
                "baseTotalDiscount": 10.36,
                "baseTotalPaymentApplied": 12.36,
                "baseTotalCreditApplied": 11.36,
                "baseTotalPaymentAttached": 7.36,
                "baseTotalCreditAttached": 5.34,
                "baseBalance": 5.34,
                "baseTotalTax": 12.15,
                "basePreviousBalance": 102.52,
                "isVoid": true,
                "isVoiding": true,
                "doNotDeliver": true
            }
        ]
    }
}