PurchaseOrder

Supported MethodsSupported Parameters
GET, POST, PATCHId, number, page, pageSize, modTimeStart, modTimeEnd, isDeleted
{
    "ID": "",
    "Number": "",
    "Date": "2023-01-11T16:07:12Z",
    "Amount": 0.0,
    "IsOpen": true,
    "ShippingAddress": {
        "Line1": "",
        "Line2": "",
        "Line3": "",
        "Line4": "",
        "Line5": "",
        "City": "",
        "State": "",
        "PostalCode": "",
        "Country": ""
    },
    "Vendor": {
        "ID": "",
        "FullName": ""
    },
    "ItemLines": [{
        "Customer": {
            "ID": "",
            "FullName": ""
        },
        "Item": {
            "ID": "",
            "FullName": ""
        },
        "Quantity": 0.0,
        "Rate": 0.0,
        "Description": "",
        "Amount": 0.0,
        "Class": {
            "FullName": "",
            "ID": ""
        },
        "CustomFields": [{
            "FullName": "",
            "Value": ""
        }],
        "IsManuallyClosed": true,
        "SalesTaxCode": {
            "ID": "",
            "FullName": ""
        },
        "ID": "",
        "ReceivedQuantity": 0.0,
        "SubLines": [{
            "ID": "",
            "Item": {
                "ID": "",
                "FullName": ""
            },
            "Desc": "",
            "Quantity": 0.0,
            "Rate": 0.0,
            "Amount": 0.0,
            "SalesTaxCode": {
                "ID": "",
                "FullName": ""
            }
        }],
        "Account": {
            "ID": ""
        }
    }],
    "Memo": "",
    "Account": {
        "ID": "",
        "FullName": ""
    },
    "DueDate": "2023-01-11T16:07:12Z",
    "FOB": "",
    "Template": {
        "ID": "",
        "FullName": ""
    },
    "CustomFields": [{
        "FullName": "",
        "Value": ""
    }],
    "ExpectedDate": "2023-01-11T16:07:12Z",
    "ExchangeRate": 0.0,
    "IsManuallyClosed": true,
    "Class": {
        "FullName": "",
        "ID": ""
    },
    "SalesTaxCode": {
        "ID": "",
        "FullName": ""
    },
    "IsFullyReceived": true,
    "LastModifiedDate": "2023-01-11T16:07:12Z",
    "DeletedDate": "2023-01-11T16:07:12Z",
    "TotalAmountInHomeCurrency": 0.0,
    "CreatedDate": "2023-01-11T16:07:12Z",
    "Currency": {
        "ID": "",
        "FullName": ""
    },
    "TotalAmount": 0.0,
    "Terms": {
        "FullName": ""
    },
    "Address": {
        "Line1": "",
        "Line2": "",
        "City": "",
        "State": "",
        "PostalCode": "",
        "Country": ""
    }
}

Important Notes

  • If IsManuallyClosed is set to true (or false) on the header level of a Purchase Order, then all line items will be set to the same value.
  • If wanting to set the value on individual line items, do not pass IsManuallyClosed on the header level.
  • If IsManuallyClosed is set to true (or false) on all line items, the header level IsManallyClosed field will be set to the same value.