LogicTrade API
  1. Endpoints
LogicTrade API
  • Authentication
  • Pagination
  • Rate limits
  • Error codes
  • Changelog
  • Configuration Service
  • Endpoints
    • Authentication
      • Introspection
    • Customer
      • List all customers
      • Retrieve a customer by id
      • Create a customer
      • Update a customer
      • Remove the customer
    • Supplier
      • List all suppliers
      • Retrieve a supplier by id
      • Create a supplier
      • Update a supplier
      • Remove the supplier
    • Product
      • Product
        • List all products
        • Retrieve a product by id
        • Create a product
        • Remove the products
        • Update a product
        • Search products
      • Groups
        • List all product groups
      • Discount
        • List all discounts for products
        • Get all discounts for product by id
        • List all discounts for customers
        • Get all discounts for a customer by id
      • Stock
        • Get stock for products
        • Search stock for products
      • Prices
        • Get product prices
      • Descriptions
        • Get the descriptions for a product
      • References
        • Get the product references
      • Compositions
        • Get product compositions
    • Quote
      • List all quotes
      • Retrieve a quote by id
      • Create a quote
      • Update a quote
    • Sales order
      • List all orders
      • Retrieve an orders by id
      • Create an order
      • Update an order
    • Invoice
      • List all invoices
      • Retrieve a invoice by id
      • Create a invoice
      • Update a invoice
    • Delivery
      • Get list of orders that can be delivered
      • Update the order with delivery information
    • Purchase order
      • List all purchase orders
      • Retrieve a purchase orders by id
      • Create a purchase order
      • Update a purchase order
  1. Endpoints

Invoice

Data Schema
Invoice
id
integer 
read-onlyrequired
The unique identifier of the invoice.
number
string 
optional
The invoice number of the invoice.
date
string <date>
The date of the order
optional
The invoice date of the invoice.
reference
string 
optional
The customer reference of the invoice.
externNumber
string 
read-onlyoptional
The unique external number of the invoice.
origin
object 
optional
The origin of the order.
id
integer 
optional
The unique identifier of origin.
code
string 
optional
description
string 
optional
customer
object (Customer) 
required
The customer for whom the invoice is made.
id
integer 
read-onlyrequired
The unique identifier of the customer.
number
string 
read-onlyoptional
A unique number with which the customer can be found.
gender
string 
optional
The customer's gender male/female/unknown
title
string 
optional
The title of the relation.
initials
string 
optional
The customer's initials.
firstName
string 
optional
The customer's first name.
infix
string 
optional
The infix of the relation. A new one will be created if the infix does not exist.
lastName
string 
optional
The customer's last name.
companyName
string 
optional
Only filled if it is a business customer and contains the customer's company name.
cocNumber
string 
optional
Chain of Custody Number (KvK number).
vatNumber
string 
optional
The VAT number (BTW nummer) of the customer.
phoneNumber
string 
optional
The first phone number of the customer.
phoneNumber2
string 
optional
The second phone number of the customer.
mobileNumber
string 
optional
The mobile phone number of the customer.
email
string 
optional
The e-mail adress of the customer
remark
string 
optional
Any customer comments.
address
object 
optional
The address of the customer.
invoiceAddress
object 
optional
The invoice address of the customer.
deliveryAddress
object 
optional
The delivery address of the customer.
newsLetter
boolean 
optional
This indicates whether the customer wants to receive a newsletter.
externNumbers
object 
optional
In this section, the external numbers are displayed. These numbers can be used by external applications.
birthdate
string <date>
optional
The customer’s birthdate.
modifiedDate
string <date-time>
optional
The date on which the entity was last modified.
createdDate
string <date-time>
optional
The date on which the entity was created.
invoiceAddress
object 
optional
The invoice address.
name
string 
optional
street
string 
optional
houseNumber
string 
optional
zipCode
string 
optional
city
string 
optional
country
string 
optional
phoneNumber
string 
optional
payments
array [object {3}] 
optional
The payments for the invoice.
amount
number <double>
optional
The amount which the customer paid.
type
string 
optional
The payment type which is used to do the payment.
method
string 
optional
The payment method in addition to the payment type.
comment
object 
optional
Comments related to the invoice.
intern
string 
required
extern
string 
required
lines
array [object {12}] 
required
The invoice lines.
id
integer 
read-onlyrequired
The unique identifier of the invoice line.
lineNumber
string 
optional
The line number of the invoice (this also determines the order of the invoice lines).
code
string 
required
The product code for this invoice line.
description
string 
optional
The description of the invoice line.
salesGroup
object 
required
The sales group of the product
quantity
number <double>
required
The quantity of the invoice line.
partPrice
number <double>
optional
The unit price of the product.
discount
number <double>
optional
The percentage discount.
linePrice
number <double>
read-onlyoptional
The invoice line price.
comment
object 
optional
Comments related to the invoice line.
configuration
object (Configuration) 
optional
The configuration of the product chosen for the invoice line.
vat
object 
optional
The VAT details applicable to the line item.
totalAmount
number <double>
read-onlyoptional
The total amount of the invoice (calculated field).
modifiedDate
string <date-time>
optional
The date on which the entity was last modified.
createdDate
string <date-time>
optional
The date on which the entity was created.
paymentCondition
object (PaymentCondition) 
optional
id
integer 
optional
The unique identifier of the payment condition.
code
string 
optional
The unique code of the payment condition. This can be used for creating invoices.
description
string 
optional
The payment condition description.
Modified at 2024-04-08 12:48:59
Previous
Update an order
Next
List all invoices