# Create 'Debtinvoice' Endpoint: POST /accounting/debt/debtinvoice/ Version: 2.0.0 Security: customer_id, application_id, service_id, service_version_id, client_ct, client_object_id, client_secret ## Request fields (application/json): - `kind` (integer, required) Enum: 0, 1 - `due_date` (string, required) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: debt_date, attested_date - `debt_date` (string, required) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: due_date, interest_rate_start_date - `invoice` (object, required) - `invoice.id` (string) - `organization` (object,null) - `attested_date` (string,null) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: due_date - `debt_stage` (integer,null) Enum: 0, 1, 2 - `interest_rate_start_date` (string,null) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: debt_date - `interest_rate` (number) - `disable_system_bookkeeping` (boolean) - `annulled` (boolean) - `custom_id` (string,null) - `fee` (number) - `auto_distribute_on_annullment` (boolean) - `eviction_on_bailiff` (boolean) - `inform_social_committee_on_bailiff` (boolean) ## Response 201 fields (application/json): - `id` (string, required) Additional Validation Information: Must be unique - `kind` (integer, required) Enum: 0, 1 - `due_date` (string, required) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: debt_date, attested_date - `debt_date` (string, required) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: due_date, interest_rate_start_date - `invoice` (object, required) - `invoice.id` (string) - `organization` (object,null) - `tags` (any) - `attested_date` (string,null) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: due_date - `debt_stage` (integer,null) Enum: 0, 1, 2 - `interest_rate_start_date` (string,null) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: debt_date - `interest_rate` (number) - `disable_system_bookkeeping` (boolean) - `annulled` (boolean) - `created_at` (string) - `custom_id` (string,null) - `fee` (number) - `distribution_date` (string,null) - `auto_distribute_on_annullment` (boolean) - `eviction_on_bailiff` (boolean) - `customer_columns` (any) - `pending_monitor_approval_amount` (any) - `closed_time` (string,null) - `inform_social_committee_on_bailiff` (boolean) ## Response 401 fields ## Response 403 fields ## Response 429 fields