https://api.nook.io
Get a purchase by ID.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
purchase_id
1
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
purchase_id
Purchase Data
1
{
"issue_date": "1933-06-12",
"due_date": "1926-08-09",
"order_id": 52824551,
"inclusive_tax": true,
"line_items": []
}
List purchases.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
start
limit
name
q
Search on invoice, order, credit note number, reference, trading entity or supplier name or accounting system ID
status[]
Deprecated, use type, payment and trade status
is_draft
Deprecated, use type, payment and trade status
type[]
payment_status[]
state[]
is_approved
is_overdue
supplier_id
accounting_id
due_date_start
due_date_end
last_updated
sort
TotalDesc
DueDateDesc
IssueDateDesc
PaymentDateDesc
OrderDateDesc
CreditDateDesc
TotalAsc
deleted
query
1
Create a purchase.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
Purchase Data
1
{
"issue_date": "1900-12-09",
"invoice_number": "ex ut mollit cupidatat",
"order_number": "incididunt esse eiusmod",
"use_defaults": false,
"auto_submit": false,
"supplier_trading_entity_id": -81636203,
"currency_id": "GBR",
"inclusive_tax": false,
"visible_to_supplier": false
}
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
purchase_id
Data
1
{
"action": "accept_void_request"
}
Get an invoice from the accounting system and return it to the user.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get an invoice from the accounting system and create it in the database if it does not exist or update it if it does.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get a credit note from the accounting system and return it to the user.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get a credit note from the accounting system and create it in the database if it does not exist or update it if it does.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get an order from the accounting system and return it to the user.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get an order from the accounting system and create it in the database if it does not exist or update it if it does.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get textract from PDF associated with a purchase.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
purchase_id
1
Update allocations of invoices to orders
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
Order Allocations
1
{
"allocations": [
{
"order_id": [],
"order_line_item_id": -78767671,
"invoice_id": [],
"invoice_line_item_id": 75966053
},
{
"order_id": [],
"order_line_item_id": 81066547,
"invoice_id": [],
"invoice_line_item_id": -85007708
}
]
}
Get information about the company for whom you're calling the API.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
1
Discover for companies to connect to. Companies are retrieved from either Nook or a company register, such as Companies' House.
To search through companies you've connected to, use the /network
list endpoint.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
q
A search query, matching either in the company name or registration number
country_id
The country the resulting companies should be registered in as an ISO 3166 alpha-2 country code
sub_division_id
The country subdivision the resulting companies should be registered in as an ISO 3166-1 country subdivision code
1
Get a sale by ID.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
sale_id
1
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
sale_id
Sale Data
1
{
"issue_date": "1911-04-23",
"due_date": "1945-03-16",
"order_number": "qui",
"order_id": 88001504,
"inclusive_tax": true,
"type": "Invoice",
"line_items": [],
"visible_to_customer": false
}
List all sales.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
name
q
Search on invoice, order, credit note number, reference, trading entity or customer name or accounting system ID
start
limit
status[]
Deprecated, use type, payment and trade status
is_draft
Deprecated, use type, payment and trade status
type[]
payment_status[]
state[]
is_approved
is_overdue
customer_id
accounting_id
due_date_start
due_date_end
last_updated
sort
TotalDesc
DueDateDesc
IssueDateDesc
PaymentDateDesc
OrderDateDesc
CreditDateDesc
TotalAsc
deleted
query
1
Create a sale.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
Sale Data
1
{
"order_date": "1952-07-31",
"issue_date": "1933-12-11",
"order_number": "veniam",
"auto_submit": false,
"customer_trading_entity_id": -90589293,
"type": "Invoice",
"currency_id": "GBR"
}
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
sale_id
Data
1
{
"action": "accept_void_request"
}
Get an invoice from the accounting system and return it to the user.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get an invoice from the accounting system and create it in the database if it does not exist or update it if it does.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get a credit note from the accounting system and return it to the user.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get a credit note from the accounting system and create it in the database if it does not exist or update it if it does.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get an order from the accounting system and return it to the user.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get an order from the accounting system and create it in the database if it does not exist or update it if it does.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get the network edge for a connected company by its company ID.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
child_id
1
List all companies in your network.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
start
limit
q
A search query, matching either in the company name or registration number
query
sort
1
Connect to a company by either their company ID or registration
number. /network/connect
is the preferred way to connect to companies, as
it allows the automatic set-up of company detail, which makes
payments to these organisations more likely to succeed. The
/network/discover
endpoint can help you find the correct company.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
Connect Company Request
1
{
"supplier_or_customer": "Both",
"use_defaults": false,
"country_id": "BE",
"registration_number": "elit dolore Lorem pariatur consectetur"
}
Create a new company in the network. /network/connect
is the
preferred way to connect to companies. /network/new
should only be
used if the company cannot be found through /companies/discover
or
when the entity added to the network is an individual. Adding a new
company that has not been identified in a registry may cause delays
or other issues when paying the added company.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
New Organisation Request
1
{
"use_defaults": false,
"org_type": "Individual",
"country_id": "US",
"given_name": "John",
"family_name": "Smith",
"date_of_birth": "1925-01-20T04:03:49.0Z",
"document_type": "residency-permit",
"document_number": "123456789",
"document_issue_id": "US",
"document_issue_date": "1908-01-22",
"tax_number": "123456789"
}
Get a contact from the accounting system and return it to the user.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get a contact from the accounting system and create it in the database if it does not exist or update it if it does.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
accounting_id
1
Get a trading entity its ID.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
include_archived
trading_entity_id
1
Update the trading entity with the given ID.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
trading_entity_id
Data
1
{
"child_bank_account": {
"account_number": "non laboris officia",
"routing_code": "dolor occaecat consequat",
"int_bic": "dolore cupidatat ipsum laboris ad",
"int_iban": "irure dolore",
"currency_id": "GBR",
"bacs_account_number": "dolordes",
"override_cop_check": true
},
"is_default": false,
"default_email": "LNaJj-8xeJ1@wzweTcfKgQrhEDlqqhYp.pm",
"default_sale_tax_rate_id": "nostrud officia cupidat",
"default_purchase_tax_rate_id": "et velit",
"metadata": {}
}
Archive the trading entity.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
trading_entity_id
1
List all trading entities in your network.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
start
limit
include_archived
query
sort
1
create a trading entity.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
Data
1
{
"child_id": -32892635,
"child_bank_account": {
"routing_code": "sit aute Duis",
"currency_id": "GBR",
"bacs_account_number": "adipisic",
"holder_name": "dolore"
},
"name": "Nook",
"is_default": false,
"default_email": "OTXlZB7kqktK@fLjKUNebOPQemZDBxPfTAd.lj",
"default_sale_tax_rate_id": "irure in minim in amet",
"default_sale_account_id": "offic",
"default_purchase_tax_rate_id": "ullamco molli",
"default_purchase_account_id": "Duis d",
"use_defaults": false,
"metadata": -69336436
}
Get a tax rate by ID.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
tax_rate_id
1
List all tax rates.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
1
Approve or reject an invoice, credit not or order.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
Data
1
{
"trade_ids": [
64618346,
-43406003,
-86698686,
-66589250,
13662092
],
"status": "Approved"
}
Approve or reject a payment run.
Authorization
The Authorization
header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE
.
Data
1