---
title: "Posts invoices for a bulk run"
method: PUT
path: "/invoices/bulk/{bulkInvoiceRunId}/post"
tags: ["Billing"]
---

# Posts invoices for a bulk run

`PUT /invoices/bulk/{bulkInvoiceRunId}/post`

Marks all invoices associated with the specified bulk run as posted

## Path parameters

- `bulkInvoiceRunId` string, required

## Request body

- string[]

## Response `200`

successful operation

- BulkInvoiceRun
  - `entityId` string
  - `name` string
  - `description` string
  - `targetDate` integer
  - `invoiceDate` integer
  - `chargeInclusionOption` 'INCLUDE_USAGE' | 'EXCLUDE_USAGE' | 'ONLY_USAGE'
  - `isHistorical` boolean
  - `id` string
  - `bulkInvoiceRunId` string
  - `automatedInvoiceRuleId` string
  - `status` 'QUEUED' | 'CREATED' | 'PROCESSING' | 'FAILED' | 'COMPLETED' | 'RUNNING'
  - `phase` 'INVOICE_GENERATION_NOT_STARTED' | 'NO_INVOICES_FOUND' | 'INVOICES_GENERATING' | 'INVOICES_GENERATED' | 'INVOICES_POSTING' | 'INVOICES_POSTED' | 'INVOICES_EMAILING' | 'INVOICES_EMAILED'
  - `invoiceSelector` BulkInvoiceRunSelector
    - `exclusions` BulkInvoiceRunExclusions
      - `accounts` AccountJson[]
        - `id` string — This is a system-generated Account ID
        - `name` string, required — Account name
        - `legalName` string — (optional) Account legal name
        - `description` string — (optional) Account Description
        - `phoneNumber` string — (optional) Phone number of the Account
        - `timezone` string
        - `crmId` string — (optional) CRM ID of the Account
        - `crmType` string — (optional) CRM type
        - `erpId` string — (optional) ERP ID of this account
        - `externalId` string — (optional) External ID of this account
        - `currency` string — The currency code (ISO 4217 format). If currency is not entered, USD will be applied by default. Possible currencies in Subskribe: AED AUD CAD CHF CZK DKK EUR GBP HKD INR MXN NOK NZD SAR SEK SGD TWD USD
        - `taxExemptionUseCode` 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'P' | 'Q' | 'R' — (optional) Indicates Tax Exemption Information. When the account does not qualify for Tax Exemption, add null in the request. When using Anrok Tax Integration, keep this value null , as Anrok requires to upload Tax Exemption Certificate.
        - `isReseller` boolean — (optional) Input true, if this is a Reseller Account. Default is false
        - `hasAutomaticPayment` boolean — (optional) Input true, if this Account will have an automatic payment. Default is false
        - `excludeFromBatchOperations` boolean — (optional) Input true, if this account needs to be excluded from Batch Operations like Bulk Invoice Run, Invoice Generation. Default is false. This is an optional field.
        - `excludeFromDunning` boolean — (optional) Input true, if this account needs to be excluded from Dunning emails. Default is false. This is an optional field.
        - `supportedPaymentTypes` string[] — (optional) Supported payment types for this Account. This field can include various payment types such as ACH, Card, Check, Wire, and Invoice. This is an optional field.
        - `address` AccountAddressJson
          - `streetAddressLine1` string — Address Line 1 of the Contact
          - `streetAddressLine2` string — Address Line 2 of the Contact
          - `streetAddressLine3` string — Address Line 3 of the Contact
          - `city` string — City of the Contact
          - `state` string — State Code of the Contact (ISO 3166-2 state/province code). Currently supported for USA, Canada. For instance, for Arizona (USA), set state as AZ (not US-AZ).For British Columbia (Canada), set as BC (not CA-BC)
          - `country` string — Country Code of the Contact ( ISO 3166 alpha-2 country code).
          - `zipcode` string — Zip or Postal Code of the Contact
        - `updatedOn` integer — (optional) will be auto-populated as today's date
        - `customFields` object — (optional) Use this option to create custom fields for the Account object if you need to collect Account-specific information, such as region, age, or gender.
        - `entityIds` string[] — (optional) Enter the entity ID where this Account belongs to
      - `accountIds` string[]
  - `failureReason` string
  - `createdOn` integer
  - `updatedOn` integer

---

[API](https://skmtc.net/dealhub/apis/quote-api.md) · [All operations](https://skmtc.net/dealhub/apis/quote-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dealhub/quote-api/versions/c30f5b9fbfab/schema)
