Getting Started

Generating API Keys

Calling API Functions

JSON or XML

API Call Rate Limits

Affiliate Accounts

Functions

Types

Merchant Accounts

Functions

Types

Invoice Type

Represents a single invoice.


Properties

Name Type Description
Id
Integer The ID of the invoice.
DateCreated
DateTime The date and time that the invoice was created.
DatePaid
DateTime The date that the invoice was paid.
Number
String The invoice number.
Description
String The description of the invoice.
SubTotal
Decimal The sub-total of the invoice, exclusive of tax.
GST
Decimal The GST component of the invoice, if applicable.
Total
Decimal The grand total of the invoice.

JSON XML

Example

{
    "Id": 1,
    "DateCreated": "2000-01-01T00:00:00.000",
    "DatePaid": "2000-01-01T00:00:00.000",
    "Number": "CF-1-0001",
    "Description": "Commissions up to 1/01/2000",
    "SubTotal": 100.0000,
    "GST": null,
    "Total": 100.0000
}
<Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://api.commissionfactory.com/V1/Affiliate">
    <Id>1</Id>
    <DateCreated>2000-01-01T00:00:00.000</DateCreated>
    <DatePaid>2000-01-01T00:00:00.000</DatePaid>
    <Number>CF-1-0001</Number>
    <Description>Commissions up to 1/01/2000</Description>
    <SubTotal>100.0000</SubTotal>
    <GST>null</GST>
    <Total>100.0000</Total>
</Invoice>

Related Links