Create Credit Memo
Accounts Receivable
Create Credit Memo
Creates a new accounting credit memo with line items and automatic journal entry generation.
This endpoint allows for comprehensive credit memo creation with:
- Multiple line items with different products, accounts, amounts, and departmental allocations
- Automatic journal entry creation following double-entry bookkeeping principles
- Multi-currency support with exchange rate handling
- Client and entity relationship management
- Contract associations for revenue recognition tracking
- Product-based line item categorization with tax handling
- Tag-based transaction categorization and reporting
POST
Create Credit Memo
Authorizations
Token-based authentication with required prefix "Token"
Body
credit_memo- Credit Memooverpayment- Overpayment
Available options:
credit_memo, overpayment Maximum string length:
120open- Openpartially_used- Partially Usedused- Usedvoided- Voided
Available options:
open, partially_used, used, voided Maximum string length:
3Required range:
-100000000000000 < x < 100000000000000Required range:
-100000000000000 < x < 100000000000000ID of the negation transaction in Anrok for this credit memo
Maximum string length:
255Maximum string length:
250Maximum string length:
250Sum of all line item amounts
Required range:
-1000000000000000000 < x < 1000000000000000000Sum of all non-voided payment amounts
Required range:
-1000000000000000000 < x < 1000000000000000000Required range:
-2147483648 <= x <= 2147483647Response
201 - application/json
Calculate amount remaining from database fields
Combines account number and name in the format "number - name"
credit_memo- Credit Memooverpayment- Overpayment
Available options:
credit_memo, overpayment Maximum string length:
120open- Openpartially_used- Partially Usedused- Usedvoided- Voided
Available options:
open, partially_used, used, voided Maximum string length:
3Required range:
-100000000000000 < x < 100000000000000Required range:
-100000000000000 < x < 100000000000000ID of the negation transaction in Anrok for this credit memo
Maximum string length:
255Maximum string length:
250Maximum string length:
250Sum of all line item amounts
Required range:
-1000000000000000000 < x < 1000000000000000000Sum of all non-voided payment amounts
Required range:
-1000000000000000000 < x < 1000000000000000000Required range:
-2147483648 <= x <= 2147483647