LogicTrade API
  1. Invoice
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
        GET
      • Retrieve a invoice by id
        GET
      • Create a invoice
        POST
      • Update a invoice
        PUT
    • 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. Invoice

List all invoices

GET
/rest/v1/invoices
Returns a list of your invoices. The invoices are returned sorted by id, with the most recent order appearing first.

Request

Authorization
Add parameter in header
api-key
Example:
api-key: ********************
Query Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.logictrade.cloud/rest/v1/invoices?pageSize=100&pageNumber=1&number=&reference=&originCode=&customerNumber=&modifiedAfter=' \
--header 'api-key;'

Responses

🟢200OK
application/json
Body

Example
{
    "pagination": {
        "totalResults": 3,
        "pageNumber": 1,
        "pageSize": 3,
        "totalPages": 1
    },
    "results": [
        {
            "id": 2,
            "number": "",
            "date": null,
            "reference": "",
            "externNumber": "",
            "origin": {
                "code": "WIN",
                "description": "Winkel"
            },
            "customer": {
                "id": 13,
                "number": "R000000008",
                "gender": "Man",
                "title": "Dhr.",
                "initials": "J",
                "firstName": "Jan",
                "infix": "",
                "lastName": "Jansen",
                "companyName": "",
                "phoneNumber": "",
                "mobileNumber": "06-12345678",
                "email": "jan@jansen.com",
                "remark": "",
                "address": {
                    "street": "Wethouder Buitenhuisstraat",
                    "houseNumber": "2B",
                    "zipCode": "7951 SM",
                    "city": "Staphorst",
                    "country": "NL"
                }
            },
            "invoiceAddress": {
                "street": "Wethouder Buitenhuisstraat",
                "houseNumber": "2B",
                "zipCode": "7951 SM",
                "city": "Staphorst",
                "country": "NL"
            },
            "paymentCondition": {
                "id": 1,
                "description": "Pin / contant bij levering",
                "code": "PC"
            },
            "payments": [],
            "comment": {
                "intern": "",
                "extern": ""
            },
            "lines": [
                {
                    "id": 1,
                    "lineNumber": "10",
                    "code": "LT00000043",
                    "description": "Barstoelen",
                    "salesGroup": {
                        "code": "8010",
                        "description": "Barstoelen Meubels"
                    },
                    "quantity": 3,
                    "partPrice": 123,
                    "discount": 0,
                    "linePrice": 369,
                    "vat": 21,
                    "comment": {
                        "intern": "",
                        "extern": ""
                    },
                    "configuration": {
                        "id": 0,
                        "items": []
                    }
                }
            ],
            "totalAmount": 369
        },
        {
            "id": 3,
            "number": "",
            "date": null,
            "reference": "",
            "externNumber": "",
            "origin": {
                "code": "",
                "description": ""
            },
            "customer": {
                "id": 14,
                "number": "R000000009",
                "gender": "Man",
                "title": "Dhr.",
                "initials": "J.",
                "firstName": "Jan",
                "infix": "",
                "lastName": "Jansen",
                "companyName": "",
                "phoneNumber": "",
                "mobileNumber": "06-12345678",
                "email": "jan@jansen.com",
                "remark": "",
                "address": {
                    "street": "Wethouder Buitenhuisstraat",
                    "houseNumber": "2B",
                    "zipCode": "7951 SM",
                    "city": "Staphorst",
                    "country": "NL"
                }
            },
            "invoiceAddress": {
                "street": "Wethouder Buitenhuisstraat",
                "houseNumber": "2B",
                "zipCode": "7951 SM",
                "city": "Staphorst",
                "country": "NL"
            },
            "paymentCondition": {
                "id": 1,
                "description": "Pin / contant bij levering",
                "code": "PC"
            },
            "payments": [],
            "comment": {
                "intern": "",
                "extern": ""
            },
            "lines": [],
            "totalAmount": 0
        },
        {
            "id": 4,
            "number": "F24000001",
            "date": "2024-04-05T08:30:05.293",
            "reference": "",
            "externNumber": "",
            "origin": {
                "code": "",
                "description": ""
            },
            "customer": {
                "id": 10,
                "number": "R000000005",
                "gender": "Man",
                "title": "Dhr.",
                "initials": "J.",
                "firstName": "Jan",
                "infix": "",
                "lastName": "Jansen",
                "companyName": "",
                "phoneNumber": "",
                "mobileNumber": "06-12345678",
                "email": "jan@jansen.com",
                "remark": "Niet beschikbaar op maandag en dinsdag!",
                "address": {
                    "street": "Wethouder Buitenhuisstraat",
                    "houseNumber": "2B",
                    "zipCode": "7951 SM",
                    "city": "Staphorst",
                    "country": "NL"
                }
            },
            "invoiceAddress": {
                "street": "Wethouder Buitenhuisstraat",
                "houseNumber": "2B",
                "zipCode": "7951 SM",
                "city": "Staphorst",
                "country": "NL"
            },
            "paymentCondition": {
                "id": 1,
                "description": "Pin / contant bij levering",
                "code": "PC"
            },
            "payments": [],
            "comment": {
                "intern": "",
                "extern": ""
            },
            "lines": [
                {
                    "id": 3,
                    "lineNumber": "10",
                    "code": "LT0000000075",
                    "description": "De wanden behandelen.",
                    "salesGroup": {
                        "code": "900",
                        "description": "Arbeid wanden"
                    },
                    "quantity": 1,
                    "partPrice": 50,
                    "discount": 10,
                    "linePrice": 50,
                    "vat": 0,
                    "comment": {
                        "intern": "",
                        "extern": ""
                    },
                    "configuration": {
                        "id": 0,
                        "items": []
                    }
                }
            ],
            "totalAmount": 50
        }
    ]
}
🟢204No Content
🟠403Forbidden
🟠422Parameter Error
Modified at 2025-06-06 08:19:21
Previous
Invoice
Next
Retrieve a invoice by id