Create COGS Entry
This endpoint creates a new COGS (Cost of Goods Sold) entry.
Body
The accounting period for the COGS entry
The product associated with the COGS entry
The quantity of the product sold
The Cost of Goods Sold amount
The average cost per unit
The quantity of inventory remaining at the end of the period
The value of the ending inventory
The currency used for the financial calculations
Identifier for the related exchange rate
Identifier for the related sale transaction
The selling price per unit
The total gross sales amount
The method used to calculate COGS
The category of the product
The channel through which the sale was made
The segment of the customer who made the purchase
The date of the sale
Indicates whether this entry is for a return
The reason for the return, if applicable
The cost center associated with the COGS entry
Identifier for the related supplier
Response
Unique identifier for the newly created COGS entry
A success message confirming the creation of the COGS entry