Create Document

Create a new document type.

Log in to see full request history

❗️

Matching products or services

To match products or services you have already created inside Holded, you can use the "sku" field for products, or the "serviceId" field for services.

❗️

Purchase notes / Purchases receipts

If you want to create a purchase receipt, you will need to set the docType as purchase and add this field in your JSON:

  • "isReceipt": true
Path Params
string
required

docType should be one of: {invoice, salesreceipt, creditnote, salesorder, proform, waybill,estimate, purchase, purchaseorder or purchaserefund}

Body Params
boolean

Contact defaults are applied by default. If you don't want to apply it, set this field to false

string

(NIF / CIF / VAT) Field required if you want to choose an existing contact and contactId field is empty

string

(Contact ID) Field required if you want to choose an existing contact and contactCode field is empty

string

Field required if contactCode and contactId fields are empty and you want to create a new contact

string
string
string
string
string
string
string
integer
required
string
string

Set an existing account id

string
string
string
string

Choose the warehouse for your salesorder, purchaseorder or waybill.

boolean

Choose if the document needs to be approved or not. The default option is False.

items
array of objects
items
customFields
array of objects
customFields
string
string
string
number
tags
array of strings
tags
integer
string
string
string
string
string
number
Response

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json