Purchase Order

{
  id: "00000000-0000-0000-0000-000000000000",
  remoteId: "315",
  purchaseOrderStatus: "Open",
  issueDate: "2022-08-17",
  purchaseOrderNumber: "1034",
  deliveryDate: null,
  deliveryAddress: {},
  vendorId: "00000000-0000-0000-0000-000000000000",
  accountId: "00000000-0000-0000-0000-000000000000",
  memo: null,
  companyId: null,
  totalAmount: 1,
  currency: "USD",
  exchangeRate: 1,
  lineItems: [
	  {
		  unitPrice: 1,
		  accountingItemId: "00000000-0000-0000-0000-00000000",
		  quantity: 1,
		  totalLineAmount: 1,
		  remoteId: "1"
	  }
  ],
  trackingCategoryIds: [],
	remoteCreatedAt: "2023-11-19T17:00:17.000Z",
	remoteUpdatedAt: "2023-11-19T17:00:17.000Z",
	remoteDeleted: false,
	createdAt: "2024-02-22T11:17:53.264Z",
	updatedAt: "2024-02-22T13:54:03.445Z"
}

Properties


idString

The Alloy-generated unique ID


remoteIdString

The ID of the object in the third-party application.


purchaseOrderStatusEnum

The current standing or condition of the purchase order. Possible values: OPEN, DRAFT, SUBMITTED, AUTHORIZED, BILLED, CLOSED, DELETED
Quickbooks Online: OPEN, CLOSED


issueDateDate

The date when the purchase order was created and issued to the vendor. Format: YYYY-MM-DD


purchaseOrderNumberString

A unique number or code assigned to the purchase order for tracking and reference purposes.


deliveryDateDate

The expected or scheduled date when the goods or services will be delivered.


deliveryAddressAccountingAddress

The physical address where the ordered items are to be delivered.


vendorIdString

Identifier for the vendor or supplier from whom the goods or services are being ordered.


accountIdString

Identifier for the account where the expenses related to the purchase order will be recorded.


memoString

Additional notes, comments, or details pertinent to the purchase order.


companyIdString

ID of the company the purchase order belongs to.


totalAmountNumber

The full sum of the purchase order, considering all line items and any other charges.


currencyEnum

The type of currency in which the purchase order's amount is presented. Possible values: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UYW, UZS, VES, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XSU, XTS, XUA, XXX, YER, ZAR, ZMW, ZWL


exchangeRateNumber

The conversion rate applied if the purchase order involves transactions in a foreign currency.


lineItemsPurchaseOrderLineItem[]

Detailed list of all goods or services ordered, typically including descriptions, quantities, and prices.


trackingCategoryIdsString[]

An array of tracking category IDs associated with the bill line item.


remoteCreatedAtDateTime

The exact date and time when the purchase order was first added or created in the third-party application.


remoteUpdatedAtDateTime

The latest date and time when any modifications or updates were made to the purchase order’s details in the third-party application.


remoteDeletedBoolean

Flag to indicate that the record has been deleted in the third-party application.


createdAtDateTime

Date and time the record has been synced into the data cache.


updatedAtDateTime

Date and time the record has been updated in the data cache.


Purchase Order Line Item

{
  remoteId: "1",
  trackingCategoryIds: [],
  description: "Purchase Order Line 1",
  unitPrice: 10,
  quantity: 10,
  accountingItemId: "00000000-0000-0000-0000-00000000",
  accountId: "00000000-0000-0000-0000-00000000",
  trackingCategoryId: null,
  taxAmount: 10,
  totalLineAmount: 110,
  currency: null
  }


Properties


remoteIdString

The ID of the object in the third-party application.


trackingCategoryIdsString[]

An array of tracking category IDs associated with the purchase order line item.


descriptionString

A concise detail or overview of the specific good or service listed in the line item.


unitPriceNumber

The cost assigned per individual unit of the item or service.


quantityNumber

The number of units of the specific good or service being ordered.


accountingItemIdString

The ID of the item associated with the purchase order line item.


accountIdString

The ID of the account associated with the purchase order line item.


trackingCategoryIdString

The ID of the tracking category associated with the purchase order line item.


taxAmountNumber

The amount of tax applied to this specific line item.


totalLineAmountNumber

The cumulative sum for the line item, typically calculated as unitPrice * quantity plus any tax.


currencyEnum

The type of currency in which the line item's amount is presented. Possible values: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UYW, UZS, VES, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XSU, XTS, XUA, XXX, YER, ZAR, ZMW, ZWL