Skip to main content
POST
Create a quotation

Authorizations

Authorization
string
header
required

An API key created in BeanRails, for example brk_live_....

Body

application/json
contact_id
integer
required
document_date
string<date>
required
currency
string
required

A currency code set up in the workspace, for example MYR.

tax_selection
enum<string>
required

all applies every tax, none applies no tax and custom applies the taxes in custom_taxes.

Available options:
all,
none,
custom
items
object[]
required
Minimum array length: 1
addresses
object
required
document_due_date
string<date>
document_number
string

Required only when the workspace does not number documents automatically.

custom_taxes
integer[]

Tax IDs. Required when tax_selection is custom.

user_id
integer

The user to assign the document to. Defaults to the key owner. Changing it needs the assign_user permission.

work_id
integer

Invoices only. Links the invoice to a work that has no invoice yet.

discount_code
string
custom_discounts
object[]
is_use_shipping
boolean

When false, the billing address is also used for shipping.

payment_terms
string
remarks
string

Response

The created quotation.

data
object