SalesOrder object represents a seller's formal record and confirmation of a customer's purchase request.idUUIDremote_idStringcreated_atDateTime (ISO 8601)modified_atDateTime (ISO 8601)customerUUIDcurrencyEnumXUA, AFN, AFA, ALL, ALK, DZD, ADP, AOA, AOK, AON, AOR, ARA, ARS, ARM, ARP, ARL, AMD, AWG, AUD, ATS, AZN, AZM, BSD, BHD, BDT, BBD, BYN, BYB, BYR, BEF, BEC, BEL, BZD, BMD, BTN, BOB, BOL, BOV, BOP, BAM, BAD, BAN, BWP, BRC, BRZ, BRE, BRR, BRN, BRB, BRL, GBP, BND, BGL, BGN, BGO, BGM, BUK, BIF, XPF, KHR, CAD, CVE, KYD, XAF, CLE, CLP, CLF, CNX, CNY, CNH, COP, COU, KMF, CDF, CRC, HRD, HRK, CUC, CUP, CYP, CZK, CSK, DKK, DJF, DOP, NLG, XCD, DDM, ECS, ECV, EGP, GQE, ERN, EEK, ETB, EUR, XBA, XEU, XBB, XBC, XBD, FKP, FJD, FIM, FRF, XFO, XFU, GMD, GEK, GEL, DEM, GHS, GHC, GIP, XAU, GRD, GTQ, GWP, GNF, GNS, GYD, HTG, HNL, HKD, HUF, IMP, ISK, ISJ, INR, IDR, IRR, IQD, IEP, ILS, ILP, ILR, ITL, JMD, JPY, JOD, KZT, KES, KWD, KGS, LAK, LVL, LVR, LBP, LSL, LRD, LYD, LTL, LTT, LUL, LUC, LUF, MOP, MKD, MKN, MGA, MGF, MWK, MYR, MVR, MVP, MLF, MTL, MTP, MRU, MRO, MUR, MXV, MXN, MXP, MDC, MDL, MCF, MNT, MAD, MAF, MZE, MZN, MZM, MMK, NAD, NPR, ANG, TWD, NZD, NIO, NIC, NGN, KPW, NOK, OMR, PKR, XPD, PAB, PGK, PYG, PEI, PEN, PES, PHP, XPT, PLN, PLZ, PTE, GWE, QAR, XRE, RHD, RON, ROL, RUB, RUR, RWF, SVC, WST, SAR, RSD, CSD, SCR, SLL, XAG, SGD, SKK, SIT, SBD, SOS, ZAR, ZAL, KRH, KRW, KRO, SSP, SUR, ESP, ESA, ESB, XDR, LKR, SHP, XSU, SDD, SDG, SDP, SRD, SRG, SZL, SEK, CHF, SYP, STN, STD, TVD, TJR, TJS, TZS, XTS, THB, XXX, TPE, TOP, TTD, TND, TRY, TRL, TMT, TMM, USD, USN, USS, UGX, UGS, UAH, UAK, AED, UYW, UYU, UYP, UYI, UZS, VUV, VES, VEB, VEF, VND, VNN, CHE, CHW, XOF, YDD, YER, YUN, YUD, YUM, YUR, ZWN, ZRN, ZRZ, ZMW, ZMK, ZWD, ZWR, ZWL. In cases where there is no clear mapping, the original value passed through will be returned. To receive all enum values in the original format, use the show_enum_origins query parameter. Learn more.exchange_rateStringcompanyUUIDstatusEnumDRAFT, PENDING_APPROVAL, OPEN, PARTIALLY_COMPLETED, COMPLETED, CLOSED. In cases where there is no clear mapping, the original value passed through will be returned. To receive all enum values in the original format, use the show_enum_origins query parameter. Learn more.payment_termUUIDmemoStringshipping_addressUUIDtracking_categoriesArrayissue_dateDateTime (ISO 8601)transaction_numberStringtotalNumberlinesSalesOrderLine[]SalesOrderLine object represents a specific line item on a sales order.idUUIDremote_idStringcreated_atDateTime (ISO 8601)modified_atDateTime (ISO 8601)descriptionStringunit_priceStringquantityStringitemUUIDtax_rateUUIDtracking_categoriesArraycompanyUUIDremote_created_atDateTime (ISO 8601)remote_updated_atDateTime (ISO 8601)remote_was_deletedBooleanremote_fieldsRemoteField[]remote_created_atDateTime (ISO 8601)remote_updated_atDateTime (ISO 8601)remote_was_deletedBooleanfield_mappingsObjectremote_dataRemoteData[]RemoteData object is used to represent the full data pulled from the third-party API for an object.pathStringdataAnyremote_fieldsRemoteField[]https://api.merge.dev/api/accounting/v1/sales-orders
Returns a list of SalesOrder objects.
company_idStringcreated_afterDateTime (ISO 8601)created_beforeDateTime (ISO 8601)cursorStringexpandStringinclude_deleted_dataBooleaninclude_remote_dataBooleaninclude_remote_fieldsBooleaninclude_shell_dataBooleanissue_date_afterDateTime (ISO 8601)issue_date_beforeDateTime (ISO 8601)modified_afterDateTime (ISO 8601)modified_beforeDateTime (ISO 8601)page_sizeIntegerremote_fieldsStringremote_idStringshow_enum_originsString
Supported Response Fields
linesSalesOrderLine[]remote_idstringdescriptionstringunit_pricestringquantitystringitemstringtax_ratestringcompanystringcompanyUUIDcurrencyEnumcustomerUUIDexchange_rateStringissue_dateDateTime (ISO 8601)memoStringpayment_termUUIDremote_created_atDateTime (ISO 8601)remote_dataRemoteData[]pathstringdatastringremote_idStringremote_updated_atDateTime (ISO 8601)shipping_addressUUIDstatusEnumtotalNumbertracking_categoriesArraytransaction_numberStringhttps://api.merge.dev/api/accounting/v1/sales-orders
Creates a SalesOrder object with the given values. To run asynchronously, see our guide.
is_debug_modeBooleanrun_asyncBooleanmodelObjectcustomerUUIDid field in the Contact object.currencyEnumXUA, AFN, AFA, ALL, ALK, DZD, ADP, AOA, AOK, AON, AOR, ARA, ARS, ARM, ARP, ARL, AMD, AWG, AUD, ATS, AZN, AZM, BSD, BHD, BDT, BBD, BYN, BYB, BYR, BEF, BEC, BEL, BZD, BMD, BTN, BOB, BOL, BOV, BOP, BAM, BAD, BAN, BWP, BRC, BRZ, BRE, BRR, BRN, BRB, BRL, GBP, BND, BGL, BGN, BGO, BGM, BUK, BIF, XPF, KHR, CAD, CVE, KYD, XAF, CLE, CLP, CLF, CNX, CNY, CNH, COP, COU, KMF, CDF, CRC, HRD, HRK, CUC, CUP, CYP, CZK, CSK, DKK, DJF, DOP, NLG, XCD, DDM, ECS, ECV, EGP, GQE, ERN, EEK, ETB, EUR, XBA, XEU, XBB, XBC, XBD, FKP, FJD, FIM, FRF, XFO, XFU, GMD, GEK, GEL, DEM, GHS, GHC, GIP, XAU, GRD, GTQ, GWP, GNF, GNS, GYD, HTG, HNL, HKD, HUF, IMP, ISK, ISJ, INR, IDR, IRR, IQD, IEP, ILS, ILP, ILR, ITL, JMD, JPY, JOD, KZT, KES, KWD, KGS, LAK, LVL, LVR, LBP, LSL, LRD, LYD, LTL, LTT, LUL, LUC, LUF, MOP, MKD, MKN, MGA, MGF, MWK, MYR, MVR, MVP, MLF, MTL, MTP, MRU, MRO, MUR, MXV, MXN, MXP, MDC, MDL, MCF, MNT, MAD, MAF, MZE, MZN, MZM, MMK, NAD, NPR, ANG, TWD, NZD, NIO, NIC, NGN, KPW, NOK, OMR, PKR, XPD, PAB, PGK, PYG, PEI, PEN, PES, PHP, XPT, PLN, PLZ, PTE, GWE, QAR, XRE, RHD, RON, ROL, RUB, RUR, RWF, SVC, WST, SAR, RSD, CSD, SCR, SLL, XAG, SGD, SKK, SIT, SBD, SOS, ZAR, ZAL, KRH, KRW, KRO, SSP, SUR, ESP, ESA, ESB, XDR, LKR, SHP, XSU, SDD, SDG, SDP, SRD, SRG, SZL, SEK, CHF, SYP, STN, STD, TVD, TJR, TJS, TZS, XTS, THB, XXX, TPE, TOP, TTD, TND, TRY, TRL, TMT, TMM, USD, USN, USS, UGX, UGS, UAH, UAK, AED, UYW, UYU, UYP, UYI, UZS, VUV, VES, VEB, VEF, VND, VNN, CHE, CHW, XOF, YDD, YER, YUN, YUD, YUM, YUR, ZWN, ZRN, ZRZ, ZMW, ZMK, ZWD, ZWR, ZWL.exchange_rateStringcompanyUUIDid field in the CompanyInfo object.statusEnumDRAFT, PENDING_APPROVAL, OPEN, PARTIALLY_COMPLETED, COMPLETED, CLOSED.payment_termUUIDid field in the PaymentTerm object.memoStringshipping_addressUUIDid field in the Address object.tracking_categoriesArrayissue_dateDateTime (ISO 8601)transaction_numberStringtotalNumberintegration_paramsObjectlinked_account_paramsObjectremote_fieldsArray
Supported POST Model Parameters
companyUUIDcurrencyEnumcustomerUUIDexchange_rateStringissue_dateDateTime (ISO 8601)linesSalesOrderLine[]idstringremote_idstringcreated_atstringmodified_atstringdescriptionstringunit_pricestringquantitystringitemstringtax_ratestringtracking_categoriesarraycompanystringremote_created_atstringremote_updated_atstringremote_was_deletedbooleanremote_fieldsarraymemoStringpayment_termUUIDremote_created_atDateTime (ISO 8601)remote_idStringremote_updated_atDateTime (ISO 8601)shipping_addressUUIDstatusEnumtotalNumbertracking_categoriesArraytransaction_numberStringAdditional POST Parameters
remote_fieldsObjectremote_field_classStringhttps://api.merge.dev/api/accounting/v1/sales-orders/{id}
Returns a SalesOrder object with the given id.
expandStringidUUIDinclude_remote_dataBooleaninclude_remote_fieldsBooleaninclude_shell_dataBooleanremote_fieldsStringshow_enum_originsString
Supported Response Fields
linesSalesOrderLine[]remote_idstringdescriptionstringunit_pricestringquantitystringitemstringtax_ratestringcompanystringcompanyUUIDcurrencyEnumcustomerUUIDexchange_rateStringissue_dateDateTime (ISO 8601)memoStringpayment_termUUIDremote_created_atDateTime (ISO 8601)remote_dataRemoteData[]pathstringdatastringremote_idStringremote_updated_atDateTime (ISO 8601)shipping_addressUUIDstatusEnumtotalNumbertracking_categoriesArraytransaction_numberStringhttps://api.merge.dev/api/accounting/v1/sales-orders/lines/remote-field-classes
Returns a list of RemoteFieldClass objects.
cursorStringinclude_deleted_dataBooleaninclude_remote_dataBooleaninclude_shell_dataBooleanis_common_model_fieldBooleanis_customBooleanpage_sizeIntegerhttps://api.merge.dev/api/accounting/v1/sales-orders/meta/post
Returns metadata for SalesOrder POSTs.

Supported POST Model Parameters
companyUUIDcurrencyEnumcustomerUUIDexchange_rateStringissue_dateDateTime (ISO 8601)linesSalesOrderLine[]idstringremote_idstringcreated_atstringmodified_atstringdescriptionstringunit_pricestringquantitystringitemstringtax_ratestringtracking_categoriesarraycompanystringremote_created_atstringremote_updated_atstringremote_was_deletedbooleanremote_fieldsarraymemoStringpayment_termUUIDremote_created_atDateTime (ISO 8601)remote_idStringremote_updated_atDateTime (ISO 8601)shipping_addressUUIDstatusEnumtotalNumbertracking_categoriesArraytransaction_numberStringAdditional POST Parameters
remote_fieldsObjectremote_field_classStringhttps://api.merge.dev/api/accounting/v1/sales-orders/remote-field-classes
Returns a list of RemoteFieldClass objects.
cursorStringinclude_deleted_dataBooleaninclude_remote_dataBooleaninclude_shell_dataBooleanis_common_model_fieldBooleanis_customBooleanpage_sizeInteger