Skip to main content

Company Definitions Methods

MethodDescription
UpdCompDefUpdate company definition
getCompDefGet company definition

Update Company Definitions Method

REST API compDefApi/UpdCompDef

File Data

The following parameters should be included in a formdata object (see example here: https://docs.wizcloud.co.il/docs/files/#how-to-upload-a-file-via-postman )

FieldName-transTypeRequiredDescriptionDescription
companynamestringשם החברהCompany Name
compforignnamestringשם החברה באנגליתCompany forign name
vatnumstringמספר עוסק מורשהVat number
lossnumstringמספר ח"פLoss number
orgsortnumeric
(1-4)
סוג עוסק:
1- חברה
2- מלכ"ר
3-מוסד פיננסי
4-מלכ"ר + עוסק רגיל
Organization type:
1-company
2-non-profit
3-financial institution
4-non-profit + company
companyaddressstringכתובתAddress
compforignaddressstringכתובת לועזיתForeign Address
emailstringמיילEmail
websitestringאתרWebsite
WhatsAppPhonestringווצאפWhatsApp Phone
WhatsAppTokenstringטוקן ווצאפWhatsApp Token
EvalCurrencystringמטבע לשיערוךEval Currency
RoundTypenumeric
(0-3)
שיטת העיגול במסמך:
0 - ללא עיגול
1 - עיגול לעשרות אגורות
2 - עיגול לשקלים
3 - עיגול לעשרות שקלים
Rounding method in document:
0 – No rounding
1 – Round to the nearest tenth of a monetary unit
2 – Round to the nearest whole monetary unit
3 – Round to the nearest ten monetary units
VatPrcnumberמע"מVat percent
add_pay_buttonbooleanהוספת כפתור תשלום לחשבוניותAdd pay button
LogoImagefileתמונה לוגו עבריLogo image
ForeignLogoImagefileתמונה לוגו אנגליForeign logo image

UpdCompDef OutputData

NameOptions
status200/400/500
ResponseSuccess/error list

Body Example

compdef body example

Get Company Definitions Method

REST API compDefApi/getCompDef

getCompDef OutputData

NameOptions
status200/500
ResponseCompany Settings Object/ error

Request Example

compdef request example

OutputData JSON example


{
"companyname": "wizdb7n5",
"compforignname": "Wiz International Ltd",
"vatnum": "123456789",
"lossnum": "1000000",
"orgsort": 5,
"companyaddress": "1234 Elm Street, NY",
"compforignaddress": "56 King Road, UK",
"email": "info@wizdb7n5.com",
"website": "https://www.wizdb7n5.com",
"whatsappphone": "2221111",
"whatsapptoken": "888888888",
"evalcurrency": "$",
"maincurrency": "$",
"roundtype": 2,
"vatprc": 18,
"addpaybutton": 1,
"logoimage": "W29iamVjdCBPYmplY3Rd",
"foreignlogoimage": "W29iamVjdCBPYmplY3Rd"

}