# Bulk write 'Invoice'

Endpoint: POST /accounting/invoices/invoice/list/
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):

  - `alternative_ocr_number` (string)

  - `debt_reminder_stage_end` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `debt_reminder_stage_start`, `debt_reminder_days_after_due_date`, `debt_reminder_expires_in_days`
Enum Descriptions:
* `0` - Debt Reminder
* `1` - Debt Collection
* `2` - Debt Bailiff
    Enum: 0, 1, 2

  - `disable_system_pdf` (boolean)

  - `interest_rate` (number)

  - `messages` (array)

  - `use_rounding` (boolean)

  - `invoice_date` (string, required)

  - `main_period_start` (string, required)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `main_period_end`

  - `outstanding_debt_view_type` (integer)
    **Additional Validation Information:**
Enum Descriptions:
* `0` - Debt Overpayed In To Pay
* `1` - Debt Overpayed
* `2` - Overpayed In To Pay
    Enum: 0, 1, 2

  - `disable_system_bookkeeping` (boolean)

  - `internal_invoice` (boolean)

  - `dimensions` (array)

  - `debt_reminder_days_after_due_date` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `debt_reminder_stage_start`, `debt_reminder_stage_end`, `debt_reminder_expires_in_days`

  - `admin_fee` (number)

  - `debt_reminder_fee` (number)

  - `inform_social_committee_on_bailiff` (boolean)

  - `merge_base_rent_in_view` (boolean)

  - `originates_from_object_id` (string)

  - `interest_days_after_due_date` (integer)

  - `debt_reminder_expires_in_days` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `debt_reminder_stage_start`, `debt_reminder_stage_end`, `debt_reminder_days_after_due_date`

  - `debt_reminder_stage_start` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `debt_reminder_stage_end`, `debt_reminder_days_after_due_date`, `debt_reminder_expires_in_days`
Enum Descriptions:
* `0` - Debt Reminder
* `1` - Debt Collection
* `2` - Debt Bailiff
    Enum: 0, 1, 2

  - `our_reference` (string)

  - `autogiro_enabled` (boolean)

  - `eviction_on_bailiff` (boolean)

  - `grace_value` (number)

  - `reminder_fee` (number)

  - `marking` (string)

  - `originates_from_content_type` (object)

  - `originates_from_content_type.id` (string)

  - `reminder_days_after_due_date` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `reminder_expires_in_days`

  - `attested_date` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `due_date`

  - `debt_reminder_amount` (integer)

  - `your_reference` (string)

  - `reminder_distribution_pushed_until` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `debt_distribution_pushed_until`, `due_date`

  - `rental_invoice` (boolean)

  - `auto_distribute_on_debt_annullment` (boolean)

  - `merge_index_in_view` (boolean)

  - `attachment` (object)

  - `attachment.name` (string)
    wanted filename of the file

  - `attachment.md5_hash` (string)
    base64 encoded md5hash of the file

  - `attachment.get` (string)

  - `attachment.post` (object)

  - `attachment.post.url` (string)

  - `reason_for_higher_interest` (string)

  - `custom_id` (string)

  - `automatic_debt_invoicing_paused` (boolean)

  - `due_date` (string, required)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `debt_distribution_pushed_until`, `attested_date`, `reminder_distribution_pushed_until`

  - `company` (object, required)

  - `company.id` (string)

  - `deposit_fee` (number)

  - `main_period_end` (string, required)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `main_period_start`

  - `reminder_amount` (integer)

  - `reminder_expires_in_days` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `reminder_days_after_due_date`

  - `utilize_customer_balance` (boolean)

  - `auto_attest_debt_invoices` (boolean)

  - `admin_fee_vat_method` (integer, required)
    **Additional Validation Information:**
Enum Descriptions:
* `0` - Highest Vat
* `1` - Proportional
* `2` - Lowest Vat
    Enum: 0, 1, 2

  - `merge_non_base_rent_in_view` (boolean)

  - `organization` (object)

  - `organization.id` (string)

  - `grace_days` (integer)

  - `debt_distribution_pushed_until` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `due_date`, `reminder_distribution_pushed_until`

## Response 201 fields (application/json):

  - `alternative_ocr_number` (string)

  - `debt_reminder_stage_end` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `debt_reminder_stage_start`, `debt_reminder_days_after_due_date`, `debt_reminder_expires_in_days`
Enum Descriptions:
* `0` - Debt Reminder
* `1` - Debt Collection
* `2` - Debt Bailiff
    Enum: 0, 1, 2

  - `disable_system_pdf` (boolean)

  - `interest_rate` (number)

  - `messages` (array)

  - `use_rounding` (boolean)

  - `debt_invoice_counts` (any)

  - `pending_monitor_approval_amount` (any)

  - `invoice_date` (string, required)

  - `main_period_start` (string, required)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `main_period_end`

  - `outstanding_debt_view_type` (integer)
    **Additional Validation Information:**
Enum Descriptions:
* `0` - Debt Overpayed In To Pay
* `1` - Debt Overpayed
* `2` - Overpayed In To Pay
    Enum: 0, 1, 2

  - `disable_system_bookkeeping` (boolean)

  - `internal_invoice` (boolean)

  - `dimensions` (array)

  - `debt_reminder_days_after_due_date` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `debt_reminder_stage_start`, `debt_reminder_stage_end`, `debt_reminder_expires_in_days`

  - `admin_fee` (number)

  - `debt_reminder_fee` (number)

  - `inform_social_committee_on_bailiff` (boolean)

  - `merge_base_rent_in_view` (boolean)

  - `originates_from_object_id` (string)

  - `interest_days_after_due_date` (integer)

  - `debt_reminder_expires_in_days` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `debt_reminder_stage_start`, `debt_reminder_stage_end`, `debt_reminder_days_after_due_date`

  - `debt_reminder_stage_start` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `debt_reminder_stage_end`, `debt_reminder_days_after_due_date`, `debt_reminder_expires_in_days`
Enum Descriptions:
* `0` - Debt Reminder
* `1` - Debt Collection
* `2` - Debt Bailiff
    Enum: 0, 1, 2

  - `our_reference` (string)

  - `autogiro_enabled` (boolean)

  - `customer_columns` (any)

  - `eviction_on_bailiff` (boolean)

  - `grace_value` (number)

  - `reminder_fee` (number)

  - `marking` (string)

  - `created_at` (string)

  - `originates_from_content_type` (object)

  - `originates_from_content_type.id` (string)

  - `closed_time` (string)

  - `reminder_days_after_due_date` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `reminder_expires_in_days`

  - `attested_date` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `due_date`

  - `debt_reminder_amount` (integer)

  - `your_reference` (string)

  - `reminder_distribution_pushed_until` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `debt_distribution_pushed_until`, `due_date`

  - `rental_invoice` (boolean)

  - `auto_distribute_on_debt_annullment` (boolean)

  - `merge_index_in_view` (boolean)

  - `attachment` (object)

  - `attachment.name` (string)
    wanted filename of the file

  - `attachment.md5_hash` (string)
    base64 encoded md5hash of the file

  - `attachment.get` (string)

  - `attachment.post` (object)

  - `attachment.post.url` (string)

  - `ocr_number` (string)

  - `reason_for_higher_interest` (string)

  - `invoice_recipients` (any)

  - `custom_id` (string)

  - `automatic_debt_invoicing_paused` (boolean)

  - `invoice_number` (integer)

  - `due_date` (string, required)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `debt_distribution_pushed_until`, `attested_date`, `reminder_distribution_pushed_until`

  - `company` (object, required)

  - `company.id` (string)

  - `deposit_fee` (number)

  - `anonymized_at` (string)

  - `main_period_end` (string, required)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `main_period_start`

  - `reminder_amount` (integer)

  - `distribution_date` (string)

  - `id` (string, required)
    **Additional Validation Information:**
Must be unique

  - `reminder_expires_in_days` (integer)
    **Additional Validation Information:**
This value must be set together with the following fields: `reminder_days_after_due_date`

  - `utilize_customer_balance` (boolean)

  - `auto_attest_debt_invoices` (boolean)

  - `used_account_config` (object)

  - `used_account_config.id` (string)

  - `admin_fee_vat_method` (integer, required)
    **Additional Validation Information:**
Enum Descriptions:
* `0` - Highest Vat
* `1` - Proportional
* `2` - Lowest Vat
    Enum: 0, 1, 2

  - `bookkeeping_scrubbed_at` (string)

  - `tags` (any)

  - `merge_non_base_rent_in_view` (boolean)

  - `organization` (object)

  - `organization.id` (string)

  - `payments_sum` (any)

  - `grace_days` (integer)

  - `debt_distribution_pushed_until` (string)
    **Additional Validation Information:**
This value must be set in an proper order, in relation to the following fields: `due_date`, `reminder_distribution_pushed_until`

