GET
/
v1
/
cogs_entries
/
{id}

Response

id
integer

Unique identifier for the COGS entry (primary key)

Response

id
integer

Unique identifier for the COGS entry (primary key)

period
string

The accounting period for the COGS entry

product
string

The product associated with the COGS entry

quantity_sold
integer

The quantity of the product sold

cogs
number

The Cost of Goods Sold amount

average_cost
number

The average cost per unit

ending_inventory_quantity
number

The quantity of inventory remaining at the end of the period

ending_inventory_value
number

The value of the ending inventory

currency
string

The currency used for the financial calculations

exchange_rate_id
integer

Identifier for the related exchange rate

sale_transaction_id
integer

Identifier for the related sale transaction

unit_selling_price
number

The selling price per unit

gross_sales
number

The total gross sales amount

gross_profit
number

The gross profit amount

gross_margin_percentage
number

The gross margin percentage

cogs_percentage
number

The COGS as a percentage of sales

cogs_method
string

The method used to calculate COGS

product_category
string

The category of the product

sales_channel
string

The channel through which the sale was made

customer_segment
string

The segment of the customer who made the purchase

sale_date
string

The date of the sale

is_return
boolean

Indicates whether this entry is for a return

return_reason
string

The reason for the return, if applicable

cost_center
string

The cost center associated with the COGS entry

supplier_id
integer

Identifier for the related supplier