# Returns a list of records with the specified cogs_entry_id Returns a list of records with the specified cogs_entry_id Endpoint: GET /subledgerEntries/{tenantId}/cogsEntry/{cogs_entry_id} Version: v1-2025-04-18 Security: knox-authorizer ## Path parameters: - `tenantId` (string, required) The tenant - `cogs_entry_id` (string, required) The cogs_entry_id to use to for record lookup ## Query parameters: - `fields` (string) The fields that you want to retrieve; if omitted, the entire object is returned - `exclusiveStartKey` (string) If paging, this allows you to return the next set of results ## Response 200 fields (application/json): - `Count` (integer) - `Items` (array) - `Items.batch_id` (string, required) The batch the entry is tied to - `Items.business_unit_id` (string, required) The business unit that the batch belongs in - `Items.cogs_entry_id` (string) - `Items.contact_id` (string) - `Items.credit_card_last_five_digits` (string) For payments, the last five digits of the credit card - `Items.credit_id` (string) - `Items.credit_memo_id` (string) - `Items.credit_usage_id` (string) - `Items.customer_type` (string) Enum: "contact", "organization" - `Items.date` (string, required) The date of the batch - `Items.debit_memo_id` (string) - `Items.fiscal_period` (integer, required) The fiscal period of the batch - `Items.fiscal_year_id` (string, required) The fiscal year of the business unit - `Items.gift_id` (string) - `Items.id` (string, required) A unique id for the entry - `Items.inventory_receipt_id` (string) - `Items.invoice_id` (string) - `Items.items` (array, required) - `Items.items.accounting_project_code` (string) - `Items.items.accounting_project_id` (string) - `Items.items.bank_account_id` (string) - `Items.items.credit_usage_line_item_id` (string) - `Items.items.credits` (number, required) - `Items.items.debits` (number, required) - `Items.items.deferral_end_date` (string) - `Items.items.deferral_start_date` (string) - `Items.items.department_code` (string) - `Items.items.department_id` (string) - `Items.items.due_to_due_from_business_unit_id` (string) - `Items.items.gl_account_code` (string, required) - `Items.items.gl_account_id` (string, required) - `Items.items.gl_account_name` (string) - `Items.items.invoice_line_item_id` (string) - `Items.items.merchant_account_id` (string) - `Items.items.payment_line_item_id` (string) - `Items.items.product_id` (string) - `Items.items.product_name` (string) - `Items.items.product_type` (string) - `Items.items.transaction_credits` (number, required) - `Items.items.transaction_currency_code` (string, required) Enum: "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EEK", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GQE", "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", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZM", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEB", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "YER", "ZAR", "ZMK", "ZWR" - `Items.items.transaction_debits` (number, required) - `Items.items.type` (string, required) Enum: "accounts receivable", "cash", "cogs expense", "credit expense", "credit liability", "credit usage", "currency trading", "deferred revenue", "due to/due from", "gift debit", "gift revenue", "inventory", "invoice payment", "overpayment", "revenue", "rounding", "write off expense" - `Items.notes` (string) - `Items.order_date` (string) - `Items.order_id` (string) - `Items.organization_id` (string) - `Items.payment_card_type` (string) The tyep of card for payment - `Items.payment_id` (string) - `Items.payment_reference_number` (string) For payments, the reference or check # - `Items.payment_type` (string) The payment type - `Items.refund_id` (string) - `Items.revenue_recognition_schedule_entry_id` (string) - `Items.revenue_recognition_schedule_id` (string) - `Items.sys_bulk_load_at` (string) If this record was loaded via bulk, the timestamp when the record was processed - `Items.sys_bulk_load_id` (string) If this record was loaded via bulk, the ID of the bulk load process - `Items.sys_bulk_load_pk` (string) If this record was loaded via bulk, the tenant and key of the bulk load process used as a partition key - `Items.sys_bulk_load_record_no` (number) If this record was loaded via bulk, the record number in the source file - `Items.sys_bulk_load_source_file` (string) If this record was loaded via bulk, the source file - `Items.sys_calculated_field_error` (string) The error associated with the calculated field - `Items.sys_calculated_field_errors` (array) - `Items.sys_calculated_field_errors.error` (string) - `Items.sys_calculated_field_errors.field` (string) - `Items.sys_configuration_snapshot_id` (string) If a snapshot was restored/applies to this record, the ID of the snapshot - `Items.sys_created_at` (string, required) The date/time that this record was created, expressed in ISO-8601 date format - `Items.sys_created_by_id` (string, required) The ID of the user that created this record - `Items.sys_deleted_by_id` (string) The ID of the user that deleted (or last tried to delete) this object - `Items.sys_directive` (string) Means for passing directive information into an object processing logic - `Items.sys_external_id` (string) The ID that a record has from an external system or data import - `Items.sys_has_files_in_s3` (boolean) If true, this record has files in S3. If false, it doesnt, so no need to hit S3 upon deletion - `Items.sys_last_bulk_data_operation_id` (string) If this record was last touched by a bulk data operation, the ID of that operation - `Items.sys_last_bulk_data_operation_sys_version` (string) If this record was last touched by a bulk data operation, the sys_version at the time of that operation - `Items.sys_last_modified_at` (string, required) The date/time that this record record was last modified, expressed in ISO-8601 date format - `Items.sys_last_modified_by_id` (string, required) The ID of the user that last modified this record - `Items.sys_last_security_context` (object) The security context of the last insert, modify, or delete performed on this item - `Items.sys_locked` (boolean) If set, this record is locked and cannot be changed via the API - `Items.sys_snapshot_base_version` (number) The version to use as a base when creating a configuration snapshot; if not set, 1 is used. Helpful when creating a sandbox - `Items.sys_version` (number) A number representing the version of this record in the database - `Items.transaction_date` (string) - `Items.transaction_id` (string) - `Items.transaction_type` (string) - `Items.write_off_id` (string) - `LastEvaluatedKey` (string) ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields ## Response 429 fields ## Response 500 fields