Create Sales Summary
POST/v1/journal_entries
Create a sales summary journal entry to record daily sales activity.
Request
- application/json
Body
Possible values: [bookkeep_sales_summary
]
Default value: bookkeep_sales_summary
Must be set to 'bookkeep_sales_summary'
A unique identifier for this journal entry from your system
The date of the journal entry
Document number for the journal entry
Optional memo for the journal entry
Currency code (e.g. USD)
gross_sales_credit object
Breakdown of gross sales by category
Total discounts amount
Total refunds amount
Sales tax collected
Sales tax withheld
Gift card sales amount
Gift card tender amount
Gratuity collected
Total fees
payments_debit object
Breakdown of payments by type
Cash payments amount
AR credits posted
AR charges posted
Miscellaneous credits
Miscellaneous debits
Net sales (gross_sales_credit - discounts_debit - refunds_debit)
Number of transactions included in this summary
Identifier for the source system
Display name for the source system
Responses
- 200
- 400
Sales summary journal entry created successfully
- application/json
- Schema
- Example (from schema)
Schema
The ID of the created journal entry
{
"id": "string"
}
Invalid request error
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"message": "Invalid request parameters",
"type": "invalid_request_error"
}
}