TAG LINE
SMALL TITLE

Invoice / Due Date Type

(API Version v4)


Determines what the invoice "due-date" is based on. It let's the user define if the invoice due-date is based on when the invoice is rendered or when the account bill day. The Due date will also be affected by any dunning rules assigned.


What can you do with InvoiceDueDateType?


Properties

Property Details
identity
READ-ONLY
"identity": 21
Type: Number
This is the unique numeric identifier for the InvoiceDueDateType
name
READ-ONLY
"name": "Hello World"
Type: String
System defined name for this Due Date Type.


End Points

GETapi/v4/Invoice/DueDateType/
Retrieve all of the InvoiceDueDateType objects.
Retrieve all of the InvoiceDueDateType objects.
GET api/v4/Invoice/DueDateType/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Sample Text Data"
        }
    ]
}
GETapi/v4/Invoice/DueDateType/Paged
Retrieve all of the InvoiceDueDateType 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 InvoiceDueDateType objects in a paged fashion.
GET api/v4/Invoice/DueDateType/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,
                "name": "Sample Text Data"
            }
        ]
    }
}
GETapi/v4/Invoice/DueDateType/{id}
Retrieve an instance of the InvoiceDueDateType object by its ID.
{id}Unique identifier for the InvoiceDueDateType object.
Retrieve an instance of the InvoiceDueDateType object by its ID.
GET api/v4/Invoice/DueDateType/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Sample Text Data"
    }
}
POSTapi/v4/Invoice/DueDateType/Search
Retreive a list of InvoiceDueDateType objects based on search criteria. Search end points allow for retrieving results based on search criteria. Search criteria is sent as the payload of the POST.
Retreive a list of InvoiceDueDateType objects based on search criteria.
POST api/v4/Invoice/DueDateType/Search

{
    "query": {
        "top": 20,
        "search": [
            {
                "name": "MyFieldName",
                "operator": "startsWith",
                "value": "a"
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "itemCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Sample Text Data"
        }
    ]
}