---
title: "Create a Bill"
method: POST
path: "/v2/accounting/bills"
tags: ["Bills"]
---

# Create a Bill

`POST /v2/accounting/bills`

**Supported for:**

`freshbooks` `quickbooks` `xero` `oracleNetsuite` `sageBusinessCloud` `sageIntacct` `dynamicsBusinessCentral` `myob` `zohoBooks`

## Request body

- PushBillV2Dto
  - `connectionUuid` string, required — Unique connection identifier.
  - `data` PushBillV2, required
    - `vendorInvoiceNumber` string
    - `postedDate` string, date
    - `dueDate` string, date
    - `currencyRate` number, float
    - `memo` string
    - `vendorRef` VendorRefDto, required
      - `id` string, required
    - `currency` string
    - `subsidiaryRefs` SubsidiaryRefDto[]
      - `id` string, required
    - `lines` PushBillLineItemV2[], required
      - `id` string
      - `accountRef` AccountRefDto
        - `id` string, required
      - `trackingCategoryRefs` BillTrackingCategoryRefDto[]
        - `id` string, required
        - `type` 'class' | 'department' | 'location' | 'unknown'
      - `taxRateRef` TaxRateRefDto
        - `id` string, required
      - `description` string
      - `unitAmount` number, float, required
      - `quantity` number, float, required
      - `customerRef` CustomerObjectRefDto
        - `id` string, required
      - `billableStatus` 'billable' | 'notBillable' | 'hasBeenBilled'
      - `discountPercentage` number, float
      - `inventoryRef` InventoryRefDto
        - `id` string, required
      - `taxAmount` number, float
    - `purchaseOrderRefs` PurchaseOrderRefDto[]
      - `id` string, required
    - `passThrough` object
    - `billType` 'item' | 'service' | 'professional' | 'miscellaneous'

## Response `200`

- PushBillResponseV2Dto
  - `connectionUuid` string, required
  - `businessName` string, required
  - `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod', required
  - `pushCommunicationId` string, required
  - `requestedOn` string, date-time, required
  - `status` 'success' | 'failed' | 'pending', required
  - `data` PushBillV2, required
    - `vendorInvoiceNumber` string
    - `postedDate` string, date
    - `dueDate` string, date
    - `currencyRate` number, float
    - `memo` string
    - `vendorRef` VendorRefDto, required
      - `id` string, required
    - `currency` string
    - `subsidiaryRefs` SubsidiaryRefDto[]
      - `id` string, required
    - `lines` PushBillLineItemV2[], required
      - `id` string
      - `accountRef` AccountRefDto
        - `id` string, required
      - `trackingCategoryRefs` BillTrackingCategoryRefDto[]
        - `id` string, required
        - `type` 'class' | 'department' | 'location' | 'unknown'
      - `taxRateRef` TaxRateRefDto
        - `id` string, required
      - `description` string
      - `unitAmount` number, float, required
      - `quantity` number, float, required
      - `customerRef` CustomerObjectRefDto
        - `id` string, required
      - `billableStatus` 'billable' | 'notBillable' | 'hasBeenBilled'
      - `discountPercentage` number, float
      - `inventoryRef` InventoryRefDto
        - `id` string, required
      - `taxAmount` number, float
    - `purchaseOrderRefs` PurchaseOrderRefDto[]
      - `id` string, required
    - `passThrough` object
    - `billType` 'item' | 'service' | 'professional' | 'miscellaneous'

## Other responses

- `400` — Bad Request Error - Thrown if fields sent via query does not follow specifications
- `401` — Unauthorized - Not logged in or log in expired
- `403` — Forbidden - Not enough permission
- `500` — Server Error

---

[API](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api.md) · [All operations](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/railz/fis-accounting-data-as-a-service-api/revisions/5cdfae3fa1fa/schema)
