Commercial name of the supplier.
Legal name of the supplier.
General observations about the supplier.
Geographical location type.
Date of supplier creation. Format: yyyy-MM-dd
Date when supplier became inactive. Format: yyyy-MM-dd
Associated customer identifier if supplier is also a customer.
Contact email address.
Proximity type for payment calculation.
Preferred payment weekday.
Payment method observation description.
Bank account number.
IRPF type for withholding tax.
Picture or logo for the supplier.
curl -i -X PUT \
'https://api.prana.software/api/v1/supplier/{id}' \
-H 'Content-Type: application/json' \
-d '{
"code": 20001,
"cif": "B87654321",
"commercialName": "Supplier Corp",
"name": "Supplier Corporation S.L.",
"address": "Calle Mayor, 10",
"country": 1,
"vat": 2,
"state": 28,
"postalCode": "28001",
"city": "Madrid",
"phone1": "+34911222333",
"phone2": "+34911444555",
"replacementTime": 7,
"language": 1,
"currency": 1,
"manufacturer": false,
"importer": true,
"active": true,
"notCreateOrder": false,
"observation": "Premium supplier with fast delivery",
"geographicalLocation": "CEUTA_MELILLA_CANARIAS",
"creationDate": "2021-03-15",
"inactiveDate": "2024-10-01",
"accountingAccount": 5,
"customer": 100,
"operator": 3,
"warehouse": 1,
"email": "contact@suppliercorp.com",
"paymentMethod": 2,
"terms": 3,
"daysFirstTerm": 30,
"daysBetweenTerms": 30,
"discount1": 3.5,
"discount2": 2,
"discountPp": 1.5,
"proximityType": "NEARBY",
"paymentDay1": 10,
"paymentDay2": 20,
"paymentDay3": 30,
"weekday": "MONDAY",
"paymentMethodObservation": 1,
"paymentMethodObservationDescription": "Bank transfer preferred",
"account": "ES7921000813610123456789",
"swift": "BBVAESMM",
"bic": "BBVAESMMXXX",
"agency": 2,
"shippingTerm": 1,
"ropoCode": "ES-12345-ROPO",
"ropoExpireDate": "2025-12-31",
"irpfType": "LEASES",
"picture": "https://www.suppliercorp.com/logo.png",
"bankName": "BBVA",
"contactPerson": "Juan GarcĂa",
"incomeTaxRate": 15,
"web": "https://www.suppliercorp.com",
"tags": [
"PREMIUM",
"INTERNATIONAL"
],
"observations": "",
"files": "",
"purchasingAccount": 7,
"vatOperationType": 1,
"reportLanguage": "EN"
}'OK
General observations about the supplier.
Geographical location type.
Date of supplier creation. Format: yyyy-MM-dd
Date when supplier became inactive. Format: yyyy-MM-dd
Associated customer information if supplier is also a customer.
Proximity type for payment calculation.
Preferred payment weekday.
Payment method observation description.
Bank account number.
IRPF type for withholding tax.
Picture or logo for the supplier.
Last modification date and time. Format: yyyy-MM-dd'T'HH:mm:ssXXX
{ "id": "", "code": 20001, "cif": "B87654321", "commercialName": "Supplier Corp", "vat": { "id": "", "code": "GENERAL", "description": "General VAT type" }, "name": "Supplier Corporation S.L.", "address": "Calle Mayor, 10", "country": null, "state": { "id": "", "code": "28", "description": "Madrid", "country": null, "isoCode": "ES-M" }, "postalCode": "28001", "city": "Madrid", "phone1": "+34911222333", "phone2": "+34911444555", "replacementTime": 7, "language": null, "currency": null, "manufacturer": false, "importer": true, "active": true, "notCreateOrder": false, "observation": "Premium supplier with fast delivery", "geographicalLocation": "CEUTA_MELILLA_CANARIAS", "creationDate": "2021-03-15", "inactiveDate": "2024-10-01", "accountingAccount": { "id": "", "code": "1000", "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": "100", "parentDescription": "Assets" }, "customer": null, "operator": null, "warehouse": { "id": "", "code": "ALM01", "description": "Central warehouse", "population": "Madrid", "active": true }, "email": "contact@suppliercorp.com", "paymentMethod": null, "terms": 3, "daysFirstTerm": 30, "daysBetweenTerms": 30, "discount1": 3.5, "discount2": 2, "discountPp": 1.5, "proximityType": "NEARBY", "paymentDay1": 10, "paymentDay2": 20, "paymentDay3": 30, "weekday": "MONDAY", "paymentMethodObservation": null, "paymentMethodObservationDescription": "Bank transfer preferred", "account": "ES7921000813610123456789", "swift": "BBVAESMM", "bic": "BBVAESMMXXX", "agency": { "id": "", "code": "AG001", "name": "Fast Transport Agency" }, "shippingTerm": null, "ropoCode": "ES-12345-ROPO", "ropoExpireDate": "2025-12-31", "tags": [ "PREMIUM", "INTERNATIONAL" ], "irpfType": "LEASES", "bankName": "BBVA", "contactPerson": "Juan GarcĂa", "picture": "https://www.suppliercorp.com/logo.png", "pictureToken": "a1b2c3d4e5f6", "incomeTaxRate": 15, "web": "https://www.suppliercorp.com", "modifiedOn": "2024-12-10T14:30:00+01:00", "observations": "", "files": "", "purchasingAccount": { "id": "", "code": "1000", "description": "Cash account", "cif": "B12345678", "active": true, "color": "#FF5733", "parentCode": "100", "parentDescription": "Assets" }, "vatOperationType": { "id": "", "code": "E01", "description": "Intra-community acquisition of goods", "model347": true, "model349": false, "selfImposed": false }, "reportLanguage": "EN" }