Copy PageCreate payslipposthttps://api.wafeq.com/v1/payslips/Endpoint for creating a new payslip.Query ParamsexpandstringComma-separated related objects to return in full instead of as IDs. Accepted values: branch, employee, employee.reimbursements_account, journal, pay_items, pay_items.account, pay_items.cost_center. Nested relations are joined with a dot. Pass journal to replace the journal ID with its object (ID, date, currency, reference, notes and timestamps). Documents without a journal still return null. Journal line items are retrieved separately with GET /v1/journal-line-items/?journal={journal_id}.Body Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA payslip recording the pay of an employee.branchstring | nullThe branch associated with this payslip.currencystringenumrequiredThe currency used for the payslip. View the enum referenceAEDSARUSDEURCADAFNALLAMDARSAUDAZNBAMBDTBGNBHDBIFBNDBOBBRLBWPBYNBZDCDFCHFCLPCNYCOPCRCCVECZKDJFDKKDOPDZDEGPERNETBGBPGELGHSGNFGTQHKDHNLHRKHUFIDRILSINRIQDIRRISKJMDJODJPYKESKGSKHRKMFKRWKWDKZTLBPLKRLYDMADMDLMGAMKDMMKMOPMURMXNMYRMZNNADNGNNIONOKNPRNZDOMRPABPENPHPPKRPLNPYGQARRONRSDRUBRWFSDGSEKSGDSOSSYPTHBTJSTNDTOPTRYTTDTWDTZSUAHUGXUYUUZSVESVNDXAFXOFYERZARZMWShow 117 enum valuesemployeestringrequiredThe employee to whom the payslip belongs.exchange_ratedouble | nullThe exchange rate to the organization base currency at the time of the document.external_idstringlength ≤ 255External identifier for the payslip.languagestringenumThe language of the document. View the enum referenceenarAllowed:enarpay_itemsarray of objectsrequiredThe list of pay items included in the payslip.Add objectpayslip_datedaterequiredThe date when the payslip was issued.payslip_numberstringrequiredThe unique number assigned to the payslip.statusstringenumDefaults to DRAFTThe current status of the payslip (draft or posted). View the enum referenceDRAFTPOSTEDAllowed:DRAFTPOSTEDHeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestX-Wafeq-OrganizationstringThe id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.content-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse201Updated about 2 months agoList payslipsDelete payslip