API Definition to interact with Prana platform
Prana API (1.0)
https://api.prana.software/api/v1/customer/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.prana.software/api/v1/customer/{id}'OK
Date when customer became inactive. Format: yyyy-MM-dd
True if a single delivery note per order is required.
True if delivery notes must be evaluated for this customer.
List of customer addresses. See ApiCustomerAddressListReadDto.java for structure.
When information was last updated. Format: yyyy-MM-dd'T'HH:mm:ss
List of customer observations. See ApiCustomerObservationListReadDto.java for structure.
List of files associated to the customer. See ApiCustomerFileListReadDto.java for structure.
True if billing and shipping address are the same.
Administration center - accounting office.
Administration center - managing body.
Administration center - proposing body.
{ "id": 1201, "activity": { "id": 1, "code": "COM-01", "description": "Wholesale Commerce" }, "brand": { "id": 1, "code": "NIKE" }, "vat": { "id": 1, "code": "GENERAL", "description": "General VAT type" }, "initialSeason": { "id": 1, "code": "string", "description": "string", "isCurrent": true, "startDate": "2019-08-24", "endDate": "2019-08-24" }, "country": { "id": 1, "code": 724, "description": "Spain", "isoCode": "US", "customerVatType": "GENERAL", "geographicalLocation": "NATIONAL" }, "state": { "id": 1, "code": "string", "description": "string", "country": { … }, "isoCode": "string" }, "cif": "B12345678", "name": "Acme S.A.", "postalCode": "03001", "city": "Alicante", "firstPhoneNumber": "+34600111222", "secondPhoneNumber": "+34600333444", "address": "Av. de la Estación, 5", "email": "info@acme.es", "code": 10001, "idKey": "NIF", "commercialName": "Acme España", "creationDate": "2020-01-01", "inactiveDate": "2023-08-07", "ownSupplier": "SUPPL001", "invoiceGrouping": "DELIVERY_NOTES", "isSingleDeliveryNotePerOrder": false, "showPVPR": true, "evaluateDeliveryNote": false, "servicePriority": 1, "ordersCopies": 1, "deliveryNoteCopies": 1, "packingCopies": 1, "invoicesCopies": 1, "activeB2b": true, "b2bUser": "acmeusr", "ropoCode": "ROPO-2020-CR-001", "ropoExpireDate": "2025-12-31", "productSupplier": false, "manager": { "id": 123, "name": "John Doe", "email": "john.doe@example.com" }, "unitsSold": 12000.5, "unitsSend": 12500, "pendingSend": 200, "billed": 15400.2, "amountDue": 1500, "unpaid": 500, "customerAddresses": [ { … } ], "geographicalLocation": "NATIONAL", "language": { "id": 1, "code": "ES", "description": "Spanish", "isoCode": "EN" }, "isActive": true, "paymentMethod": { "id": 1, "code": 1, "description": "Transferencia bancaria", "document": "Contrato", "firstTerm": 30, "terms": 3, "daysTerms": 30, "remittance": true, "addToCustomerBase": true, "serveFullPrePaid": false, "observations": "Requiere verificación bancaria", "icon": "fa-credit-card", "facturaECode": "01" }, "firstTerm": 30, "terms": 1, "daysTerms": 30, "proximityType": "NEARBY", "discount1": 5, "discount2": 2, "discount3": 1.5, "discount4": 0, "discountPp": 1, "withholding": 0, "noProgressiveDiscounts": false, "paymentDay1": 10, "paymentDay2": 20, "paymentDay3": 30, "weekday": "MONDAY", "account": "ES9820385778983000760236", "swift": "CAIXESBBXXX", "bic": "CAIXESBBXXX", "sepaDate": "2022-06-17", "currency": { "id": 1, "code": "strin", "description": "string", "nomenclature": "strin", "isoCode": "USD", "changeValue": 0, "significantDecimalsDocuments": 0, "intermediateDecimalsDocuments": 0, "decimalsCalculatePrices": 0, "decimalsCalculateCosts": 0 }, "rateCode": { "id": 1, "code": "string", "taxesIncluded": true }, "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "salesAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "bankName": "Santander", "contactPerson": "Juan Pérez", "web": "https://www.acme.es", "modifiedOn": "2024-08-07T12:30:00", "picture": "https://www.acme.es/logo.png", "pictureToken": "xyz-token-241235", "observations": [ { … } ], "files": [ { … } ], "incomeTaxRate": 19, "sameBillingAndShippingAddress": true, "irpfType": "LEASES", "tags": [ "VIP", "EXPORT" ], "administrativeCenterAccountingOffice": "CC AA Madrid", "administrativeCenterManagingBody": "Dirección Territorial", "administrativeCenterProcessingUnit": "P-1236", "administrativeCenterProposingBody": "Oficina Central", "vatOperationType": { "id": 1, "code": "E01", "description": "Intra-community acquisition of goods", "model347": true, "model349": false } }
Identifier for main activity. See ApiCustomerActivityListReadDto.java for structure.
Identifier for the associated brand. See ApiBrandListReadDto.java for structure.
Identifier for VAT type. See ApiCustomerVatTypeListReadDto.java for structure.
Identifier for initial season. See ApiSeasonListReadDto.java for structure.
Date when customer became inactive. Format: yyyy-MM-dd
True if a single delivery note per order is required.
Priority in services assigned to the customer (0-100).
List of addresses for the customer. See ApiCustomerAddressWriteDto.java for structure.
Identifier for main language. See ApiLanguageListReadDto.java for structure.
Identifier for payment method. See ApiPaymentMethodListReadDto.java for structure.
Payment method observation description.
Customer's bank account number.
Identifier for the currency. See ApiCurrencyListReadDto.java for structure.
Identifier for the rate code. See ApiRateCodeListReadDto.java for structure.
Accounting account identifier. See ApiChartAccountListReadDto.java for structure.
Sales account identifier. See ApiChartAccountListReadDto.java for structure.
Observations for the customer. See ApiCustomerObservationWriteDto.java for structure.
Associated file records for the customer. See ApiCustomerFileWriteDto.java for structure.
True if billing and shipping address are the same.
Administration center - accounting office.
Administration center - managing body.
Administration center - proposing body.
https://api.prana.software/api/v1/customer/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api.prana.software/api/v1/customer/{id}' \
-H 'Content-Type: application/json' \
-d '{
"code": 10001,
"activity": 5,
"brand": 2,
"vat": 1,
"initialSeason": 4,
"country": 34,
"state": 3,
"cif": "B12345678",
"name": "Acme S.A.",
"postalCode": "03001",
"city": "Alicante",
"address": "Av. de la Estación, 5",
"firstPhoneNumber": "+34600111222",
"secondPhoneNumber": "+34600333444",
"email": "info@acme.es",
"idKey": "NIF",
"commercialName": "Acme España",
"ownSupplier": "SUPPL001",
"isActive": true,
"creationDate": "2020-01-01",
"inactiveDate": "2023-08-07",
"invoiceGrouping": "DELIVERY_NOTES",
"isSingleDeliveryNotePerOrder": false,
"showPVPR": true,
"evaluateDeliveryNote": false,
"servicePriority": 1,
"ordersCopies": 1,
"deliveryNoteCopies": 1,
"packingCopies": 1,
"invoicesCopies": 1,
"activeB2b": true,
"b2bUser": "acmeusr",
"ropoCode": "ROPO-2020-CR-001",
"ropoExpireDate": "2025-12-31",
"productSupplier": false,
"commercialRoute": "EAST-01",
"manager": "jdoe",
"customerAddresses": [
{
"id": 5123,
"customer": 10001,
"code": 1,
"name": "Headquarters",
"address": "Main Street, 22",
"country": 34,
"state": 3,
"representative1": 10,
"representative1commission": 3,
"representative1commissionType": "PERCENTAGE",
"representative2": 11,
"representative2commission": 2,
"representative2commissionType": "PERCENTAGE",
"representative3": 12,
"representative3commission": 1.5,
"representative3commissionType": "PERCENTAGE",
"representative4": 13,
"representative4commission": 1,
"representative4commissionType": "PERCENTAGE",
"representative5": 14,
"representative5commission": 0.5,
"representative5commissionType": "PERCENTAGE",
"city": "Alicante",
"postalCode": "03001",
"firstPhoneNumber": "+34965123456",
"secondPhoneNumber": "+34965111111",
"buyerEDI": "EDI_BUY_123",
"warehouseEDI": "EDI_WARE_001",
"observations": "Main customer delivery address",
"agency": 5,
"shippingTerm": 2,
"isActive": true,
"defaultAddress": true,
"email": "direccion@acme.es",
"noProgressiveDiscounts": false,
"billingSeries": 101,
"billingSeriesCorrective": 102,
"updateAllDelegations": false
}
],
"geographicalLocation": "NATIONAL",
"language": 1,
"paymentMethod": 2,
"isPaymentMethodRequired": true,
"firstTerm": 30,
"terms": 1,
"daysTerms": 30,
"proximityType": "NEARBY",
"discount1": 5,
"discount2": 2,
"discount3": 1.5,
"discount4": 0,
"discountPp": 1,
"withholding": 19,
"paymentDay1": 10,
"paymentDay2": 20,
"paymentDay3": 30,
"weekday": "MONDAY",
"paymentMethodObservation": 9,
"paymentMethodObservationDescription": "Special payment terms",
"account": "ES9820385778983000760236",
"swift": "CAIXESBBXXX",
"bic": "CAIXESBBXXX",
"sepaDate": "2022-06-17",
"currency": 1,
"rateCode": 1,
"accountingAccount": 101,
"salesAccount": 102,
"web": "https://www.acme.es",
"picture": "https://www.acme.es/logo.png",
"bankName": "Santander",
"contactPerson": "Juan Pérez",
"observations": [
{
"id": 0,
"title": "string",
"description": "string"
}
],
"files": [
{
"id": 0,
"token": "string",
"fileName": "string",
"fileExtension": "string",
"fileSize": 0
}
],
"incomeTaxRate": 19,
"sameBillingAndShippingAddress": true,
"irpfType": "LEASES",
"tags": [
"VIP",
"EXPORT"
],
"administrativeCenterAccountingOffice": "CC AA Madrid",
"administrativeCenterManagingBody": "Dirección Territorial",
"administrativeCenterProcessingUnit": "P-1236",
"administrativeCenterProposingBody": "Oficina Central",
"vatOperationType": 1
}'OK
Date when customer became inactive. Format: yyyy-MM-dd
True if a single delivery note per order is required.
True if delivery notes must be evaluated for this customer.
List of customer addresses. See ApiCustomerAddressListReadDto.java for structure.
When information was last updated. Format: yyyy-MM-dd'T'HH:mm:ss
List of customer observations. See ApiCustomerObservationListReadDto.java for structure.
List of files associated to the customer. See ApiCustomerFileListReadDto.java for structure.
True if billing and shipping address are the same.
Administration center - accounting office.
Administration center - managing body.
Administration center - proposing body.
{ "id": 1201, "activity": { "id": 1, "code": "COM-01", "description": "Wholesale Commerce" }, "brand": { "id": 1, "code": "NIKE" }, "vat": { "id": 1, "code": "GENERAL", "description": "General VAT type" }, "initialSeason": { "id": 1, "code": "string", "description": "string", "isCurrent": true, "startDate": "2019-08-24", "endDate": "2019-08-24" }, "country": { "id": 1, "code": 724, "description": "Spain", "isoCode": "US", "customerVatType": "GENERAL", "geographicalLocation": "NATIONAL" }, "state": { "id": 1, "code": "string", "description": "string", "country": { … }, "isoCode": "string" }, "cif": "B12345678", "name": "Acme S.A.", "postalCode": "03001", "city": "Alicante", "firstPhoneNumber": "+34600111222", "secondPhoneNumber": "+34600333444", "address": "Av. de la Estación, 5", "email": "info@acme.es", "code": 10001, "idKey": "NIF", "commercialName": "Acme España", "creationDate": "2020-01-01", "inactiveDate": "2023-08-07", "ownSupplier": "SUPPL001", "invoiceGrouping": "DELIVERY_NOTES", "isSingleDeliveryNotePerOrder": false, "showPVPR": true, "evaluateDeliveryNote": false, "servicePriority": 1, "ordersCopies": 1, "deliveryNoteCopies": 1, "packingCopies": 1, "invoicesCopies": 1, "activeB2b": true, "b2bUser": "acmeusr", "ropoCode": "ROPO-2020-CR-001", "ropoExpireDate": "2025-12-31", "productSupplier": false, "manager": { "id": 123, "name": "John Doe", "email": "john.doe@example.com" }, "unitsSold": 12000.5, "unitsSend": 12500, "pendingSend": 200, "billed": 15400.2, "amountDue": 1500, "unpaid": 500, "customerAddresses": [ { … } ], "geographicalLocation": "NATIONAL", "language": { "id": 1, "code": "ES", "description": "Spanish", "isoCode": "EN" }, "isActive": true, "paymentMethod": { "id": 1, "code": 1, "description": "Transferencia bancaria", "document": "Contrato", "firstTerm": 30, "terms": 3, "daysTerms": 30, "remittance": true, "addToCustomerBase": true, "serveFullPrePaid": false, "observations": "Requiere verificación bancaria", "icon": "fa-credit-card", "facturaECode": "01" }, "firstTerm": 30, "terms": 1, "daysTerms": 30, "proximityType": "NEARBY", "discount1": 5, "discount2": 2, "discount3": 1.5, "discount4": 0, "discountPp": 1, "withholding": 0, "noProgressiveDiscounts": false, "paymentDay1": 10, "paymentDay2": 20, "paymentDay3": 30, "weekday": "MONDAY", "account": "ES9820385778983000760236", "swift": "CAIXESBBXXX", "bic": "CAIXESBBXXX", "sepaDate": "2022-06-17", "currency": { "id": 1, "code": "strin", "description": "string", "nomenclature": "strin", "isoCode": "USD", "changeValue": 0, "significantDecimalsDocuments": 0, "intermediateDecimalsDocuments": 0, "decimalsCalculatePrices": 0, "decimalsCalculateCosts": 0 }, "rateCode": { "id": 1, "code": "string", "taxesIncluded": true }, "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "salesAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "bankName": "Santander", "contactPerson": "Juan Pérez", "web": "https://www.acme.es", "modifiedOn": "2024-08-07T12:30:00", "picture": "https://www.acme.es/logo.png", "pictureToken": "xyz-token-241235", "observations": [ { … } ], "files": [ { … } ], "incomeTaxRate": 19, "sameBillingAndShippingAddress": true, "irpfType": "LEASES", "tags": [ "VIP", "EXPORT" ], "administrativeCenterAccountingOffice": "CC AA Madrid", "administrativeCenterManagingBody": "Dirección Territorial", "administrativeCenterProcessingUnit": "P-1236", "administrativeCenterProposingBody": "Oficina Central", "vatOperationType": { "id": 1, "code": "E01", "description": "Intra-community acquisition of goods", "model347": true, "model349": false } }
Identifier for main activity. See ApiCustomerActivityListReadDto.java for structure.
Identifier for the associated brand. See ApiBrandListReadDto.java for structure.
Identifier for VAT type. See ApiCustomerVatTypeListReadDto.java for structure.
Identifier for initial season. See ApiSeasonListReadDto.java for structure.
Date when customer became inactive. Format: yyyy-MM-dd
True if a single delivery note per order is required.
Priority in services assigned to the customer (0-100).
List of addresses for the customer. See ApiCustomerAddressWriteDto.java for structure.
Identifier for main language. See ApiLanguageListReadDto.java for structure.
Identifier for payment method. See ApiPaymentMethodListReadDto.java for structure.
Payment method observation description.
Customer's bank account number.
Identifier for the currency. See ApiCurrencyListReadDto.java for structure.
Identifier for the rate code. See ApiRateCodeListReadDto.java for structure.
Accounting account identifier. See ApiChartAccountListReadDto.java for structure.
Sales account identifier. See ApiChartAccountListReadDto.java for structure.
Observations for the customer. See ApiCustomerObservationWriteDto.java for structure.
Associated file records for the customer. See ApiCustomerFileWriteDto.java for structure.
True if billing and shipping address are the same.
Administration center - accounting office.
Administration center - managing body.
Administration center - proposing body.
https://api.prana.software/api/v1/customer
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.prana.software/api/v1/customer \
-H 'Content-Type: application/json' \
-d '{
"code": 10001,
"activity": 5,
"brand": 2,
"vat": 1,
"initialSeason": 4,
"country": 34,
"state": 3,
"cif": "B12345678",
"name": "Acme S.A.",
"postalCode": "03001",
"city": "Alicante",
"address": "Av. de la Estación, 5",
"firstPhoneNumber": "+34600111222",
"secondPhoneNumber": "+34600333444",
"email": "info@acme.es",
"idKey": "NIF",
"commercialName": "Acme España",
"ownSupplier": "SUPPL001",
"isActive": true,
"creationDate": "2020-01-01",
"inactiveDate": "2023-08-07",
"invoiceGrouping": "DELIVERY_NOTES",
"isSingleDeliveryNotePerOrder": false,
"showPVPR": true,
"evaluateDeliveryNote": false,
"servicePriority": 1,
"ordersCopies": 1,
"deliveryNoteCopies": 1,
"packingCopies": 1,
"invoicesCopies": 1,
"activeB2b": true,
"b2bUser": "acmeusr",
"ropoCode": "ROPO-2020-CR-001",
"ropoExpireDate": "2025-12-31",
"productSupplier": false,
"commercialRoute": "EAST-01",
"manager": "jdoe",
"customerAddresses": [
{
"id": 5123,
"customer": 10001,
"code": 1,
"name": "Headquarters",
"address": "Main Street, 22",
"country": 34,
"state": 3,
"representative1": 10,
"representative1commission": 3,
"representative1commissionType": "PERCENTAGE",
"representative2": 11,
"representative2commission": 2,
"representative2commissionType": "PERCENTAGE",
"representative3": 12,
"representative3commission": 1.5,
"representative3commissionType": "PERCENTAGE",
"representative4": 13,
"representative4commission": 1,
"representative4commissionType": "PERCENTAGE",
"representative5": 14,
"representative5commission": 0.5,
"representative5commissionType": "PERCENTAGE",
"city": "Alicante",
"postalCode": "03001",
"firstPhoneNumber": "+34965123456",
"secondPhoneNumber": "+34965111111",
"buyerEDI": "EDI_BUY_123",
"warehouseEDI": "EDI_WARE_001",
"observations": "Main customer delivery address",
"agency": 5,
"shippingTerm": 2,
"isActive": true,
"defaultAddress": true,
"email": "direccion@acme.es",
"noProgressiveDiscounts": false,
"billingSeries": 101,
"billingSeriesCorrective": 102,
"updateAllDelegations": false
}
],
"geographicalLocation": "NATIONAL",
"language": 1,
"paymentMethod": 2,
"isPaymentMethodRequired": true,
"firstTerm": 30,
"terms": 1,
"daysTerms": 30,
"proximityType": "NEARBY",
"discount1": 5,
"discount2": 2,
"discount3": 1.5,
"discount4": 0,
"discountPp": 1,
"withholding": 19,
"paymentDay1": 10,
"paymentDay2": 20,
"paymentDay3": 30,
"weekday": "MONDAY",
"paymentMethodObservation": 9,
"paymentMethodObservationDescription": "Special payment terms",
"account": "ES9820385778983000760236",
"swift": "CAIXESBBXXX",
"bic": "CAIXESBBXXX",
"sepaDate": "2022-06-17",
"currency": 1,
"rateCode": 1,
"accountingAccount": 101,
"salesAccount": 102,
"web": "https://www.acme.es",
"picture": "https://www.acme.es/logo.png",
"bankName": "Santander",
"contactPerson": "Juan Pérez",
"observations": [
{
"id": 0,
"title": "string",
"description": "string"
}
],
"files": [
{
"id": 0,
"token": "string",
"fileName": "string",
"fileExtension": "string",
"fileSize": 0
}
],
"incomeTaxRate": 19,
"sameBillingAndShippingAddress": true,
"irpfType": "LEASES",
"tags": [
"VIP",
"EXPORT"
],
"administrativeCenterAccountingOffice": "CC AA Madrid",
"administrativeCenterManagingBody": "Dirección Territorial",
"administrativeCenterProcessingUnit": "P-1236",
"administrativeCenterProposingBody": "Oficina Central",
"vatOperationType": 1
}'OK
Date when customer became inactive. Format: yyyy-MM-dd
True if a single delivery note per order is required.
True if delivery notes must be evaluated for this customer.
List of customer addresses. See ApiCustomerAddressListReadDto.java for structure.
When information was last updated. Format: yyyy-MM-dd'T'HH:mm:ss
List of customer observations. See ApiCustomerObservationListReadDto.java for structure.
List of files associated to the customer. See ApiCustomerFileListReadDto.java for structure.
True if billing and shipping address are the same.
Administration center - accounting office.
Administration center - managing body.
Administration center - proposing body.
{ "id": 1201, "activity": { "id": 1, "code": "COM-01", "description": "Wholesale Commerce" }, "brand": { "id": 1, "code": "NIKE" }, "vat": { "id": 1, "code": "GENERAL", "description": "General VAT type" }, "initialSeason": { "id": 1, "code": "string", "description": "string", "isCurrent": true, "startDate": "2019-08-24", "endDate": "2019-08-24" }, "country": { "id": 1, "code": 724, "description": "Spain", "isoCode": "US", "customerVatType": "GENERAL", "geographicalLocation": "NATIONAL" }, "state": { "id": 1, "code": "string", "description": "string", "country": { … }, "isoCode": "string" }, "cif": "B12345678", "name": "Acme S.A.", "postalCode": "03001", "city": "Alicante", "firstPhoneNumber": "+34600111222", "secondPhoneNumber": "+34600333444", "address": "Av. de la Estación, 5", "email": "info@acme.es", "code": 10001, "idKey": "NIF", "commercialName": "Acme España", "creationDate": "2020-01-01", "inactiveDate": "2023-08-07", "ownSupplier": "SUPPL001", "invoiceGrouping": "DELIVERY_NOTES", "isSingleDeliveryNotePerOrder": false, "showPVPR": true, "evaluateDeliveryNote": false, "servicePriority": 1, "ordersCopies": 1, "deliveryNoteCopies": 1, "packingCopies": 1, "invoicesCopies": 1, "activeB2b": true, "b2bUser": "acmeusr", "ropoCode": "ROPO-2020-CR-001", "ropoExpireDate": "2025-12-31", "productSupplier": false, "manager": { "id": 123, "name": "John Doe", "email": "john.doe@example.com" }, "unitsSold": 12000.5, "unitsSend": 12500, "pendingSend": 200, "billed": 15400.2, "amountDue": 1500, "unpaid": 500, "customerAddresses": [ { … } ], "geographicalLocation": "NATIONAL", "language": { "id": 1, "code": "ES", "description": "Spanish", "isoCode": "EN" }, "isActive": true, "paymentMethod": { "id": 1, "code": 1, "description": "Transferencia bancaria", "document": "Contrato", "firstTerm": 30, "terms": 3, "daysTerms": 30, "remittance": true, "addToCustomerBase": true, "serveFullPrePaid": false, "observations": "Requiere verificación bancaria", "icon": "fa-credit-card", "facturaECode": "01" }, "firstTerm": 30, "terms": 1, "daysTerms": 30, "proximityType": "NEARBY", "discount1": 5, "discount2": 2, "discount3": 1.5, "discount4": 0, "discountPp": 1, "withholding": 0, "noProgressiveDiscounts": false, "paymentDay1": 10, "paymentDay2": 20, "paymentDay3": 30, "weekday": "MONDAY", "account": "ES9820385778983000760236", "swift": "CAIXESBBXXX", "bic": "CAIXESBBXXX", "sepaDate": "2022-06-17", "currency": { "id": 1, "code": "strin", "description": "string", "nomenclature": "strin", "isoCode": "USD", "changeValue": 0, "significantDecimalsDocuments": 0, "intermediateDecimalsDocuments": 0, "decimalsCalculatePrices": 0, "decimalsCalculateCosts": 0 }, "rateCode": { "id": 1, "code": "string", "taxesIncluded": true }, "accountingAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "salesAccount": { "id": 1, "code": 1000, "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": 100, "parentDescription": "Assets" }, "bankName": "Santander", "contactPerson": "Juan Pérez", "web": "https://www.acme.es", "modifiedOn": "2024-08-07T12:30:00", "picture": "https://www.acme.es/logo.png", "pictureToken": "xyz-token-241235", "observations": [ { … } ], "files": [ { … } ], "incomeTaxRate": 19, "sameBillingAndShippingAddress": true, "irpfType": "LEASES", "tags": [ "VIP", "EXPORT" ], "administrativeCenterAccountingOffice": "CC AA Madrid", "administrativeCenterManagingBody": "Dirección Territorial", "administrativeCenterProcessingUnit": "P-1236", "administrativeCenterProposingBody": "Oficina Central", "vatOperationType": { "id": 1, "code": "E01", "description": "Intra-community acquisition of goods", "model347": true, "model349": false } }
https://api.prana.software/api/v1/customer/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.prana.software/api/v1/customer/search \
-H 'Content-Type: application/json' \
-d '{
"condition": {
"field": "name",
"value": "Example Value",
"type": "EQ",
"endValue": 100,
"innerConditions": [
{}
],
"conditionType": "AND",
"empty": false,
"compareFields": false
},
"sortCriteria": [
{
"sortField": "name",
"sortDirection": "ASC"
}
],
"pageNumber": 0,
"pageSize": 20
}'OK
List of data items for the current page
Date of customer creation. Format: yyyy-MM-dd
Date when customer became inactive. Format: yyyy-MM-dd
If true, payment method requires all amount prepaid.
When information was last updated. Format: yyyy-MM-dd'T'HH:mm:ss
{ "data": [ { … } ], "page": 0, "total": 150, "pages": 14, "size": 10 }