Create multiple invoices atomically in a single transaction.
All invoices are created within a single database transaction. If any invoice creation fails, all invoices are rolled back and no invoices are created.
This endpoint validates all invoices before creating any of them, ensuring data integrity.
Token-based authentication with required prefix "Token"
Serializer for bulk invoice creation. Accepts a list of invoice data.
List of invoice data dictionaries matching AccountingInvoiceSerializer structure
1-1000000000000000000 < x < 1000000000000000000-1000000000000000000 < x < 1000000000000000000-1000000 < x < 1000000Dictionary tracking when reminders were sent for each day overdue (e.g., {'5': '2024-01-15', '10': '2024-01-20'})
255255custom - Customnet_5 - Net 5net_7 - Net 7net_10 - Net 10net_15 - Net 15net_20 - Net 20net_30 - Net 30net_40 - Net 40net_45 - Net 45net_60 - Net 60net_90 - Net 90net_105 - Net 105net_120 - Net 120due_on_receipt - Due on Receiptcustom, net_5, net_7, net_10, net_15, net_20, net_30, net_40, net_45, net_60, net_90, net_105, net_120, due_on_receipt 120120open - Opensent - Sentpartial - Partially Paidpaid - Paiduncollectible - Uncollectiblevoided - Voidedopen, sent, partial, paid, uncollectible, voided ID of the transaction in Anrok (set when transaction is created)
2553-100000000000000 < x < 100000000000000-100000000000000 < x < 100000000000000250250Discount amount for the invoice
-1000000000000000000 < x < 1000000000000000000Discount amount applied based on payment term early payment discount
-1000000000000000000 < x < 1000000000000000000500500500500500250