@spaceinvoices/js-sdk 14.9.0 → 14.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -227,7 +227,7 @@ Not applicable for separator items.`),metadata:e.record(e.string(),e.string()).r
227
227
  When true without item_id, matches by exact name and reuses existing, or creates a new catalog item.
228
228
  Defaults to true (best-effort). When omitted, behaves like true but won't fail the request if persistence fails.`),sku:e.string().max(XSv).nullish().describe("Stock keeping unit used to link this line to a catalog item. Case-insensitive and trimmed; blank means no SKU.\nWhen `item_id` is omitted and `save_item` is not false, the line is linked to the catalog item with this SKU. Without one, it matches by name among items that have no SKU, or a new catalog item is created with this SKU.\nLinking does not copy catalog values onto the line, so use `item_id` to prefill. On document updates, only an existing item with this SKU is linked.\nNot stored on the line. Ignored when `item_id` is provided and for separator items."),financial_category_key:e.string().max(ehv).nullish().describe("Key of the reporting financial category to assign to this line item (for example `office-supplies`), as an alternative to `financial_category_id`. Provide either, not both; a null value counts as not provided.")})).min(1).describe("Line items for the purchase order. At least one item is required. A regular line without `price`, `gross_price` or `item_id` (or with a null `price`) is stored with a price of 0."),expected_total_with_tax:e.number().gt(thv).nullish().describe("Expected total with tax in the currency's major unit; for EUR, `29.90` means \u20AC29.90, not 2,990 cents. When provided, the system calculates a rounding_correction to reconcile differences between the calculated total and this expected value. Maximum allowed correction is \xB11.00 in the same major unit. Useful when importing invoices from external systems with different rounding rules."),creation_source:e.union([e.literal("custom"),e.literal(null)]).nullish(),total:e.number().nullish(),total_with_tax:e.number().nullish(),total_discount:e.number().nullish(),taxes:e.array(e.object({rate:e.number().nullable(),tax_id:e.string().nullish(),base:e.number(),amount:e.number(),base_converted:e.number().nullish(),amount_converted:e.number().nullish(),reverse_charge:e.boolean().nullish()})).nullish()})]),nhv=/^po_[0-9a-f]{24}$/,UvS=e.object({id:e.stringFormat("resource-id",nhv).describe("Purchase order identifier (po_ prefix).")}),PvS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),CvS=e.object({reason:e.string().min(1).nullish().describe("Technical reason for voiding (e.g., 'Duplicate purchase order', 'Technical error')")}),shv=36,ohv=100,ihv=255,ahv=2,rhv=500,lhv=500,dhv=20,uhv=100,chv="FR",phv=2,mhv=2,xhv="iban",ghv=/^[A-Za-z0-9]{7}$/,yhv=/^(?:[0-9]{11}|[A-Z0-9]{16})$/,Ohv=/^RF\d{2}$/,vhv="iban",Shv=20,hhv=128,bhv=/^[A-Za-z0-9:]+$/,zhv=50,fhv=2,Bhv=2,Thv=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,Ihv=30,Ehv=100,Dhv=2e3,Rhv=2e3,_hv=2e3,Nhv=2e3,Mhv=2e3,Uhv=2e3,Phv=2e3,Chv=2e3,whv=2e3,Ahv=2e3,Fhv=2e3,khv=2e3,jhv=2e3,Hhv=2e3,Lhv=2e3,Ghv=2e3,Vhv=2e3,Khv=2e3,Zhv=2e3,qhv=500,Whv=500,Yhv=500,$hv=500,Qhv=500,Jhv=500,Xhv=500,ebv=500,tbv=500,nbv=500,sbv=500,obv=500,ibv=500,abv=500,rbv=500,lbv=500,dbv=500,ubv=500,cbv=500,pbv=2e3,mbv=2e3,xbv=2e3,gbv=2e3,ybv=2e3,Obv=2e3,vbv=2e3,Sbv=2e3,hbv=2e3,bbv=2e3,zbv=2e3,fbv=2e3,Bbv=2e3,Tbv=2e3,Ibv=2e3,Ebv=2e3,Dbv=2e3,Rbv=2e3,_bv=2e3,Nbv=500,Mbv=500,Ubv=500,Pbv=500,Cbv=500,wbv=500,Abv=500,Fbv=500,kbv=500,jbv=500,Hbv=500,Lbv=500,Gbv=500,Vbv=500,Kbv=500,Zbv=500,qbv=500,Wbv=500,Ybv=500,$bv=2e3,Qbv=2e3,Jbv=2e3,Xbv=2e3,ezv=2e3,tzv=2e3,nzv=2e3,szv=2e3,ozv=2e3,izv=2e3,azv=2e3,rzv=2e3,lzv=2e3,dzv=2e3,uzv=2e3,czv=2e3,pzv=2e3,mzv=2e3,xzv=2e3,gzv=500,yzv=500,Ozv=500,vzv=500,Szv=500,hzv=500,bzv=500,zzv=500,fzv=500,Bzv=500,Tzv=500,Izv=500,Ezv=500,Dzv=500,Rzv=500,_zv=500,Nzv=500,Mzv=500,Uzv=500,Pzv=2e3,Czv=2e3,wzv=2e3,Azv=2e3,Fzv=2e3,kzv=2e3,jzv=2e3,Hzv=2e3,Lzv=2e3,Gzv=2e3,Vzv=2e3,Kzv=2e3,Zzv=2e3,qzv=2e3,Wzv=2e3,Yzv=2e3,$zv=2e3,Qzv=2e3,Jzv=2e3,Xzv=2e3,efv=2e3,tfv=2e3,nfv=2e3,sfv=2e3,ofv=2e3,ifv=2e3,afv=2e3,rfv=2e3,lfv=2e3,dfv=2e3,ufv=2e3,cfv=2e3,pfv=2e3,mfv=2e3,xfv=2e3,gfv=2e3,yfv=2e3,Ofv=2e3,vfv=500,Sfv=500,hfv=500,bfv=500,zfv=500,ffv=500,Bfv=500,Tfv=500,Ifv=500,Efv=500,Dfv=500,Rfv=500,_fv=500,Nfv=500,Mfv=500,Ufv=500,Pfv=500,Cfv=500,wfv=500,Afv=1e3,Ffv=1e3,kfv=1e3,jfv=1e3,Hfv=1e3,Lfv=1e3,Gfv=1e3,Vfv=1e3,Kfv=1e3,Zfv=1e3,qfv=1e3,Wfv=1e3,Yfv=1e3,$fv=1e3,Qfv=1e3,Jfv=1e3,Xfv=1e3,eBv=1e3,tBv=1e3,nBv=500,sBv=500,oBv=500,iBv=500,aBv=500,rBv=500,lBv=500,dBv=500,uBv=500,cBv=500,pBv=500,mBv=500,xBv=500,gBv=500,yBv=500,OBv=500,vBv=500,SBv=500,hBv=500,bBv=2e3,zBv=2e3,fBv=2e3,BBv=2e3,TBv=2e3,IBv=2e3,EBv=2e3,DBv=2e3,RBv=2e3,_Bv=2e3,NBv=2e3,MBv=2e3,UBv=2e3,PBv=2e3,CBv=2e3,wBv=2e3,ABv=2e3,FBv=2e3,kBv=2e3,jBv=500,HBv=500,LBv=500,GBv=500,VBv=500,KBv=500,ZBv=500,qBv=500,WBv=500,YBv=500,$Bv=500,QBv=500,JBv=500,XBv=500,eTv=500,tTv=500,nTv=500,sTv=500,oTv=500,iTv=2e3,aTv=2e3,rTv=2e3,lTv=2e3,dTv=2e3,uTv=2e3,cTv=2e3,pTv=2e3,mTv=2e3,xTv=2e3,gTv=2e3,yTv=2e3,OTv=2e3,vTv=2e3,STv=2e3,hTv=2e3,bTv=2e3,zTv=2e3,fTv=2e3,BTv=500,TTv=500,ITv=500,ETv=500,DTv=500,RTv=500,_Tv=500,NTv=500,MTv=500,UTv=500,PTv=500,CTv=500,wTv=500,ATv=500,FTv=500,kTv=500,jTv=500,HTv=500,LTv=500,GTv=2e3,VTv=2e3,KTv=2e3,ZTv=2e3,qTv=2e3,WTv=2e3,YTv=2e3,$Tv=2e3,QTv=2e3,JTv=2e3,XTv=2e3,eIv=2e3,tIv=2e3,nIv=2e3,sIv=2e3,oIv=2e3,iIv=2e3,aIv=2e3,rIv=2e3,lIv=500,dIv=500,uIv=500,cIv=500,pIv=500,mIv=500,xIv=500,gIv=500,yIv=500,OIv=500,vIv=500,SIv=500,hIv=500,bIv=500,zIv=500,fIv=500,BIv=500,TIv=500,IIv=500,EIv=2e3,DIv=2e3,RIv=2e3,_Iv=2e3,NIv=2e3,MIv=2e3,UIv=2e3,PIv=2e3,CIv=2e3,wIv=2e3,AIv=2e3,FIv=2e3,kIv=2e3,jIv=2e3,HIv=2e3,LIv=2e3,GIv=2e3,VIv=2e3,KIv=2e3,ZIv=500,qIv=500,WIv=500,YIv=500,$Iv=500,QIv=500,JIv=500,XIv=500,eEv=500,tEv=500,nEv=500,sEv=500,oEv=500,iEv=500,aEv=500,rEv=500,lEv=500,dEv=500,uEv=500,cEv=2e3,pEv=2e3,mEv=2e3,xEv=2e3,gEv=2e3,yEv=2e3,OEv=2e3,vEv=2e3,SEv=2e3,hEv=2e3,bEv=2e3,zEv=2e3,fEv=2e3,BEv=2e3,TEv=2e3,IEv=2e3,EEv=2e3,DEv=2e3,REv=2e3,_Ev=500,NEv=500,MEv=500,UEv=500,PEv=500,CEv=500,wEv=500,AEv=500,FEv=500,kEv=500,jEv=500,HEv=500,LEv=500,GEv=500,VEv=500,KEv=500,ZEv=500,qEv=500,WEv=500,YEv=2e3,$Ev=2e3,QEv=2e3,JEv=2e3,XEv=2e3,eDv=2e3,tDv=2e3,nDv=2e3,sDv=2e3,oDv=2e3,iDv=2e3,aDv=2e3,rDv=2e3,lDv=2e3,dDv=2e3,uDv=2e3,cDv=2e3,pDv=2e3,mDv=2e3,xDv=500,gDv=500,yDv=500,ODv=500,vDv=500,SDv=500,hDv=500,bDv=500,zDv=500,fDv=500,BDv=500,TDv=500,IDv=500,EDv=500,DDv=500,RDv=500,_Dv=500,NDv=500,MDv=500,UDv=2e3,PDv=2e3,CDv=2e3,wDv=2e3,ADv=2e3,FDv=2e3,kDv=2e3,jDv=2e3,HDv=2e3,LDv=2e3,GDv=2e3,VDv=2e3,KDv=2e3,ZDv=2e3,qDv=2e3,WDv=2e3,YDv=2e3,$Dv=2e3,QDv=2e3,JDv=2e3,XDv=2e3,eRv=2e3,tRv=2e3,nRv=2e3,sRv=2e3,oRv=2e3,iRv=2e3,aRv=2e3,rRv=2e3,lRv=2e3,dRv=2e3,uRv=2e3,cRv=2e3,pRv=2e3,mRv=2e3,xRv=2e3,gRv=2e3,yRv=2e3,ORv=2e3,vRv=2e3,SRv=2e3,hRv=2e3,bRv=2e3,zRv=2e3,fRv=2e3,BRv=2e3,TRv=2e3,IRv=2e3,ERv=2e3,DRv=2e3,RRv=2e3,_Rv=2e3,NRv=2e3,MRv=2e3,URv=2e3,PRv=2e3,CRv=2e3,wRv=2e3,ARv=2e3,FRv=2e3,kRv=2e3,jRv=2e3,HRv=2e3,LRv=2e3,GRv=2e3,VRv=2e3,KRv=2e3,ZRv=2e3,qRv=2e3,WRv=2e3,YRv=2e3,$Rv=2e3,QRv=2e3,JRv=2e3,XRv=2e3,e_v=2e3,t_v=2e3,n_v=2e3,s_v=2e3,o_v=2e3,i_v=2e3,a_v=2e3,r_v=2e3,l_v=2e3,d_v=2e3,u_v=2e3,c_v=2e3,p_v=2e3,m_v=2e3,x_v=2e3,g_v=2e3,y_v=2e3,O_v=2e3,v_v=2e3,S_v=2e3,h_v=2e3,b_v=2e3,z_v=2e3,f_v=2e3,B_v=2e3,T_v=2e3,I_v=2e3,E_v=2e3,D_v=2e3,R_v=2e3,__v=2e3,N_v=2e3,M_v=2e3,U_v=2e3,P_v=2e3,C_v=2e3,w_v=2e3,A_v=2e3,F_v=2e3,k_v=2e3,j_v=2e3,H_v=2e3,L_v=2e3,G_v=2e3,V_v=2e3,K_v=2e3,Z_v=2e3,q_v=2e3,W_v=2e3,Y_v=2e3,$_v=2e3,Q_v=2e3,J_v=2e3,X_v=2e3,eNv=2e3,tNv=2e3,nNv=2e3,sNv=2e3,oNv=2e3,iNv=2e3,aNv=2e3,rNv=2e3,lNv=2e3,dNv=2e3,uNv=2e3,cNv=2e3,pNv=2e3,mNv=2e3,xNv=2e3,gNv=2e3,yNv=2e3,ONv=2e3,vNv=2e3,SNv=2e3,hNv=2e3,bNv=2e3,zNv=2e3,fNv=2e3,BNv=2e3,TNv=2e3,INv=2e3,ENv=2e3,DNv=2e3,RNv=2e3,_Nv=2e3,NNv=2e3,MNv=2e3,UNv=2e3,PNv=2e3,CNv=2e3,wNv=2e3,ANv=2e3,FNv=2e3,kNv=2e3,jNv=2e3,HNv=2e3,LNv=2e3,GNv=2e3,VNv=2e3,KNv=2e3,ZNv=2e3,qNv=2e3,WNv=2e3,YNv=2e3,$Nv=2e3,QNv=2e3,JNv=2e3,XNv=2e3,eMv=2e3,tMv=2e3,nMv=2e3,sMv=2e3,oMv=2e3,iMv=2e3,aMv=2e3,rMv=500,lMv="iban",dMv=36,uMv=255,cMv=2,pMv=500,mMv=500,xMv=20,gMv=100,yMv="FR",OMv=2,vMv=2,SMv="iban",hMv=/^[A-Za-z0-9]{7}$/,bMv=/^(?:[0-9]{11}|[A-Z0-9]{16})$/,zMv=/^RF\d{2}$/,fMv="iban",BMv=500,TMv=2e3,IMv=2e3,EMv=2e3,DMv=2e3,RMv=2e3,_Mv=2e3,NMv=2e3,MMv=2e3,UMv=2e3,PMv=2e3,CMv=2e3,wMv=2e3,AMv=2e3,FMv=2e3,kMv=2e3,jMv=2e3,HMv=2e3,LMv=2e3,GMv=2e3,VMv=500,KMv=500,ZMv=500,qMv=500,WMv=500,YMv=500,$Mv=500,QMv=500,JMv=500,XMv=500,eUv=500,tUv=500,nUv=500,sUv=500,oUv=500,iUv=500,aUv=500,rUv=500,lUv=500,dUv=1e3,uUv=1e3,cUv=1e3,pUv=1e3,mUv=1e3,xUv=1e3,gUv=1e3,yUv=1e3,OUv=1e3,vUv=1e3,SUv=1e3,hUv=1e3,bUv=1e3,zUv=1e3,fUv=1e3,BUv=1e3,TUv=1e3,IUv=1e3,EUv=1e3,DUv=10,RUv=36,_Uv=-2147483648,NUv=2147483647,MUv=100,UUv=0,PUv=3,CUv=3,wUv=-140737488355328,AUv=0x7fffffffffff,FUv=-140737488355328,kUv=0x7fffffffffff,jUv=36,HUv=500,LUv=0,GUv=100,VUv=2,KUv=2,ZUv=0,qUv="percent",WUv=5,YUv=-140737488355328,$Uv=0x7fffffffffff,QUv=-140737488355328,JUv=0x7fffffffffff,XUv=36,ePv=36,tPv=36,nPv=500,sPv=500,oPv=500,iPv=500,aPv=500,rPv=500,lPv=500,dPv=500,uPv=500,cPv=500,pPv=500,mPv=500,xPv=500,gPv=500,yPv=500,OPv=500,vPv=500,SPv=500,hPv=500,bPv=2e3,zPv=2e3,fPv=2e3,BPv=2e3,TPv=2e3,IPv=2e3,EPv=2e3,DPv=2e3,RPv=2e3,_Pv=2e3,NPv=2e3,MPv=2e3,UPv=2e3,PPv=2e3,CPv=2e3,wPv=2e3,APv=2e3,FPv=2e3,kPv=2e3,wvS=e.object({id:e.string().max(shv),number:e.string().max(ohv),is_draft:e.boolean().describe("Whether this is a draft document. Draft documents have no sequential number assigned, skip fiscalization, and can be deleted. Use POST /{documents}/{id}/finalize to assign a number and finalize."),date:e.iso.datetime({}).describe("Date the purchase order was created (ISO 8601 datetime at midnight UTC)"),issuer:e.object({name:e.string().nullish(),unit_name:e.string().nullish().describe("Deprecated compatibility field. This value is no longer used for business-unit rendering; use `business_unit.name` on the document instead."),email:e.string().max(ihv).nullish(),address:e.string().nullish(),address_2:e.string().nullish(),post_code:e.string().nullish(),city:e.string().nullish(),state:e.string().nullish(),country:e.string().nullish(),country_code:e.string().max(ahv).nullish(),tax_number:e.string().nullish(),tax_number_2:e.string().nullish(),company_number:e.string().nullish(),phone:e.string().nullish(),peppol_id:e.string().nullish(),peppol_scheme_id:e.string().nullish(),e_invoicing:e.union([e.object({buyer_reference:e.string().nullish().describe("Canonical EN 16931 BT-10 buyer reference stored on the document customer snapshot. For German public-sector recipients, enter the Leitweg-ID here. For German B2B recipients this is optional unless the buyer requires it. Do not send a separate leitweg_id, routing_id, or top-level buyer_reference field.")}).describe("Customer e-invoicing data copied into the document customer snapshot. These fields are buyer/customer document data, not German validation state."),e.null()]).optional(),delivery_address:e.union([e.object({address:e.string().min(1).max(rhv),address_2:e.string().max(lhv).nullish(),post_code:e.string().min(1).max(dhv),city:e.string().min(1).max(uhv),country_code:e.string().min(phv).max(mhv).nullish().default(chv)}).describe("Physical delivery address when it differs from the buyer's billing address. Required by French law when applicable."),e.null()]).optional().describe("Physical delivery address for this document when it differs from the customer's billing address. It is stored only on the document snapshot and is not saved to the customer record."),bank_accounts:e.array(e.object({type:e.enum(["iban","us_domestic","uk_domestic","other"]).default(xhv).describe("Account type determines which fields are used"),name:e.string().nullish().describe("Display name for this account. Falls back to account number if not set"),bank_name:e.string().nullish().describe("Bank name"),iban:e.string().nullish().describe("IBAN (for type=iban)"),account_number:e.string().nullish().describe("Account number (for us_domestic, uk_domestic, other)"),bic:e.string().nullish().describe("BIC/SWIFT code for international transfers"),routing_number:e.string().nullish().describe("US ABA routing number (for type=us_domestic)"),sort_code:e.string().nullish().describe("UK sort code (for type=uk_domestic)"),is_default:e.boolean().nullish().describe("Whether this is the default account for new invoices")})).nullish(),is_end_consumer:e.boolean().nullish(),is_tax_subject:e.boolean().nullish().describe("Whether the customer is VAT identified. Stored in the document snapshot and used by country-specific tax reports; a country code alone does not imply VAT identification."),ujp:e.union([e.object({receiver_name:e.string().min(1).nullish().describe("UJP envelope recipient name. If omitted, package generation falls back to the document customer name."),receiver_identifier:e.string().min(1).nullish().describe("Optional recipient tax number or identifier override for the UJP envelope. If omitted, package generation falls back to the document customer tax number."),receiver_agent:e.string().min(1).nullish().describe("Recipient BIC for the UJP envelope. Public budget users normally use UJPLSI2DICL."),receiver_mailbox:e.string().min(1).nullish().describe("Recipient IBAN/TRR mailbox for the UJP envelope.")}).describe("Optional Slovenian UJP recipient routing data stored on customers and copied into document customer snapshots."),e.null()]).optional(),sdi:e.union([e.object({recipient_code:e.string().regex(ghv).nullish().describe("Italian SdI recipient code for buyer routing. When neither a code nor PEC is supplied, domestic invoices use 0000000 and the seller must provide the buyer a courtesy copy and availability notice."),pec:e.email().nullish().describe("Italian certified email address for buyer routing. When provided without an SdI recipient code, FatturaPA uses `CodiceDestinatario = 0000000` plus `PECDestinatario`."),fiscal_code:e.string().regex(yhv).nullish().describe("Buyer's Italian codice fiscale, independent of their VAT number. For a domestic consumer, legacy tax_number remains a fallback fiscal-code input. Required for VAT-group participants where applicable."),fiscal_regime:e.string().regex(Ohv).nullish().describe("Issuer-only fiscal regime snapshot, captured from settings.tax_rules.italy at issuance. Ignored for buyer routing.")}),e.null()]).optional(),bank_account:e.object({type:e.enum(["iban","us_domestic","uk_domestic","other"]).default(vhv).describe("Account type determines which fields are used"),name:e.string().nullish().describe("Display name for this account. Falls back to account number if not set"),bank_name:e.string().nullish().describe("Bank name"),iban:e.string().nullish().describe("IBAN (for type=iban)"),account_number:e.string().nullish().describe("Account number (for us_domestic, uk_domestic, other)"),bic:e.string().nullish().describe("BIC/SWIFT code for international transfers"),routing_number:e.string().nullish().describe("US ABA routing number (for type=us_domestic)"),sort_code:e.string().nullish().describe("UK sort code (for type=uk_domestic)")}).nullish(),crypto_wallet:e.union([e.object({code:e.enum(["BTC","ETH","SOL","USDC","USDT"]).describe("Crypto asset code this wallet receives."),address:e.string().min(Shv).max(hhv).regex(bhv).describe("Wallet address for this asset."),network:e.string().max(zhv).nullish().describe("Free-text network label printed alongside the wallet address, e.g. 'Ethereum', 'Solana', 'Tron'.")}),e.null()]).optional()}).describe("Document issuer (entity) information"),business_unit_id:e.string().nullish().describe("Selected business-unit ID used to derive document presentation and defaults."),business_unit:e.union([e.object({id:e.string(),name:e.string(),deleted_at:e.iso.datetime({}).nullish(),address:e.string().nullish(),address_2:e.string().nullish(),post_code:e.string().nullish(),city:e.string().nullish(),state:e.string().nullish(),country:e.string().nullish(),country_code:e.string().min(fhv).max(Bhv).nullish(),email:e.email().nullish(),phone:e.string().nullish(),website:e.url().nullish(),settings:e.object({pdf_template:e.union([e.literal("modern"),e.literal("classic"),e.literal("condensed"),e.literal("minimal"),e.literal("fashion"),e.literal("timeless_modern_full_data"),e.literal(null)]).nullish().describe("Default PDF template for document rendering. Defaults to 'modern' if not set."),primary_color:e.string().regex(Thv).nullish(),logo_scale_percent:e.number().min(Ihv).max(Ehv).nullish().describe("Scale the PDF logo size as a percentage of the template default size. 100 keeps the original size."),email_defaults:e.object({invoice_subject:e.string().nullish().describe("Default subject line for invoice emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_due_date}, {document_total}, {document_currency}"),invoice_body:e.string().nullish().describe("Default body text for invoice emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_due_date}, {document_total}, {document_currency}"),estimate_subject:e.string().nullish().describe("Default subject line for estimate emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_valid_until}, {document_total}, {document_currency}"),estimate_body:e.string().nullish().describe("Default body text for estimate emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_valid_until}, {document_total}, {document_currency}"),credit_note_subject:e.string().nullish().describe("Default subject line for credit note emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_total}, {document_currency}"),credit_note_body:e.string().nullish().describe("Default body text for credit note emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_total}, {document_currency}"),advance_invoice_subject:e.string().nullish().describe("Default subject line for advance invoice emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_total}, {document_currency}"),advance_invoice_body:e.string().nullish().describe("Default body text for advance invoice emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_total}, {document_currency}"),delivery_note_subject:e.string().nullish().describe("Default subject line for delivery note emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_total}, {document_currency}"),delivery_note_body:e.string().nullish().describe("Default body text for delivery note emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_total}, {document_currency}"),purchase_order_subject:e.string().nullish().describe("Default subject line for purchase order emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_total}, {document_currency}"),purchase_order_body:e.string().nullish().describe("Default body text for purchase order emails. Available variables: {document_number}, {entity_name}, {entity_email}, {entity_address}, {entity_post_code}, {entity_city}, {entity_country}, {entity_tax_number}, {entity_company_number}, {customer_name}, {document_date}, {document_total}, {document_currency}")}).nullish(),translations:e.union([e.object({default_invoice_note:e.object({"en-US":e.string().max(Dhv).optional(),"de-DE":e.string().max(Rhv).optional(),"it-IT":e.string().max(_hv).optional(),"fr-FR":e.string().max(Nhv).optional(),"es-ES":e.string().max(Mhv).optional(),"sl-SI":e.string().max(Uhv).optional(),"pt-PT":e.string().max(Phv).optional(),"nl-NL":e.string().max(Chv).optional(),"pl-PL":e.string().max(whv).optional(),"hr-HR":e.string().max(Ahv).optional(),"sv-SE":e.string().max(Fhv).optional(),"fi-FI":e.string().max(khv).optional(),"et-EE":e.string().max(jhv).optional(),"bg-BG":e.string().max(Hhv).optional(),"cs-CZ":e.string().max(Lhv).optional(),"sk-SK":e.string().max(Ghv).optional(),"nb-NO":e.string().max(Vhv).optional(),"is-IS":e.string().max(Khv).optional(),"hu-HU":e.string().max(Zhv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),default_invoice_payment_terms:e.object({"en-US":e.string().max(qhv).optional(),"de-DE":e.string().max(Whv).optional(),"it-IT":e.string().max(Yhv).optional(),"fr-FR":e.string().max($hv).optional(),"es-ES":e.string().max(Qhv).optional(),"sl-SI":e.string().max(Jhv).optional(),"pt-PT":e.string().max(Xhv).optional(),"nl-NL":e.string().max(ebv).optional(),"pl-PL":e.string().max(tbv).optional(),"hr-HR":e.string().max(nbv).optional(),"sv-SE":e.string().max(sbv).optional(),"fi-FI":e.string().max(obv).optional(),"et-EE":e.string().max(ibv).optional(),"bg-BG":e.string().max(abv).optional(),"cs-CZ":e.string().max(rbv).optional(),"sk-SK":e.string().max(lbv).optional(),"nb-NO":e.string().max(dbv).optional(),"is-IS":e.string().max(ubv).optional(),"hu-HU":e.string().max(cbv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),default_estimate_note:e.object({"en-US":e.string().max(pbv).optional(),"de-DE":e.string().max(mbv).optional(),"it-IT":e.string().max(xbv).optional(),"fr-FR":e.string().max(gbv).optional(),"es-ES":e.string().max(ybv).optional(),"sl-SI":e.string().max(Obv).optional(),"pt-PT":e.string().max(vbv).optional(),"nl-NL":e.string().max(Sbv).optional(),"pl-PL":e.string().max(hbv).optional(),"hr-HR":e.string().max(bbv).optional(),"sv-SE":e.string().max(zbv).optional(),"fi-FI":e.string().max(fbv).optional(),"et-EE":e.string().max(Bbv).optional(),"bg-BG":e.string().max(Tbv).optional(),"cs-CZ":e.string().max(Ibv).optional(),"sk-SK":e.string().max(Ebv).optional(),"nb-NO":e.string().max(Dbv).optional(),"is-IS":e.string().max(Rbv).optional(),"hu-HU":e.string().max(_bv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),default_estimate_payment_terms:e.object({"en-US":e.string().max(Nbv).optional(),"de-DE":e.string().max(Mbv).optional(),"it-IT":e.string().max(Ubv).optional(),"fr-FR":e.string().max(Pbv).optional(),"es-ES":e.string().max(Cbv).optional(),"sl-SI":e.string().max(wbv).optional(),"pt-PT":e.string().max(Abv).optional(),"nl-NL":e.string().max(Fbv).optional(),"pl-PL":e.string().max(kbv).optional(),"hr-HR":e.string().max(jbv).optional(),"sv-SE":e.string().max(Hbv).optional(),"fi-FI":e.string().max(Lbv).optional(),"et-EE":e.string().max(Gbv).optional(),"bg-BG":e.string().max(Vbv).optional(),"cs-CZ":e.string().max(Kbv).optional(),"sk-SK":e.string().max(Zbv).optional(),"nb-NO":e.string().max(qbv).optional(),"is-IS":e.string().max(Wbv).optional(),"hu-HU":e.string().max(Ybv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),default_credit_note_note:e.object({"en-US":e.string().max($bv).optional(),"de-DE":e.string().max(Qbv).optional(),"it-IT":e.string().max(Jbv).optional(),"fr-FR":e.string().max(Xbv).optional(),"es-ES":e.string().max(ezv).optional(),"sl-SI":e.string().max(tzv).optional(),"pt-PT":e.string().max(nzv).optional(),"nl-NL":e.string().max(szv).optional(),"pl-PL":e.string().max(ozv).optional(),"hr-HR":e.string().max(izv).optional(),"sv-SE":e.string().max(azv).optional(),"fi-FI":e.string().max(rzv).optional(),"et-EE":e.string().max(lzv).optional(),"bg-BG":e.string().max(dzv).optional(),"cs-CZ":e.string().max(uzv).optional(),"sk-SK":e.string().max(czv).optional(),"nb-NO":e.string().max(pzv).optional(),"is-IS":e.string().max(mzv).optional(),"hu-HU":e.string().max(xzv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),default_credit_note_payment_terms:e.object({"en-US":e.string().max(gzv).optional(),"de-DE":e.string().max(yzv).optional(),"it-IT":e.string().max(Ozv).optional(),"fr-FR":e.string().max(vzv).optional(),"es-ES":e.string().max(Szv).optional(),"sl-SI":e.string().max(hzv).optional(),"pt-PT":e.string().max(bzv).optional(),"nl-NL":e.string().max(zzv).optional(),"pl-PL":e.string().max(fzv).optional(),"hr-HR":e.string().max(Bzv).optional(),"sv-SE":e.string().max(Tzv).optional(),"fi-FI":e.string().max(Izv).optional(),"et-EE":e.string().max(Ezv).optional(),"bg-BG":e.string().max(Dzv).optional(),"cs-CZ":e.string().max(Rzv).optional(),"sk-SK":e.string().max(_zv).optional(),"nb-NO":e.string().max(Nzv).optional(),"is-IS":e.string().max(Mzv).optional(),"hu-HU":e.string().max(Uzv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),default_advance_invoice_note:e.object({"en-US":e.string().max(Pzv).optional(),"de-DE":e.string().max(Czv).optional(),"it-IT":e.string().max(wzv).optional(),"fr-FR":e.string().max(Azv).optional(),"es-ES":e.string().max(Fzv).optional(),"sl-SI":e.string().max(kzv).optional(),"pt-PT":e.string().max(jzv).optional(),"nl-NL":e.string().max(Hzv).optional(),"pl-PL":e.string().max(Lzv).optional(),"hr-HR":e.string().max(Gzv).optional(),"sv-SE":e.string().max(Vzv).optional(),"fi-FI":e.string().max(Kzv).optional(),"et-EE":e.string().max(Zzv).optional(),"bg-BG":e.string().max(qzv).optional(),"cs-CZ":e.string().max(Wzv).optional(),"sk-SK":e.string().max(Yzv).optional(),"nb-NO":e.string().max($zv).optional(),"is-IS":e.string().max(Qzv).optional(),"hu-HU":e.string().max(Jzv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),default_delivery_note_note:e.object({"en-US":e.string().max(Xzv).optional(),"de-DE":e.string().max(efv).optional(),"it-IT":e.string().max(tfv).optional(),"fr-FR":e.string().max(nfv).optional(),"es-ES":e.string().max(sfv).optional(),"sl-SI":e.string().max(ofv).optional(),"pt-PT":e.string().max(ifv).optional(),"nl-NL":e.string().max(afv).optional(),"pl-PL":e.string().max(rfv).optional(),"hr-HR":e.string().max(lfv).optional(),"sv-SE":e.string().max(dfv).optional(),"fi-FI":e.string().max(ufv).optional(),"et-EE":e.string().max(cfv).optional(),"bg-BG":e.string().max(pfv).optional(),"cs-CZ":e.string().max(mfv).optional(),"sk-SK":e.string().max(xfv).optional(),"nb-NO":e.string().max(gfv).optional(),"is-IS":e.string().max(yfv).optional(),"hu-HU":e.string().max(Ofv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),document_footer:e.object({"en-US":e.string().max(vfv).optional(),"de-DE":e.string().max(Sfv).optional(),"it-IT":e.string().max(hfv).optional(),"fr-FR":e.string().max(bfv).optional(),"es-ES":e.string().max(zfv).optional(),"sl-SI":e.string().max(ffv).optional(),"pt-PT":e.string().max(Bfv).optional(),"nl-NL":e.string().max(Tfv).optional(),"pl-PL":e.string().max(Ifv).optional(),"hr-HR":e.string().max(Efv).optional(),"sv-SE":e.string().max(Dfv).optional(),"fi-FI":e.string().max(Rfv).optional(),"et-EE":e.string().max(_fv).optional(),"bg-BG":e.string().max(Nfv).optional(),"cs-CZ":e.string().max(Mfv).optional(),"sk-SK":e.string().max(Ufv).optional(),"nb-NO":e.string().max(Pfv).optional(),"is-IS":e.string().max(Cfv).optional(),"hu-HU":e.string().max(wfv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),default_document_signature:e.object({"en-US":e.string().max(Afv).optional(),"de-DE":e.string().max(Ffv).optional(),"it-IT":e.string().max(kfv).optional(),"fr-FR":e.string().max(jfv).optional(),"es-ES":e.string().max(Hfv).optional(),"sl-SI":e.string().max(Lfv).optional(),"pt-PT":e.string().max(Gfv).optional(),"nl-NL":e.string().max(Vfv).optional(),"pl-PL":e.string().max(Kfv).optional(),"hr-HR":e.string().max(Zfv).optional(),"sv-SE":e.string().max(qfv).optional(),"fi-FI":e.string().max(Wfv).optional(),"et-EE":e.string().max(Yfv).optional(),"bg-BG":e.string().max($fv).optional(),"cs-CZ":e.string().max(Qfv).optional(),"sk-SK":e.string().max(Jfv).optional(),"nb-NO":e.string().max(Xfv).optional(),"is-IS":e.string().max(eBv).optional(),"hu-HU":e.string().max(tBv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),email_defaults:e.object({invoice_subject:e.object({"en-US":e.string().max(nBv).optional(),"de-DE":e.string().max(sBv).optional(),"it-IT":e.string().max(oBv).optional(),"fr-FR":e.string().max(iBv).optional(),"es-ES":e.string().max(aBv).optional(),"sl-SI":e.string().max(rBv).optional(),"pt-PT":e.string().max(lBv).optional(),"nl-NL":e.string().max(dBv).optional(),"pl-PL":e.string().max(uBv).optional(),"hr-HR":e.string().max(cBv).optional(),"sv-SE":e.string().max(pBv).optional(),"fi-FI":e.string().max(mBv).optional(),"et-EE":e.string().max(xBv).optional(),"bg-BG":e.string().max(gBv).optional(),"cs-CZ":e.string().max(yBv).optional(),"sk-SK":e.string().max(OBv).optional(),"nb-NO":e.string().max(vBv).optional(),"is-IS":e.string().max(SBv).optional(),"hu-HU":e.string().max(hBv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),invoice_body:e.object({"en-US":e.string().max(bBv).optional(),"de-DE":e.string().max(zBv).optional(),"it-IT":e.string().max(fBv).optional(),"fr-FR":e.string().max(BBv).optional(),"es-ES":e.string().max(TBv).optional(),"sl-SI":e.string().max(IBv).optional(),"pt-PT":e.string().max(EBv).optional(),"nl-NL":e.string().max(DBv).optional(),"pl-PL":e.string().max(RBv).optional(),"hr-HR":e.string().max(_Bv).optional(),"sv-SE":e.string().max(NBv).optional(),"fi-FI":e.string().max(MBv).optional(),"et-EE":e.string().max(UBv).optional(),"bg-BG":e.string().max(PBv).optional(),"cs-CZ":e.string().max(CBv).optional(),"sk-SK":e.string().max(wBv).optional(),"nb-NO":e.string().max(ABv).optional(),"is-IS":e.string().max(FBv).optional(),"hu-HU":e.string().max(kBv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),estimate_subject:e.object({"en-US":e.string().max(jBv).optional(),"de-DE":e.string().max(HBv).optional(),"it-IT":e.string().max(LBv).optional(),"fr-FR":e.string().max(GBv).optional(),"es-ES":e.string().max(VBv).optional(),"sl-SI":e.string().max(KBv).optional(),"pt-PT":e.string().max(ZBv).optional(),"nl-NL":e.string().max(qBv).optional(),"pl-PL":e.string().max(WBv).optional(),"hr-HR":e.string().max(YBv).optional(),"sv-SE":e.string().max($Bv).optional(),"fi-FI":e.string().max(QBv).optional(),"et-EE":e.string().max(JBv).optional(),"bg-BG":e.string().max(XBv).optional(),"cs-CZ":e.string().max(eTv).optional(),"sk-SK":e.string().max(tTv).optional(),"nb-NO":e.string().max(nTv).optional(),"is-IS":e.string().max(sTv).optional(),"hu-HU":e.string().max(oTv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),estimate_body:e.object({"en-US":e.string().max(iTv).optional(),"de-DE":e.string().max(aTv).optional(),"it-IT":e.string().max(rTv).optional(),"fr-FR":e.string().max(lTv).optional(),"es-ES":e.string().max(dTv).optional(),"sl-SI":e.string().max(uTv).optional(),"pt-PT":e.string().max(cTv).optional(),"nl-NL":e.string().max(pTv).optional(),"pl-PL":e.string().max(mTv).optional(),"hr-HR":e.string().max(xTv).optional(),"sv-SE":e.string().max(gTv).optional(),"fi-FI":e.string().max(yTv).optional(),"et-EE":e.string().max(OTv).optional(),"bg-BG":e.string().max(vTv).optional(),"cs-CZ":e.string().max(STv).optional(),"sk-SK":e.string().max(hTv).optional(),"nb-NO":e.string().max(bTv).optional(),"is-IS":e.string().max(zTv).optional(),"hu-HU":e.string().max(fTv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),credit_note_subject:e.object({"en-US":e.string().max(BTv).optional(),"de-DE":e.string().max(TTv).optional(),"it-IT":e.string().max(ITv).optional(),"fr-FR":e.string().max(ETv).optional(),"es-ES":e.string().max(DTv).optional(),"sl-SI":e.string().max(RTv).optional(),"pt-PT":e.string().max(_Tv).optional(),"nl-NL":e.string().max(NTv).optional(),"pl-PL":e.string().max(MTv).optional(),"hr-HR":e.string().max(UTv).optional(),"sv-SE":e.string().max(PTv).optional(),"fi-FI":e.string().max(CTv).optional(),"et-EE":e.string().max(wTv).optional(),"bg-BG":e.string().max(ATv).optional(),"cs-CZ":e.string().max(FTv).optional(),"sk-SK":e.string().max(kTv).optional(),"nb-NO":e.string().max(jTv).optional(),"is-IS":e.string().max(HTv).optional(),"hu-HU":e.string().max(LTv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),credit_note_body:e.object({"en-US":e.string().max(GTv).optional(),"de-DE":e.string().max(VTv).optional(),"it-IT":e.string().max(KTv).optional(),"fr-FR":e.string().max(ZTv).optional(),"es-ES":e.string().max(qTv).optional(),"sl-SI":e.string().max(WTv).optional(),"pt-PT":e.string().max(YTv).optional(),"nl-NL":e.string().max($Tv).optional(),"pl-PL":e.string().max(QTv).optional(),"hr-HR":e.string().max(JTv).optional(),"sv-SE":e.string().max(XTv).optional(),"fi-FI":e.string().max(eIv).optional(),"et-EE":e.string().max(tIv).optional(),"bg-BG":e.string().max(nIv).optional(),"cs-CZ":e.string().max(sIv).optional(),"sk-SK":e.string().max(oIv).optional(),"nb-NO":e.string().max(iIv).optional(),"is-IS":e.string().max(aIv).optional(),"hu-HU":e.string().max(rIv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),advance_invoice_subject:e.object({"en-US":e.string().max(lIv).optional(),"de-DE":e.string().max(dIv).optional(),"it-IT":e.string().max(uIv).optional(),"fr-FR":e.string().max(cIv).optional(),"es-ES":e.string().max(pIv).optional(),"sl-SI":e.string().max(mIv).optional(),"pt-PT":e.string().max(xIv).optional(),"nl-NL":e.string().max(gIv).optional(),"pl-PL":e.string().max(yIv).optional(),"hr-HR":e.string().max(OIv).optional(),"sv-SE":e.string().max(vIv).optional(),"fi-FI":e.string().max(SIv).optional(),"et-EE":e.string().max(hIv).optional(),"bg-BG":e.string().max(bIv).optional(),"cs-CZ":e.string().max(zIv).optional(),"sk-SK":e.string().max(fIv).optional(),"nb-NO":e.string().max(BIv).optional(),"is-IS":e.string().max(TIv).optional(),"hu-HU":e.string().max(IIv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),advance_invoice_body:e.object({"en-US":e.string().max(EIv).optional(),"de-DE":e.string().max(DIv).optional(),"it-IT":e.string().max(RIv).optional(),"fr-FR":e.string().max(_Iv).optional(),"es-ES":e.string().max(NIv).optional(),"sl-SI":e.string().max(MIv).optional(),"pt-PT":e.string().max(UIv).optional(),"nl-NL":e.string().max(PIv).optional(),"pl-PL":e.string().max(CIv).optional(),"hr-HR":e.string().max(wIv).optional(),"sv-SE":e.string().max(AIv).optional(),"fi-FI":e.string().max(FIv).optional(),"et-EE":e.string().max(kIv).optional(),"bg-BG":e.string().max(jIv).optional(),"cs-CZ":e.string().max(HIv).optional(),"sk-SK":e.string().max(LIv).optional(),"nb-NO":e.string().max(GIv).optional(),"is-IS":e.string().max(VIv).optional(),"hu-HU":e.string().max(KIv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),delivery_note_subject:e.object({"en-US":e.string().max(ZIv).optional(),"de-DE":e.string().max(qIv).optional(),"it-IT":e.string().max(WIv).optional(),"fr-FR":e.string().max(YIv).optional(),"es-ES":e.string().max($Iv).optional(),"sl-SI":e.string().max(QIv).optional(),"pt-PT":e.string().max(JIv).optional(),"nl-NL":e.string().max(XIv).optional(),"pl-PL":e.string().max(eEv).optional(),"hr-HR":e.string().max(tEv).optional(),"sv-SE":e.string().max(nEv).optional(),"fi-FI":e.string().max(sEv).optional(),"et-EE":e.string().max(oEv).optional(),"bg-BG":e.string().max(iEv).optional(),"cs-CZ":e.string().max(aEv).optional(),"sk-SK":e.string().max(rEv).optional(),"nb-NO":e.string().max(lEv).optional(),"is-IS":e.string().max(dEv).optional(),"hu-HU":e.string().max(uEv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),delivery_note_body:e.object({"en-US":e.string().max(cEv).optional(),"de-DE":e.string().max(pEv).optional(),"it-IT":e.string().max(mEv).optional(),"fr-FR":e.string().max(xEv).optional(),"es-ES":e.string().max(gEv).optional(),"sl-SI":e.string().max(yEv).optional(),"pt-PT":e.string().max(OEv).optional(),"nl-NL":e.string().max(vEv).optional(),"pl-PL":e.string().max(SEv).optional(),"hr-HR":e.string().max(hEv).optional(),"sv-SE":e.string().max(bEv).optional(),"fi-FI":e.string().max(zEv).optional(),"et-EE":e.string().max(fEv).optional(),"bg-BG":e.string().max(BEv).optional(),"cs-CZ":e.string().max(TEv).optional(),"sk-SK":e.string().max(IEv).optional(),"nb-NO":e.string().max(EEv).optional(),"is-IS":e.string().max(DEv).optional(),"hu-HU":e.string().max(REv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),purchase_order_subject:e.object({"en-US":e.string().max(_Ev).nullish(),"de-DE":e.string().max(NEv).nullish(),"it-IT":e.string().max(MEv).nullish(),"fr-FR":e.string().max(UEv).nullish(),"es-ES":e.string().max(PEv).nullish(),"sl-SI":e.string().max(CEv).nullish(),"pt-PT":e.string().max(wEv).nullish(),"nl-NL":e.string().max(AEv).nullish(),"pl-PL":e.string().max(FEv).nullish(),"hr-HR":e.string().max(kEv).nullish(),"sv-SE":e.string().max(jEv).nullish(),"fi-FI":e.string().max(HEv).nullish(),"et-EE":e.string().max(LEv).nullish(),"bg-BG":e.string().max(GEv).nullish(),"cs-CZ":e.string().max(VEv).nullish(),"sk-SK":e.string().max(KEv).nullish(),"nb-NO":e.string().max(ZEv).nullish(),"is-IS":e.string().max(qEv).nullish(),"hu-HU":e.string().max(WEv).nullish()}).nullish().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),purchase_order_body:e.object({"en-US":e.string().max(YEv).nullish(),"de-DE":e.string().max($Ev).nullish(),"it-IT":e.string().max(QEv).nullish(),"fr-FR":e.string().max(JEv).nullish(),"es-ES":e.string().max(XEv).nullish(),"sl-SI":e.string().max(eDv).nullish(),"pt-PT":e.string().max(tDv).nullish(),"nl-NL":e.string().max(nDv).nullish(),"pl-PL":e.string().max(sDv).nullish(),"hr-HR":e.string().max(oDv).nullish(),"sv-SE":e.string().max(iDv).nullish(),"fi-FI":e.string().max(aDv).nullish(),"et-EE":e.string().max(rDv).nullish(),"bg-BG":e.string().max(lDv).nullish(),"cs-CZ":e.string().max(dDv).nullish(),"sk-SK":e.string().max(uDv).nullish(),"nb-NO":e.string().max(cDv).nullish(),"is-IS":e.string().max(pDv).nullish(),"hu-HU":e.string().max(mDv).nullish()}).nullish().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale.")}).optional().describe("Translated default email subjects and bodies keyed by full supported locales. Base scalar email defaults remain the default-language source of truth."),payment_reminders:e.object({email_subject:e.object({"en-US":e.string().max(xDv).optional(),"de-DE":e.string().max(gDv).optional(),"it-IT":e.string().max(yDv).optional(),"fr-FR":e.string().max(ODv).optional(),"es-ES":e.string().max(vDv).optional(),"sl-SI":e.string().max(SDv).optional(),"pt-PT":e.string().max(hDv).optional(),"nl-NL":e.string().max(bDv).optional(),"pl-PL":e.string().max(zDv).optional(),"hr-HR":e.string().max(fDv).optional(),"sv-SE":e.string().max(BDv).optional(),"fi-FI":e.string().max(TDv).optional(),"et-EE":e.string().max(IDv).optional(),"bg-BG":e.string().max(EDv).optional(),"cs-CZ":e.string().max(DDv).optional(),"sk-SK":e.string().max(RDv).optional(),"nb-NO":e.string().max(_Dv).optional(),"is-IS":e.string().max(NDv).optional(),"hu-HU":e.string().max(MDv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),email_body:e.object({"en-US":e.string().max(UDv).optional(),"de-DE":e.string().max(PDv).optional(),"it-IT":e.string().max(CDv).optional(),"fr-FR":e.string().max(wDv).optional(),"es-ES":e.string().max(ADv).optional(),"sl-SI":e.string().max(FDv).optional(),"pt-PT":e.string().max(kDv).optional(),"nl-NL":e.string().max(jDv).optional(),"pl-PL":e.string().max(HDv).optional(),"hr-HR":e.string().max(LDv).optional(),"sv-SE":e.string().max(GDv).optional(),"fi-FI":e.string().max(VDv).optional(),"et-EE":e.string().max(KDv).optional(),"bg-BG":e.string().max(ZDv).optional(),"cs-CZ":e.string().max(qDv).optional(),"sk-SK":e.string().max(WDv).optional(),"nb-NO":e.string().max(YDv).optional(),"is-IS":e.string().max($Dv).optional(),"hu-HU":e.string().max(QDv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),payment_instructions:e.object({"en-US":e.string().max(JDv).optional(),"de-DE":e.string().max(XDv).optional(),"it-IT":e.string().max(eRv).optional(),"fr-FR":e.string().max(tRv).optional(),"es-ES":e.string().max(nRv).optional(),"sl-SI":e.string().max(sRv).optional(),"pt-PT":e.string().max(oRv).optional(),"nl-NL":e.string().max(iRv).optional(),"pl-PL":e.string().max(aRv).optional(),"hr-HR":e.string().max(rRv).optional(),"sv-SE":e.string().max(lRv).optional(),"fi-FI":e.string().max(dRv).optional(),"et-EE":e.string().max(uRv).optional(),"bg-BG":e.string().max(cRv).optional(),"cs-CZ":e.string().max(pRv).optional(),"sk-SK":e.string().max(mRv).optional(),"nb-NO":e.string().max(xRv).optional(),"is-IS":e.string().max(gRv).optional(),"hu-HU":e.string().max(yRv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale.")}).optional().describe("Translated default payment reminder subject, body, and payment instructions keyed by full supported locales."),tax_clause_defaults:e.object({domestic:e.object({"en-US":e.string().max(ORv).optional(),"de-DE":e.string().max(vRv).optional(),"it-IT":e.string().max(SRv).optional(),"fr-FR":e.string().max(hRv).optional(),"es-ES":e.string().max(bRv).optional(),"sl-SI":e.string().max(zRv).optional(),"pt-PT":e.string().max(fRv).optional(),"nl-NL":e.string().max(BRv).optional(),"pl-PL":e.string().max(TRv).optional(),"hr-HR":e.string().max(IRv).optional(),"sv-SE":e.string().max(ERv).optional(),"fi-FI":e.string().max(DRv).optional(),"et-EE":e.string().max(RRv).optional(),"bg-BG":e.string().max(_Rv).optional(),"cs-CZ":e.string().max(NRv).optional(),"sk-SK":e.string().max(MRv).optional(),"nb-NO":e.string().max(URv).optional(),"is-IS":e.string().max(PRv).optional(),"hu-HU":e.string().max(CRv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),article_76a:e.object({"en-US":e.string().max(wRv).nullish(),"de-DE":e.string().max(ARv).nullish(),"it-IT":e.string().max(FRv).nullish(),"fr-FR":e.string().max(kRv).nullish(),"es-ES":e.string().max(jRv).nullish(),"sl-SI":e.string().max(HRv).nullish(),"pt-PT":e.string().max(LRv).nullish(),"nl-NL":e.string().max(GRv).nullish(),"pl-PL":e.string().max(VRv).nullish(),"hr-HR":e.string().max(KRv).nullish(),"sv-SE":e.string().max(ZRv).nullish(),"fi-FI":e.string().max(qRv).nullish(),"et-EE":e.string().max(WRv).nullish(),"bg-BG":e.string().max(YRv).nullish(),"cs-CZ":e.string().max($Rv).nullish(),"sk-SK":e.string().max(QRv).nullish(),"nb-NO":e.string().max(JRv).nullish(),"is-IS":e.string().max(XRv).nullish(),"hu-HU":e.string().max(e_v).nullish()}).nullish().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),intra_eu_b2b:e.object({"en-US":e.string().max(t_v).optional(),"de-DE":e.string().max(n_v).optional(),"it-IT":e.string().max(s_v).optional(),"fr-FR":e.string().max(o_v).optional(),"es-ES":e.string().max(i_v).optional(),"sl-SI":e.string().max(a_v).optional(),"pt-PT":e.string().max(r_v).optional(),"nl-NL":e.string().max(l_v).optional(),"pl-PL":e.string().max(d_v).optional(),"hr-HR":e.string().max(u_v).optional(),"sv-SE":e.string().max(c_v).optional(),"fi-FI":e.string().max(p_v).optional(),"et-EE":e.string().max(m_v).optional(),"bg-BG":e.string().max(x_v).optional(),"cs-CZ":e.string().max(g_v).optional(),"sk-SK":e.string().max(y_v).optional(),"nb-NO":e.string().max(O_v).optional(),"is-IS":e.string().max(v_v).optional(),"hu-HU":e.string().max(S_v).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),intra_eu_b2b_goods:e.object({"en-US":e.string().max(h_v).nullish(),"de-DE":e.string().max(b_v).nullish(),"it-IT":e.string().max(z_v).nullish(),"fr-FR":e.string().max(f_v).nullish(),"es-ES":e.string().max(B_v).nullish(),"sl-SI":e.string().max(T_v).nullish(),"pt-PT":e.string().max(I_v).nullish(),"nl-NL":e.string().max(E_v).nullish(),"pl-PL":e.string().max(D_v).nullish(),"hr-HR":e.string().max(R_v).nullish(),"sv-SE":e.string().max(__v).nullish(),"fi-FI":e.string().max(N_v).nullish(),"et-EE":e.string().max(M_v).nullish(),"bg-BG":e.string().max(U_v).nullish(),"cs-CZ":e.string().max(P_v).nullish(),"sk-SK":e.string().max(C_v).nullish(),"nb-NO":e.string().max(w_v).nullish(),"is-IS":e.string().max(A_v).nullish(),"hu-HU":e.string().max(F_v).nullish()}).nullish().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),intra_eu_b2c:e.object({"en-US":e.string().max(k_v).optional(),"de-DE":e.string().max(j_v).optional(),"it-IT":e.string().max(H_v).optional(),"fr-FR":e.string().max(L_v).optional(),"es-ES":e.string().max(G_v).optional(),"sl-SI":e.string().max(V_v).optional(),"pt-PT":e.string().max(K_v).optional(),"nl-NL":e.string().max(Z_v).optional(),"pl-PL":e.string().max(q_v).optional(),"hr-HR":e.string().max(W_v).optional(),"sv-SE":e.string().max(Y_v).optional(),"fi-FI":e.string().max($_v).optional(),"et-EE":e.string().max(Q_v).optional(),"bg-BG":e.string().max(J_v).optional(),"cs-CZ":e.string().max(X_v).optional(),"sk-SK":e.string().max(eNv).optional(),"nb-NO":e.string().max(tNv).optional(),"is-IS":e.string().max(nNv).optional(),"hu-HU":e.string().max(sNv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),"3w_b2b":e.object({"en-US":e.string().max(oNv).optional(),"de-DE":e.string().max(iNv).optional(),"it-IT":e.string().max(aNv).optional(),"fr-FR":e.string().max(rNv).optional(),"es-ES":e.string().max(lNv).optional(),"sl-SI":e.string().max(dNv).optional(),"pt-PT":e.string().max(uNv).optional(),"nl-NL":e.string().max(cNv).optional(),"pl-PL":e.string().max(pNv).optional(),"hr-HR":e.string().max(mNv).optional(),"sv-SE":e.string().max(xNv).optional(),"fi-FI":e.string().max(gNv).optional(),"et-EE":e.string().max(yNv).optional(),"bg-BG":e.string().max(ONv).optional(),"cs-CZ":e.string().max(vNv).optional(),"sk-SK":e.string().max(SNv).optional(),"nb-NO":e.string().max(hNv).optional(),"is-IS":e.string().max(bNv).optional(),"hu-HU":e.string().max(zNv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),"3w_b2c":e.object({"en-US":e.string().max(fNv).optional(),"de-DE":e.string().max(BNv).optional(),"it-IT":e.string().max(TNv).optional(),"fr-FR":e.string().max(INv).optional(),"es-ES":e.string().max(ENv).optional(),"sl-SI":e.string().max(DNv).optional(),"pt-PT":e.string().max(RNv).optional(),"nl-NL":e.string().max(_Nv).optional(),"pl-PL":e.string().max(NNv).optional(),"hr-HR":e.string().max(MNv).optional(),"sv-SE":e.string().max(UNv).optional(),"fi-FI":e.string().max(PNv).optional(),"et-EE":e.string().max(CNv).optional(),"bg-BG":e.string().max(wNv).optional(),"cs-CZ":e.string().max(ANv).optional(),"sk-SK":e.string().max(FNv).optional(),"nb-NO":e.string().max(kNv).optional(),"is-IS":e.string().max(jNv).optional(),"hu-HU":e.string().max(HNv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),export:e.object({"en-US":e.string().max(LNv).optional(),"de-DE":e.string().max(GNv).optional(),"it-IT":e.string().max(VNv).optional(),"fr-FR":e.string().max(KNv).optional(),"es-ES":e.string().max(ZNv).optional(),"sl-SI":e.string().max(qNv).optional(),"pt-PT":e.string().max(WNv).optional(),"nl-NL":e.string().max(YNv).optional(),"pl-PL":e.string().max($Nv).optional(),"hr-HR":e.string().max(QNv).optional(),"sv-SE":e.string().max(JNv).optional(),"fi-FI":e.string().max(XNv).optional(),"et-EE":e.string().max(eMv).optional(),"bg-BG":e.string().max(tMv).optional(),"cs-CZ":e.string().max(nMv).optional(),"sk-SK":e.string().max(sMv).optional(),"nb-NO":e.string().max(oMv).optional(),"is-IS":e.string().max(iMv).optional(),"hu-HU":e.string().max(aMv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale.")}).optional().describe("Translated default tax clauses keyed by transaction type. Each transaction-type entry is a localized-content map keyed by full supported locales.")}).describe("Translated default document-facing settings keyed by full supported locales. Base scalar settings remain the default-language source of truth."),e.null()]).optional().describe("Translated default document-facing settings keyed by full supported locales. Used when new documents inherit default texts and when document defaults are rendered in an explicit non-default language."),default_invoice_note:e.string().nullish().describe("Default note for new invoices. Supports template variables: {entity_name}, {entity_email}, {document_number}, {document_date}, {document_due_date}, {document_total}, {document_currency}, {customer_name}, {customer_email}, {current_date}, {current_year}"),default_invoice_payment_terms:e.string().nullish().describe("Default payment terms for new invoices. Supports template variables: {entity_name}, {entity_email}, {document_number}, {document_date}, {document_due_date}, {document_total}, {document_currency}, {customer_name}, {customer_email}, {current_date}, {current_year}"),default_estimate_note:e.string().nullish().describe("Default note for new estimates. Supports template variables: {entity_name}, {entity_email}, {document_number}, {document_date}, {document_valid_until}, {document_total}, {document_currency}, {customer_name}, {customer_email}, {current_date}, {current_year}"),default_estimate_payment_terms:e.string().nullish().describe("Default payment terms for new estimates. Supports template variables: {entity_name}, {entity_email}, {document_number}, {document_date}, {document_valid_until}, {document_total}, {document_currency}, {customer_name}, {customer_email}, {current_date}, {current_year}"),default_credit_note_note:e.string().nullish().describe("Default note for new credit notes. Supports template variables: {entity_name}, {entity_email}, {document_number}, {document_date}, {document_total}, {document_currency}, {customer_name}, {customer_email}, {current_date}, {current_year}"),default_credit_note_payment_terms:e.string().nullish().describe("Default payment terms for new credit notes. Supports template variables: {entity_name}, {entity_email}, {document_number}, {document_date}, {document_total}, {document_currency}, {customer_name}, {customer_email}, {current_date}, {current_year}"),default_advance_invoice_note:e.string().nullish().describe("Default note for new advance invoices. Supports template variables: {entity_name}, {entity_email}, {document_number}, {document_date}, {document_total}, {document_currency}, {customer_name}, {customer_email}, {current_date}, {current_year}"),default_delivery_note_note:e.string().nullish().describe("Default note for new delivery notes. Supports template variables: {entity_name}, {entity_email}, {document_number}, {document_date}, {document_total}, {document_currency}, {customer_name}, {customer_email}, {current_date}, {current_year}"),document_footer:e.string().max(rMv).nullish().describe("Footer text for PDF documents. Supports template variables: {entity_name}, {entity_email}, {document_number}, {document_date}, {document_due_date}, {document_total}, {document_currency}, {customer_name}, {customer_email}, {current_date}, {current_year}"),default_document_signature:e.string().nullish().describe("Default signature text for all new documents. Supports template variables: {entity_name}, {entity_email}, {document_number}, {document_date}, {document_due_date}, {document_total}, {document_currency}, {customer_name}, {customer_email}, {current_date}, {current_year}"),bank_accounts:e.array(e.object({type:e.enum(["iban","us_domestic","uk_domestic","other"]).default(lMv).describe("Account type determines which fields are used"),name:e.string().nullish().describe("Display name for this account. Falls back to account number if not set"),bank_name:e.string().nullish().describe("Bank name"),iban:e.string().nullish().describe("IBAN (for type=iban)"),account_number:e.string().nullish().describe("Account number (for us_domestic, uk_domestic, other)"),bic:e.string().nullish().describe("BIC/SWIFT code for international transfers"),routing_number:e.string().nullish().describe("US ABA routing number (for type=us_domestic)"),sort_code:e.string().nullish().describe("UK sort code (for type=uk_domestic)"),is_default:e.boolean().nullish().describe("Whether this is the default account for new invoices")})).nullish().describe("Bank accounts for receiving payments. The first account with is_default=true (or first in list) is used for new invoices."),delivery_note_hide_prices:e.boolean().nullish().describe("Default hide_prices setting for new delivery notes. When true, prices and totals are hidden (packing list mode)."),purchase_order_hide_prices:e.boolean().nullish().describe("Default hide_prices for new purchase orders. When true, prices and totals are hidden by default. When false or unset, prices are hidden only while no line has a price."),credit_note_negative_values:e.boolean().nullish().describe("When true (default), credit note PDFs display line item quantities and totals as negative values while keeping prices positive. Zero quantities and totals stay unsigned. Set to false to show quantities and totals as positive."),show_payment_amounts:e.boolean().nullish().describe("When true, rendered document payment/refund sections show the payment amount next to each payment type. Defaults to false, which shows only the payment or refund type."),hide_tax_when_untaxed:e.boolean().nullish().describe("When true, rendered documents omit the tax row and per-line tax rate for lines and totals where no tax was applied. An explicitly applied 0% tax rate is still shown. Defaults to false, which keeps the 0% row for untaxed amounts."),tax_clause_defaults:e.union([e.object({domestic:e.string().nullish().describe("Default tax clause for domestic transactions (same country)"),article_76a:e.string().nullish().describe("Default clause for Slovenian domestic reverse charge under Article 76.a ZDDV-1."),intra_eu_b2b:e.string().nullish().describe("Default tax clause for intra-EU B2B transactions (reverse charge applies)"),intra_eu_b2b_goods:e.string().nullish().describe("Default tax clause for intra-EU B2B sales of goods (intra-community supply). Used when the lines are classified as product; falls back to intra_eu_b2b when empty."),intra_eu_b2c:e.string().nullish().describe("Default tax clause for intra-EU B2C transactions"),"3w_b2b":e.string().nullish().describe("Default tax clause for third-world B2B transactions (non-EU, business customer)"),"3w_b2c":e.string().nullish().describe("Default tax clause for third-world B2C transactions (non-EU, end consumer)"),export:e.string().nullish().describe("Deprecated: Use 3w_b2b and 3w_b2c instead. Default tax clause for export transactions.")}),e.null()]).optional().describe("Default tax clauses per transaction type. Auto-applied to documents based on transaction type determination. Supports template variables: {entity_name}, {customer_name}, {document_number}, etc."),default_warehouse_id:e.string().nullish().describe("Warehouse to use for inventory movements created on documents issued by this business unit, when set and not deleted. Falls back to the entity's default warehouse otherwise. Send null to clear.")}).describe("Business-unit overrides for document-facing settings. Uses the same field names as entity settings while excluding entity-only compliance and fiscalization settings."),logo_url:e.url().nullish(),signature_url:e.url().nullish()}).describe("Frozen business-unit snapshot persisted on documents for rendering and history."),e.null()]).optional().describe("Frozen business-unit snapshot used for stable rendering and historical accuracy."),warehouse_id:e.string().nullish().describe("Warehouse the document's stock effect applies to. Omit or send null to use the business unit's default warehouse, then the entity default. Used by invoices, credit notes and expenses; stored but inert on other document types."),customer_id:e.string().max(dMv).nullish(),customer:e.union([e.object({name:e.string().nullish(),unit_name:e.string().nullish().describe("Deprecated compatibility field. This value is no longer used for business-unit rendering; use `business_unit.name` on the document instead."),email:e.string().max(uMv).nullish(),address:e.string().nullish(),address_2:e.string().nullish(),post_code:e.string().nullish(),city:e.string().nullish(),state:e.string().nullish(),country:e.string().nullish(),country_code:e.string().max(cMv).nullish(),tax_number:e.string().nullish(),tax_number_2:e.string().nullish(),company_number:e.string().nullish(),phone:e.string().nullish(),peppol_id:e.string().nullish(),peppol_scheme_id:e.string().nullish(),e_invoicing:e.union([e.object({buyer_reference:e.string().nullish().describe("Canonical EN 16931 BT-10 buyer reference stored on the document customer snapshot. For German public-sector recipients, enter the Leitweg-ID here. For German B2B recipients this is optional unless the buyer requires it. Do not send a separate leitweg_id, routing_id, or top-level buyer_reference field.")}).describe("Customer e-invoicing data copied into the document customer snapshot. These fields are buyer/customer document data, not German validation state."),e.null()]).optional(),delivery_address:e.union([e.object({address:e.string().min(1).max(pMv),address_2:e.string().max(mMv).nullish(),post_code:e.string().min(1).max(xMv),city:e.string().min(1).max(gMv),country_code:e.string().min(OMv).max(vMv).nullish().default(yMv)}).describe("Physical delivery address when it differs from the buyer's billing address. Required by French law when applicable."),e.null()]).optional().describe("Physical delivery address for this document when it differs from the customer's billing address. It is stored only on the document snapshot and is not saved to the customer record."),bank_accounts:e.array(e.object({type:e.enum(["iban","us_domestic","uk_domestic","other"]).default(SMv).describe("Account type determines which fields are used"),name:e.string().nullish().describe("Display name for this account. Falls back to account number if not set"),bank_name:e.string().nullish().describe("Bank name"),iban:e.string().nullish().describe("IBAN (for type=iban)"),account_number:e.string().nullish().describe("Account number (for us_domestic, uk_domestic, other)"),bic:e.string().nullish().describe("BIC/SWIFT code for international transfers"),routing_number:e.string().nullish().describe("US ABA routing number (for type=us_domestic)"),sort_code:e.string().nullish().describe("UK sort code (for type=uk_domestic)"),is_default:e.boolean().nullish().describe("Whether this is the default account for new invoices")})).nullish(),is_end_consumer:e.boolean().nullish(),is_tax_subject:e.boolean().nullish().describe("Whether the customer is VAT identified. Stored in the document snapshot and used by country-specific tax reports; a country code alone does not imply VAT identification."),ujp:e.union([e.object({receiver_name:e.string().min(1).nullish().describe("UJP envelope recipient name. If omitted, package generation falls back to the document customer name."),receiver_identifier:e.string().min(1).nullish().describe("Optional recipient tax number or identifier override for the UJP envelope. If omitted, package generation falls back to the document customer tax number."),receiver_agent:e.string().min(1).nullish().describe("Recipient BIC for the UJP envelope. Public budget users normally use UJPLSI2DICL."),receiver_mailbox:e.string().min(1).nullish().describe("Recipient IBAN/TRR mailbox for the UJP envelope.")}).describe("Optional Slovenian UJP recipient routing data stored on customers and copied into document customer snapshots."),e.null()]).optional(),sdi:e.union([e.object({recipient_code:e.string().regex(hMv).nullish().describe("Italian SdI recipient code for buyer routing. When neither a code nor PEC is supplied, domestic invoices use 0000000 and the seller must provide the buyer a courtesy copy and availability notice."),pec:e.email().nullish().describe("Italian certified email address for buyer routing. When provided without an SdI recipient code, FatturaPA uses `CodiceDestinatario = 0000000` plus `PECDestinatario`."),fiscal_code:e.string().regex(bMv).nullish().describe("Buyer's Italian codice fiscale, independent of their VAT number. For a domestic consumer, legacy tax_number remains a fallback fiscal-code input. Required for VAT-group participants where applicable."),fiscal_regime:e.string().regex(zMv).nullish().describe("Issuer-only fiscal regime snapshot, captured from settings.tax_rules.italy at issuance. Ignored for buyer routing.")}),e.null()]).optional(),bank_account:e.object({type:e.enum(["iban","us_domestic","uk_domestic","other"]).default(fMv).describe("Account type determines which fields are used"),name:e.string().nullish().describe("Display name for this account. Falls back to account number if not set"),bank_name:e.string().nullish().describe("Bank name"),iban:e.string().nullish().describe("IBAN (for type=iban)"),account_number:e.string().nullish().describe("Account number (for us_domestic, uk_domestic, other)"),bic:e.string().nullish().describe("BIC/SWIFT code for international transfers"),routing_number:e.string().nullish().describe("US ABA routing number (for type=us_domestic)"),sort_code:e.string().nullish().describe("UK sort code (for type=uk_domestic)")}).nullish()}).describe("Customer recipient snapshot stored on the document. When a document is created with customer_id only, the snapshot is populated from the saved customer. When an explicit customer object is provided, the snapshot is built from that payload and known omitted fields are stored and returned as null instead of being backfilled from the saved customer."),e.null()]).optional().describe("Customer information snapshot stored on the document. Null means no customer. When present, known customer fields are returned with null for omitted values."),note:e.string().nullish().describe("Note for the document. If not provided, defaults to entity's document-type-specific note setting. Pass empty string to explicitly set no note."),footer:e.string().max(BMv).nullish(),signature:e.string().nullish().describe("Signature text for the document (e.g. 'John Smith, CEO'). If not provided, defaults to entity's default_document_signature setting. Pass empty string to explicitly set no signature."),translations:e.object({note:e.object({"en-US":e.string().max(TMv).optional(),"de-DE":e.string().max(IMv).optional(),"it-IT":e.string().max(EMv).optional(),"fr-FR":e.string().max(DMv).optional(),"es-ES":e.string().max(RMv).optional(),"sl-SI":e.string().max(_Mv).optional(),"pt-PT":e.string().max(NMv).optional(),"nl-NL":e.string().max(MMv).optional(),"pl-PL":e.string().max(UMv).optional(),"hr-HR":e.string().max(PMv).optional(),"sv-SE":e.string().max(CMv).optional(),"fi-FI":e.string().max(wMv).optional(),"et-EE":e.string().max(AMv).optional(),"bg-BG":e.string().max(FMv).optional(),"cs-CZ":e.string().max(kMv).optional(),"sk-SK":e.string().max(jMv).optional(),"nb-NO":e.string().max(HMv).optional(),"is-IS":e.string().max(LMv).optional(),"hu-HU":e.string().max(GMv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),footer:e.object({"en-US":e.string().max(VMv).optional(),"de-DE":e.string().max(KMv).optional(),"it-IT":e.string().max(ZMv).optional(),"fr-FR":e.string().max(qMv).optional(),"es-ES":e.string().max(WMv).optional(),"sl-SI":e.string().max(YMv).optional(),"pt-PT":e.string().max($Mv).optional(),"nl-NL":e.string().max(QMv).optional(),"pl-PL":e.string().max(JMv).optional(),"hr-HR":e.string().max(XMv).optional(),"sv-SE":e.string().max(eUv).optional(),"fi-FI":e.string().max(tUv).optional(),"et-EE":e.string().max(nUv).optional(),"bg-BG":e.string().max(sUv).optional(),"cs-CZ":e.string().max(oUv).optional(),"sk-SK":e.string().max(iUv).optional(),"nb-NO":e.string().max(aUv).optional(),"is-IS":e.string().max(rUv).optional(),"hu-HU":e.string().max(lUv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),signature:e.object({"en-US":e.string().max(dUv).optional(),"de-DE":e.string().max(uUv).optional(),"it-IT":e.string().max(cUv).optional(),"fr-FR":e.string().max(pUv).optional(),"es-ES":e.string().max(mUv).optional(),"sl-SI":e.string().max(xUv).optional(),"pt-PT":e.string().max(gUv).optional(),"nl-NL":e.string().max(yUv).optional(),"pl-PL":e.string().max(OUv).optional(),"hr-HR":e.string().max(vUv).optional(),"sv-SE":e.string().max(SUv).optional(),"fi-FI":e.string().max(hUv).optional(),"et-EE":e.string().max(bUv).optional(),"bg-BG":e.string().max(zUv).optional(),"cs-CZ":e.string().max(fUv).optional(),"sk-SK":e.string().max(BUv).optional(),"nb-NO":e.string().max(TUv).optional(),"is-IS":e.string().max(IUv).optional(),"hu-HU":e.string().max(EUv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale.")}).describe("Translated purchase order content keyed by full supported locales. Empty string intentionally blanks the field for that locale."),total:e.number().describe("Document total before tax in the currency's major unit. For EUR, `29.90` means \u20AC29.90, not 2,990 cents."),total_with_tax:e.number().describe("Document total after tax in the currency's major unit. For EUR, `29.90` means \u20AC29.90, not 2,990 cents."),total_discount:e.number().describe("Document discount total in the currency's major unit, stored as a net-equivalent amount for compatibility. In `b2b_standard`, this is the net value of line-item discounts applied before tax. In `b2c_gross_discount`, gross discounts are converted back to their net-equivalent value here. 0 when no discounts applied."),creation_source:e.enum(["standard","custom"]).describe("Internal origin of the create request. `standard` means a normal create endpoint calculated the totals. `custom` means the document was created through a `/custom` endpoint."),calculation_mode:e.enum(["b2b_standard","b2c_gross_discount"]).describe("Resolved calculation mode used for this document. Stored on the document so recalculation and rendering remain stable even if entity defaults change later."),taxes:e.array(e.object({rate:e.number().nullable(),tax_id:e.string().nullish(),base:e.number(),amount:e.number(),base_converted:e.number().nullish(),amount_converted:e.number().nullish(),reverse_charge:e.boolean().nullish()})).describe("Applied taxes summary"),currency_code:e.string().max(DUv),entity_id:e.string().max(RUv),date_year:e.number().min(_Uv).max(NUv),shareable_id:e.string().max(MUv).nullish(),voided_at:e.iso.datetime({}).nullish(),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),exchange_rate:e.union([e.object({rate:e.number().gt(UUv).describe("Positive exchange rate used for conversion"),source:e.string().describe("Source of the exchange rate (e.g., 'auto' or 'manual')"),date:e.iso.datetime({}).describe("Date of the exchange rate"),quote_currency:e.string().min(PUv).max(CUv).describe("Quote currency (the base currency converted to)")}),e.null()]).optional().describe("Currency exchange rate information if conversion was applied. Resolved for the supply/tax-point date (date_service_to, else date_service) when it falls on or before the issue date (date); otherwise resolved for the issue date."),total_converted:e.number().min(wUv).max(AUv).nullish(),total_with_tax_converted:e.number().min(FUv).max(kUv).nullish(),rounding_correction:e.number().nullish().describe("Rounding correction in the currency's major unit, applied to reconcile differences between calculated total_with_tax and expected_total_with_tax. Only present when expected_total_with_tax was provided during creation."),reference:e.string().nullish().describe("Custom reference for the document (e.g., purchase order number, payment reference). When set, used as the UPN payment reference instead of the auto-generated one."),deleted_at:e.iso.datetime({}).nullish().describe("Timestamp when the document was soft-deleted. Null if not deleted."),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({}),created_by_user_id:e.string().nullish().describe("ID of the user who created the document; null for documents created with an API key, by automation, or before this field existed. Read-only."),date_delivery:e.iso.datetime({}).nullish().describe("Requested delivery date (ISO 8601 datetime at midnight UTC)"),hide_prices:e.boolean().describe("When true, prices and totals are hidden on the document (quantity-only order)."),items:e.array(e.object({id:e.string().max(jUv),type:e.union([e.literal("separator"),e.literal(null)]).nullish().describe("Item type. null = regular line item, 'separator' = visual section header."),name:e.string().max(HUv),description:e.string().nullable(),classification:e.union([e.literal("product"),e.literal("service"),e.literal("advance"),e.literal(null)]).nullish().describe("Item classification: product, service, or advance. Used by country-specific tax and e-invoicing mappings, including Poland goods/services and Portugal SAF-T product typing."),price:e.number().nullish().describe("Per-unit net price before tax in the document currency's major unit; for EUR, `29.90` means \u20AC29.90, not 2,990 cents. Always stores net price. Null for separator items."),gross_price:e.number().nullish().describe("Per-unit gross price including tax in the document currency's major unit; for EUR, `29.90` means \u20AC29.90, not 2,990 cents.\nOnly present if user originally sent gross price.\nUse gross pricing to keep invoice totals stable when VIES reverse charge is applied."),quantity:e.number().nullish().describe("Item quantity. Null for separator items."),unit:e.string().nullish().describe("Display unit for this line item. E-invoicing XML unit output may be overridden by `e_invoicing.unit_code`."),taxes:e.array(e.object({rate:e.number().nullish(),tax_id:e.string().nullish(),classification:e.string().nullish(),reverse_charge:e.boolean().nullish(),amount:e.number().nullish(),is_deductible:e.boolean().nullish().describe("AP compatibility flag derived from deductible_percentage when supplied. Without a percentage, true resolves to 100 and false resolves to 0."),deductible_percentage:e.number().min(LUv).max(GUv).nullish().describe("Percentage of input tax that is deductible for AP bookkeeping, from 0 through 100."),pt_exemption_code:e.string().nullish(),pt_exemption_reason:e.string().nullish().describe("Optional Portugal legal wording override, at most 60 characters at issuance. Omit to use the explicitly selected tax's matching wording or the standard wording of pt_exemption_code. M19 has no default and requires a specific legal reason. The effective wording is saved on issuance."),destination_vat_country_code:e.string().min(VUv).max(KUv).nullish().describe("Server-owned ISO 3166-1 alpha-2 destination country marker indicating that this line tax is destination VAT for EU OSS. Null or omitted means issuer-country VAT.")}).describe("Document Item Tax")).describe("Applied taxes (provide rate to create new tax, or tax_id to use existing tax)"),discounts:e.array(e.object({value:e.number().min(ZUv).describe("Discount value"),type:e.enum(["percent","amount"]).default(qUv).describe("Discount type: 'percent' (default) or 'amount'")})).max(WUv).describe("Line discounts (max 5) in request order. In `b2b_standard`, percentage discounts are calculated from the original line subtotal and fixed amounts are summed before tax. In `b2c_gross_discount`, discounts are applied sequentially to the running gross subtotal."),total:e.number().nullish().describe("Line total before tax in the document currency's major unit. Null for separator items."),total_with_tax:e.number().nullish().describe("Line total after tax in the document currency's major unit. Null for separator items."),total_converted:e.number().min(YUv).max($Uv).nullish(),total_with_tax_converted:e.number().min(QUv).max(JUv).nullish(),purchase_order_id:e.string().max(XUv).nullish(),expense_id:e.string().max(ePv).nullish(),item_id:e.string().max(tPv).nullish(),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),translations:e.object({name:e.object({"en-US":e.string().max(nPv).optional(),"de-DE":e.string().max(sPv).optional(),"it-IT":e.string().max(oPv).optional(),"fr-FR":e.string().max(iPv).optional(),"es-ES":e.string().max(aPv).optional(),"sl-SI":e.string().max(rPv).optional(),"pt-PT":e.string().max(lPv).optional(),"nl-NL":e.string().max(dPv).optional(),"pl-PL":e.string().max(uPv).optional(),"hr-HR":e.string().max(cPv).optional(),"sv-SE":e.string().max(pPv).optional(),"fi-FI":e.string().max(mPv).optional(),"et-EE":e.string().max(xPv).optional(),"bg-BG":e.string().max(gPv).optional(),"cs-CZ":e.string().max(yPv).optional(),"sk-SK":e.string().max(OPv).optional(),"nb-NO":e.string().max(vPv).optional(),"is-IS":e.string().max(SPv).optional(),"hu-HU":e.string().max(hPv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale."),description:e.object({"en-US":e.string().max(bPv).optional(),"de-DE":e.string().max(zPv).optional(),"it-IT":e.string().max(fPv).optional(),"fr-FR":e.string().max(BPv).optional(),"es-ES":e.string().max(TPv).optional(),"sl-SI":e.string().max(IPv).optional(),"pt-PT":e.string().max(EPv).optional(),"nl-NL":e.string().max(DPv).optional(),"pl-PL":e.string().max(RPv).optional(),"hr-HR":e.string().max(_Pv).optional(),"sv-SE":e.string().max(NPv).optional(),"fi-FI":e.string().max(MPv).optional(),"et-EE":e.string().max(UPv).optional(),"bg-BG":e.string().max(PPv).optional(),"cs-CZ":e.string().max(CPv).optional(),"sk-SK":e.string().max(wPv).optional(),"nb-NO":e.string().max(APv).optional(),"is-IS":e.string().max(FPv).optional(),"hu-HU":e.string().max(kPv).optional()}).optional().describe("Translated user-authored document content keyed by full supported locales such as `de-DE`. Values may be empty strings to intentionally blank content for a locale.")}).describe("Translated user-authored line-item content keyed by full supported locales. Empty string intentionally blanks the field for that locale."),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({}),financial_category_id:e.string().nullish().describe("Reporting financial category assigned to this document line.")}))}).describe("Purchase order sent to a supplier");var bt={};W(bt,{CreateRecurringInvoiceBody:()=>FvS,CreateRecurringInvoiceHeader:()=>AvS,DeleteRecurringInvoiceHeader:()=>$vS,DeleteRecurringInvoiceParams:()=>YvS,GetRecurringInvoiceByIdHeader:()=>GvS,GetRecurringInvoiceByIdParams:()=>LvS,GetRecurringInvoiceByIdResponse:()=>VvS,GetRecurringInvoicesHeader:()=>jvS,GetRecurringInvoicesQueryParams:()=>kvS,GetRecurringInvoicesResponse:()=>HvS,PauseRecurringInvoiceHeader:()=>sSS,PauseRecurringInvoiceParams:()=>nSS,PauseRecurringInvoiceResponse:()=>oSS,PermanentDeleteRecurringInvoiceHeader:()=>tSS,PermanentDeleteRecurringInvoiceParams:()=>eSS,RestoreRecurringInvoiceHeader:()=>JvS,RestoreRecurringInvoiceParams:()=>QvS,RestoreRecurringInvoiceResponse:()=>XvS,ResumeRecurringInvoiceHeader:()=>aSS,ResumeRecurringInvoiceParams:()=>iSS,ResumeRecurringInvoiceResponse:()=>rSS,TriggerRecurringInvoiceHeader:()=>dSS,TriggerRecurringInvoiceParams:()=>lSS,TriggerRecurringInvoiceResponse:()=>uSS,UpdateRecurringInvoiceBody:()=>qvS,UpdateRecurringInvoiceHeader:()=>ZvS,UpdateRecurringInvoiceParams:()=>KvS,UpdateRecurringInvoiceResponse:()=>WvS,createRecurringInvoiceBodyDayOfMonthMax:()=>ZPv,createRecurringInvoiceBodyDayOfMonthMin:()=>KPv,createRecurringInvoiceBodyDayOfWeekMax:()=>VPv,createRecurringInvoiceBodyDayOfWeekMin:()=>GPv,createRecurringInvoiceBodyDocumentIdMax:()=>jPv,createRecurringInvoiceBodyEndDateRegExp:()=>$Pv,createRecurringInvoiceBodyIntervalMax:()=>LPv,createRecurringInvoiceBodyIntervalMin:()=>HPv,createRecurringInvoiceBodyMonthOfYearMax:()=>WPv,createRecurringInvoiceBodyMonthOfYearMin:()=>qPv,createRecurringInvoiceBodyPaymentTermsDaysMax:()=>XPv,createRecurringInvoiceBodyPaymentTermsDaysMin:()=>JPv,createRecurringInvoiceBodySendToMax:()=>QPv,createRecurringInvoiceBodyStartDateRegExp:()=>YPv,deleteRecurringInvoicePathIdRegExp:()=>UCv,getRecurringInvoiceByIdPathIdRegExp:()=>T2v,getRecurringInvoiceByIdResponseOneDayOfMonthMax:()=>C2v,getRecurringInvoiceByIdResponseOneDayOfMonthMin:()=>P2v,getRecurringInvoiceByIdResponseOneDayOfWeekMax:()=>U2v,getRecurringInvoiceByIdResponseOneDayOfWeekMin:()=>M2v,getRecurringInvoiceByIdResponseOneDocumentIdMax:()=>D2v,getRecurringInvoiceByIdResponseOneEndDateMax:()=>k2v,getRecurringInvoiceByIdResponseOneEntityIdMax:()=>E2v,getRecurringInvoiceByIdResponseOneIdMax:()=>I2v,getRecurringInvoiceByIdResponseOneIntervalMax:()=>N2v,getRecurringInvoiceByIdResponseOneIntervalMin:()=>_2v,getRecurringInvoiceByIdResponseOneInvoicesGeneratedMax:()=>Z2v,getRecurringInvoiceByIdResponseOneInvoicesGeneratedMin:()=>K2v,getRecurringInvoiceByIdResponseOneLastErrorMax:()=>W2v,getRecurringInvoiceByIdResponseOneLastGeneratedInvoiceIdMax:()=>q2v,getRecurringInvoiceByIdResponseOneLastRunDateMax:()=>H2v,getRecurringInvoiceByIdResponseOneMonthOfYearMax:()=>A2v,getRecurringInvoiceByIdResponseOneMonthOfYearMin:()=>w2v,getRecurringInvoiceByIdResponseOneNameMax:()=>R2v,getRecurringInvoiceByIdResponseOneNextRunDateMax:()=>j2v,getRecurringInvoiceByIdResponseOnePaymentTermsDaysMax:()=>V2v,getRecurringInvoiceByIdResponseOnePaymentTermsDaysMin:()=>G2v,getRecurringInvoiceByIdResponseOneSendToMax:()=>L2v,getRecurringInvoiceByIdResponseOneStartDateMax:()=>F2v,getRecurringInvoicesQueryLimitDefault:()=>e2v,getRecurringInvoicesQueryLimitMax:()=>t2v,getRecurringInvoicesResponseDataItemOneDayOfMonthMax:()=>c2v,getRecurringInvoicesResponseDataItemOneDayOfMonthMin:()=>u2v,getRecurringInvoicesResponseDataItemOneDayOfWeekMax:()=>d2v,getRecurringInvoicesResponseDataItemOneDayOfWeekMin:()=>l2v,getRecurringInvoicesResponseDataItemOneDocumentIdMax:()=>o2v,getRecurringInvoicesResponseDataItemOneEndDateMax:()=>g2v,getRecurringInvoicesResponseDataItemOneEntityIdMax:()=>s2v,getRecurringInvoicesResponseDataItemOneIdMax:()=>n2v,getRecurringInvoicesResponseDataItemOneIntervalMax:()=>r2v,getRecurringInvoicesResponseDataItemOneIntervalMin:()=>a2v,getRecurringInvoicesResponseDataItemOneInvoicesGeneratedMax:()=>z2v,getRecurringInvoicesResponseDataItemOneInvoicesGeneratedMin:()=>b2v,getRecurringInvoicesResponseDataItemOneLastErrorMax:()=>B2v,getRecurringInvoicesResponseDataItemOneLastGeneratedInvoiceIdMax:()=>f2v,getRecurringInvoicesResponseDataItemOneLastRunDateMax:()=>O2v,getRecurringInvoicesResponseDataItemOneMonthOfYearMax:()=>m2v,getRecurringInvoicesResponseDataItemOneMonthOfYearMin:()=>p2v,getRecurringInvoicesResponseDataItemOneNameMax:()=>i2v,getRecurringInvoicesResponseDataItemOneNextRunDateMax:()=>y2v,getRecurringInvoicesResponseDataItemOnePaymentTermsDaysMax:()=>h2v,getRecurringInvoicesResponseDataItemOnePaymentTermsDaysMin:()=>S2v,getRecurringInvoicesResponseDataItemOneSendToMax:()=>v2v,getRecurringInvoicesResponseDataItemOneStartDateMax:()=>x2v,pauseRecurringInvoicePathIdRegExp:()=>iwv,pauseRecurringInvoiceResponseOneDayOfMonthMax:()=>gwv,pauseRecurringInvoiceResponseOneDayOfMonthMin:()=>xwv,pauseRecurringInvoiceResponseOneDayOfWeekMax:()=>mwv,pauseRecurringInvoiceResponseOneDayOfWeekMin:()=>pwv,pauseRecurringInvoiceResponseOneDocumentIdMax:()=>lwv,pauseRecurringInvoiceResponseOneEndDateMax:()=>Swv,pauseRecurringInvoiceResponseOneEntityIdMax:()=>rwv,pauseRecurringInvoiceResponseOneIdMax:()=>awv,pauseRecurringInvoiceResponseOneIntervalMax:()=>cwv,pauseRecurringInvoiceResponseOneIntervalMin:()=>uwv,pauseRecurringInvoiceResponseOneInvoicesGeneratedMax:()=>Iwv,pauseRecurringInvoiceResponseOneInvoicesGeneratedMin:()=>Twv,pauseRecurringInvoiceResponseOneLastErrorMax:()=>Dwv,pauseRecurringInvoiceResponseOneLastGeneratedInvoiceIdMax:()=>Ewv,pauseRecurringInvoiceResponseOneLastRunDateMax:()=>bwv,pauseRecurringInvoiceResponseOneMonthOfYearMax:()=>Owv,pauseRecurringInvoiceResponseOneMonthOfYearMin:()=>ywv,pauseRecurringInvoiceResponseOneNameMax:()=>dwv,pauseRecurringInvoiceResponseOneNextRunDateMax:()=>hwv,pauseRecurringInvoiceResponseOnePaymentTermsDaysMax:()=>Bwv,pauseRecurringInvoiceResponseOnePaymentTermsDaysMin:()=>fwv,pauseRecurringInvoiceResponseOneSendToMax:()=>zwv,pauseRecurringInvoiceResponseOneStartDateMax:()=>vwv,permanentDeleteRecurringInvoicePathIdRegExp:()=>owv,restoreRecurringInvoicePathIdRegExp:()=>PCv,restoreRecurringInvoiceResponseOneDayOfMonthMax:()=>VCv,restoreRecurringInvoiceResponseOneDayOfMonthMin:()=>GCv,restoreRecurringInvoiceResponseOneDayOfWeekMax:()=>LCv,restoreRecurringInvoiceResponseOneDayOfWeekMin:()=>HCv,restoreRecurringInvoiceResponseOneDocumentIdMax:()=>ACv,restoreRecurringInvoiceResponseOneEndDateMax:()=>WCv,restoreRecurringInvoiceResponseOneEntityIdMax:()=>wCv,restoreRecurringInvoiceResponseOneIdMax:()=>CCv,restoreRecurringInvoiceResponseOneIntervalMax:()=>jCv,restoreRecurringInvoiceResponseOneIntervalMin:()=>kCv,restoreRecurringInvoiceResponseOneInvoicesGeneratedMax:()=>twv,restoreRecurringInvoiceResponseOneInvoicesGeneratedMin:()=>ewv,restoreRecurringInvoiceResponseOneLastErrorMax:()=>swv,restoreRecurringInvoiceResponseOneLastGeneratedInvoiceIdMax:()=>nwv,restoreRecurringInvoiceResponseOneLastRunDateMax:()=>$Cv,restoreRecurringInvoiceResponseOneMonthOfYearMax:()=>ZCv,restoreRecurringInvoiceResponseOneMonthOfYearMin:()=>KCv,restoreRecurringInvoiceResponseOneNameMax:()=>FCv,restoreRecurringInvoiceResponseOneNextRunDateMax:()=>YCv,restoreRecurringInvoiceResponseOnePaymentTermsDaysMax:()=>XCv,restoreRecurringInvoiceResponseOnePaymentTermsDaysMin:()=>JCv,restoreRecurringInvoiceResponseOneSendToMax:()=>QCv,restoreRecurringInvoiceResponseOneStartDateMax:()=>qCv,resumeRecurringInvoicePathIdRegExp:()=>Rwv,resumeRecurringInvoiceResponseOneDayOfMonthMax:()=>kwv,resumeRecurringInvoiceResponseOneDayOfMonthMin:()=>Fwv,resumeRecurringInvoiceResponseOneDayOfWeekMax:()=>Awv,resumeRecurringInvoiceResponseOneDayOfWeekMin:()=>wwv,resumeRecurringInvoiceResponseOneDocumentIdMax:()=>Mwv,resumeRecurringInvoiceResponseOneEndDateMax:()=>Gwv,resumeRecurringInvoiceResponseOneEntityIdMax:()=>Nwv,resumeRecurringInvoiceResponseOneIdMax:()=>_wv,resumeRecurringInvoiceResponseOneIntervalMax:()=>Cwv,resumeRecurringInvoiceResponseOneIntervalMin:()=>Pwv,resumeRecurringInvoiceResponseOneInvoicesGeneratedMax:()=>$wv,resumeRecurringInvoiceResponseOneInvoicesGeneratedMin:()=>Ywv,resumeRecurringInvoiceResponseOneLastErrorMax:()=>Jwv,resumeRecurringInvoiceResponseOneLastGeneratedInvoiceIdMax:()=>Qwv,resumeRecurringInvoiceResponseOneLastRunDateMax:()=>Kwv,resumeRecurringInvoiceResponseOneMonthOfYearMax:()=>Hwv,resumeRecurringInvoiceResponseOneMonthOfYearMin:()=>jwv,resumeRecurringInvoiceResponseOneNameMax:()=>Uwv,resumeRecurringInvoiceResponseOneNextRunDateMax:()=>Vwv,resumeRecurringInvoiceResponseOnePaymentTermsDaysMax:()=>Wwv,resumeRecurringInvoiceResponseOnePaymentTermsDaysMin:()=>qwv,resumeRecurringInvoiceResponseOneSendToMax:()=>Zwv,resumeRecurringInvoiceResponseOneStartDateMax:()=>Lwv,triggerRecurringInvoiceHeaderXRequestIdMax:()=>eAv,triggerRecurringInvoicePathIdRegExp:()=>Xwv,triggerRecurringInvoiceResponseOneDayOfMonthMax:()=>uAv,triggerRecurringInvoiceResponseOneDayOfMonthMin:()=>dAv,triggerRecurringInvoiceResponseOneDayOfWeekMax:()=>lAv,triggerRecurringInvoiceResponseOneDayOfWeekMin:()=>rAv,triggerRecurringInvoiceResponseOneDocumentIdMax:()=>sAv,triggerRecurringInvoiceResponseOneEndDateMax:()=>xAv,triggerRecurringInvoiceResponseOneEntityIdMax:()=>nAv,triggerRecurringInvoiceResponseOneIdMax:()=>tAv,triggerRecurringInvoiceResponseOneIntervalMax:()=>aAv,triggerRecurringInvoiceResponseOneIntervalMin:()=>iAv,triggerRecurringInvoiceResponseOneInvoicesGeneratedMax:()=>bAv,triggerRecurringInvoiceResponseOneInvoicesGeneratedMin:()=>hAv,triggerRecurringInvoiceResponseOneLastErrorMax:()=>fAv,triggerRecurringInvoiceResponseOneLastGeneratedInvoiceIdMax:()=>zAv,triggerRecurringInvoiceResponseOneLastRunDateMax:()=>yAv,triggerRecurringInvoiceResponseOneMonthOfYearMax:()=>pAv,triggerRecurringInvoiceResponseOneMonthOfYearMin:()=>cAv,triggerRecurringInvoiceResponseOneNameMax:()=>oAv,triggerRecurringInvoiceResponseOneNextRunDateMax:()=>gAv,triggerRecurringInvoiceResponseOnePaymentTermsDaysMax:()=>SAv,triggerRecurringInvoiceResponseOnePaymentTermsDaysMin:()=>vAv,triggerRecurringInvoiceResponseOneSendToMax:()=>OAv,triggerRecurringInvoiceResponseOneStartDateMax:()=>mAv,updateRecurringInvoiceBodyDayOfMonthMax:()=>nCv,updateRecurringInvoiceBodyDayOfMonthMin:()=>tCv,updateRecurringInvoiceBodyDayOfWeekMax:()=>eCv,updateRecurringInvoiceBodyDayOfWeekMin:()=>X2v,updateRecurringInvoiceBodyEndDateRegExp:()=>aCv,updateRecurringInvoiceBodyIntervalMax:()=>J2v,updateRecurringInvoiceBodyIntervalMin:()=>Q2v,updateRecurringInvoiceBodyMonthOfYearMax:()=>oCv,updateRecurringInvoiceBodyMonthOfYearMin:()=>sCv,updateRecurringInvoiceBodyNameMax:()=>$2v,updateRecurringInvoiceBodyPaymentTermsDaysMax:()=>dCv,updateRecurringInvoiceBodyPaymentTermsDaysMin:()=>lCv,updateRecurringInvoiceBodySendToMax:()=>rCv,updateRecurringInvoiceBodyStartDateRegExp:()=>iCv,updateRecurringInvoicePathIdRegExp:()=>Y2v,updateRecurringInvoiceResponseOneDayOfMonthMax:()=>SCv,updateRecurringInvoiceResponseOneDayOfMonthMin:()=>vCv,updateRecurringInvoiceResponseOneDayOfWeekMax:()=>OCv,updateRecurringInvoiceResponseOneDayOfWeekMin:()=>yCv,updateRecurringInvoiceResponseOneDocumentIdMax:()=>pCv,updateRecurringInvoiceResponseOneEndDateMax:()=>fCv,updateRecurringInvoiceResponseOneEntityIdMax:()=>cCv,updateRecurringInvoiceResponseOneIdMax:()=>uCv,updateRecurringInvoiceResponseOneIntervalMax:()=>gCv,updateRecurringInvoiceResponseOneIntervalMin:()=>xCv,updateRecurringInvoiceResponseOneInvoicesGeneratedMax:()=>_Cv,updateRecurringInvoiceResponseOneInvoicesGeneratedMin:()=>RCv,updateRecurringInvoiceResponseOneLastErrorMax:()=>MCv,updateRecurringInvoiceResponseOneLastGeneratedInvoiceIdMax:()=>NCv,updateRecurringInvoiceResponseOneLastRunDateMax:()=>TCv,updateRecurringInvoiceResponseOneMonthOfYearMax:()=>bCv,updateRecurringInvoiceResponseOneMonthOfYearMin:()=>hCv,updateRecurringInvoiceResponseOneNameMax:()=>mCv,updateRecurringInvoiceResponseOneNextRunDateMax:()=>BCv,updateRecurringInvoiceResponseOnePaymentTermsDaysMax:()=>DCv,updateRecurringInvoiceResponseOnePaymentTermsDaysMin:()=>ECv,updateRecurringInvoiceResponseOneSendToMax:()=>ICv,updateRecurringInvoiceResponseOneStartDateMax:()=>zCv});var AvS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),jPv=36,HPv=-2147483648,LPv=2147483647,GPv=-2147483648,VPv=2147483647,KPv=-2147483648,ZPv=2147483647,qPv=-2147483648,WPv=2147483647,YPv=/^\d{4}-\d{2}-\d{2}$/,$Pv=/^\d{4}-\d{2}-\d{2}$/,QPv=255,JPv=-2147483648,XPv=2147483647,FvS=e.object({document_id:e.string().max(jPv),name:e.string().min(1),frequency:e.enum(["daily","weekly","monthly","yearly"]),interval:e.number().min(HPv).max(LPv).optional(),day_of_week:e.number().min(GPv).max(VPv).nullish(),day_of_month:e.number().min(KPv).max(ZPv).nullish(),month_of_year:e.number().min(qPv).max(WPv).nullish(),start_date:e.string().regex(YPv).describe("Start date in YYYY-MM-DD format"),end_date:e.string().regex($Pv).optional().describe("End date in YYYY-MM-DD format (null = no end)"),auto_send:e.boolean().optional(),create_as_draft:e.boolean().optional(),send_to:e.string().max(QPv).nullish(),payment_terms_days:e.number().min(JPv).max(XPv).nullish(),notify_owner:e.boolean().optional(),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),e2v=10,t2v=100,kvS=e.object({limit:e.number().min(1).max(t2v).default(e2v).describe("Number of results per request."),next_cursor:e.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance."),order_by:e.union([e.enum(["id","name","status","next_run_date","created_at","-id","-name","-status","-next_run_date","-created_at"]),e.array(e.enum(["id","name","status","next_run_date","created_at","-id","-name","-status","-next_run_date","-created_at"]))]).optional().describe("Sort by one field or provide a repeated array for multi-column ordering. Prefix a field with `-` for descending order. When paginating, reuse cursors only with the same effective ordering."),query:e.string().optional().describe('JSON query object for filtering results. Supports MongoDB-style operators.\n\n**Array columns** (such as an item\'s `categories`) compare as sets: a direct value asks whether the list contains it, `contains` takes an array and requires all of them, `in` matches any of them, and `notIn` matches none. Scalar operators such as `gt` do not apply and are ignored.\n\n**Supported operators:**\n- `equals` or direct value - Exact match (default)\n- `gte` - Greater than or equal\n- `lte` - Less than or equal\n- `gt` - Greater than\n- `lt` - Less than\n- `in` - Value in array\n- `notIn` - Value not in array\n- `contains` - String contains (case-insensitive)\n- `startsWith` - String starts with\n- `endsWith` - String ends with\n- `between` - Value between two numbers/dates [min, max]\n\n**Allowed fields:** id, name, status, frequency, document_id\n\n**Examples:**\n- `{"total": {"gte": 1000}}` - Invoices over 1000\n- `{"customer.name": {"contains": "Acme"}}` - Customer name contains "Acme"\n- `{"date": {"between": ["2025-01-01", "2025-12-31"]}}` - Date range'),search:e.string().optional().describe(`Full-text search query to filter results across multiple fields.
229
229
  Searches are case-insensitive and match partial strings.
230
- Searches across all text fields including names, descriptions, addresses, and metadata values.`),deleted:e.boolean().optional().describe("When true, returns only soft-deleted (trashed) items. Default false excludes deleted items.")}),jvS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),n2v=36,s2v=36,o2v=36,i2v=255,a2v=-2147483648,r2v=2147483647,l2v=-2147483648,d2v=2147483647,u2v=-2147483648,c2v=2147483647,p2v=-2147483648,m2v=2147483647,x2v=10,g2v=10,y2v=10,O2v=10,v2v=255,S2v=-2147483648,h2v=2147483647,b2v=-2147483648,z2v=2147483647,f2v=36,B2v=1e3,HvS=e.object({data:e.array(e.object({id:e.string().max(n2v),entity_id:e.string().max(s2v),document_id:e.string().max(o2v),name:e.string().max(i2v),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(a2v).max(r2v),day_of_week:e.number().min(l2v).max(d2v).nullish(),day_of_month:e.number().min(u2v).max(c2v).nullish(),month_of_year:e.number().min(p2v).max(m2v).nullish(),start_date:e.string().max(x2v),end_date:e.string().max(g2v).nullish(),next_run_date:e.string().max(y2v).nullish(),last_run_date:e.string().max(O2v).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(v2v).nullish(),payment_terms_days:e.number().min(S2v).max(h2v).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(b2v).max(z2v),last_generated_invoice_id:e.string().max(f2v).nullish(),last_error:e.string().max(B2v).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule")),pagination:e.object({total:e.number().describe("Total number of items available in the collection"),next_cursor:e.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),T2v=/^[a-z]{3,4}_[0-9a-f]{24}$/,LvS=e.object({id:e.stringFormat("resource-id",T2v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),GvS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),I2v=36,E2v=36,D2v=36,R2v=255,_2v=-2147483648,N2v=2147483647,M2v=-2147483648,U2v=2147483647,P2v=-2147483648,C2v=2147483647,w2v=-2147483648,A2v=2147483647,F2v=10,k2v=10,j2v=10,H2v=10,L2v=255,G2v=-2147483648,V2v=2147483647,K2v=-2147483648,Z2v=2147483647,q2v=36,W2v=1e3,VvS=e.object({id:e.string().max(I2v),entity_id:e.string().max(E2v),document_id:e.string().max(D2v),name:e.string().max(R2v),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(_2v).max(N2v),day_of_week:e.number().min(M2v).max(U2v).nullish(),day_of_month:e.number().min(P2v).max(C2v).nullish(),month_of_year:e.number().min(w2v).max(A2v).nullish(),start_date:e.string().max(F2v),end_date:e.string().max(k2v).nullish(),next_run_date:e.string().max(j2v).nullish(),last_run_date:e.string().max(H2v).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(L2v).nullish(),payment_terms_days:e.number().min(G2v).max(V2v).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(K2v).max(Z2v),last_generated_invoice_id:e.string().max(q2v).nullish(),last_error:e.string().max(W2v).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule"),Y2v=/^[a-z]{3,4}_[0-9a-f]{24}$/,KvS=e.object({id:e.stringFormat("resource-id",Y2v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),ZvS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),$2v=255,Q2v=-2147483648,J2v=2147483647,X2v=-2147483648,eCv=2147483647,tCv=-2147483648,nCv=2147483647,sCv=-2147483648,oCv=2147483647,iCv=/^\d{4}-\d{2}-\d{2}$/,aCv=/^\d{4}-\d{2}-\d{2}$/,rCv=255,lCv=-2147483648,dCv=2147483647,qvS=e.object({name:e.string().max($2v).optional(),frequency:e.enum(["daily","weekly","monthly","yearly"]).optional(),interval:e.number().min(Q2v).max(J2v).optional(),day_of_week:e.number().min(X2v).max(eCv).nullish(),day_of_month:e.number().min(tCv).max(nCv).nullish(),month_of_year:e.number().min(sCv).max(oCv).nullish(),start_date:e.string().regex(iCv).optional(),end_date:e.string().regex(aCv).nullish(),auto_send:e.boolean().optional(),create_as_draft:e.boolean().optional(),send_to:e.string().max(rCv).nullish(),payment_terms_days:e.number().min(lCv).max(dCv).nullish(),notify_owner:e.boolean().optional(),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),uCv=36,cCv=36,pCv=36,mCv=255,xCv=-2147483648,gCv=2147483647,yCv=-2147483648,OCv=2147483647,vCv=-2147483648,SCv=2147483647,hCv=-2147483648,bCv=2147483647,zCv=10,fCv=10,BCv=10,TCv=10,ICv=255,ECv=-2147483648,DCv=2147483647,RCv=-2147483648,_Cv=2147483647,NCv=36,MCv=1e3,WvS=e.object({id:e.string().max(uCv),entity_id:e.string().max(cCv),document_id:e.string().max(pCv),name:e.string().max(mCv),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(xCv).max(gCv),day_of_week:e.number().min(yCv).max(OCv).nullish(),day_of_month:e.number().min(vCv).max(SCv).nullish(),month_of_year:e.number().min(hCv).max(bCv).nullish(),start_date:e.string().max(zCv),end_date:e.string().max(fCv).nullish(),next_run_date:e.string().max(BCv).nullish(),last_run_date:e.string().max(TCv).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(ICv).nullish(),payment_terms_days:e.number().min(ECv).max(DCv).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(RCv).max(_Cv),last_generated_invoice_id:e.string().max(NCv).nullish(),last_error:e.string().max(MCv).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule"),UCv=/^[a-z]{3,4}_[0-9a-f]{24}$/,YvS=e.object({id:e.stringFormat("resource-id",UCv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),$vS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),PCv=/^[a-z]{3,4}_[0-9a-f]{24}$/,QvS=e.object({id:e.stringFormat("resource-id",PCv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),JvS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),CCv=36,wCv=36,ACv=36,FCv=255,kCv=-2147483648,jCv=2147483647,HCv=-2147483648,LCv=2147483647,GCv=-2147483648,VCv=2147483647,KCv=-2147483648,ZCv=2147483647,qCv=10,WCv=10,YCv=10,$Cv=10,QCv=255,JCv=-2147483648,XCv=2147483647,ewv=-2147483648,twv=2147483647,nwv=36,swv=1e3,XvS=e.object({id:e.string().max(CCv),entity_id:e.string().max(wCv),document_id:e.string().max(ACv),name:e.string().max(FCv),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(kCv).max(jCv),day_of_week:e.number().min(HCv).max(LCv).nullish(),day_of_month:e.number().min(GCv).max(VCv).nullish(),month_of_year:e.number().min(KCv).max(ZCv).nullish(),start_date:e.string().max(qCv),end_date:e.string().max(WCv).nullish(),next_run_date:e.string().max(YCv).nullish(),last_run_date:e.string().max($Cv).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(QCv).nullish(),payment_terms_days:e.number().min(JCv).max(XCv).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(ewv).max(twv),last_generated_invoice_id:e.string().max(nwv).nullish(),last_error:e.string().max(swv).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule"),owv=/^[a-z]{3,4}_[0-9a-f]{24}$/,eSS=e.object({id:e.stringFormat("resource-id",owv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),tSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),iwv=/^[a-z]{3,4}_[0-9a-f]{24}$/,nSS=e.object({id:e.stringFormat("resource-id",iwv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),sSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),awv=36,rwv=36,lwv=36,dwv=255,uwv=-2147483648,cwv=2147483647,pwv=-2147483648,mwv=2147483647,xwv=-2147483648,gwv=2147483647,ywv=-2147483648,Owv=2147483647,vwv=10,Swv=10,hwv=10,bwv=10,zwv=255,fwv=-2147483648,Bwv=2147483647,Twv=-2147483648,Iwv=2147483647,Ewv=36,Dwv=1e3,oSS=e.object({id:e.string().max(awv),entity_id:e.string().max(rwv),document_id:e.string().max(lwv),name:e.string().max(dwv),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(uwv).max(cwv),day_of_week:e.number().min(pwv).max(mwv).nullish(),day_of_month:e.number().min(xwv).max(gwv).nullish(),month_of_year:e.number().min(ywv).max(Owv).nullish(),start_date:e.string().max(vwv),end_date:e.string().max(Swv).nullish(),next_run_date:e.string().max(hwv).nullish(),last_run_date:e.string().max(bwv).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(zwv).nullish(),payment_terms_days:e.number().min(fwv).max(Bwv).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(Twv).max(Iwv),last_generated_invoice_id:e.string().max(Ewv).nullish(),last_error:e.string().max(Dwv).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule"),Rwv=/^[a-z]{3,4}_[0-9a-f]{24}$/,iSS=e.object({id:e.stringFormat("resource-id",Rwv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),aSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),_wv=36,Nwv=36,Mwv=36,Uwv=255,Pwv=-2147483648,Cwv=2147483647,wwv=-2147483648,Awv=2147483647,Fwv=-2147483648,kwv=2147483647,jwv=-2147483648,Hwv=2147483647,Lwv=10,Gwv=10,Vwv=10,Kwv=10,Zwv=255,qwv=-2147483648,Wwv=2147483647,Ywv=-2147483648,$wv=2147483647,Qwv=36,Jwv=1e3,rSS=e.object({id:e.string().max(_wv),entity_id:e.string().max(Nwv),document_id:e.string().max(Mwv),name:e.string().max(Uwv),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(Pwv).max(Cwv),day_of_week:e.number().min(wwv).max(Awv).nullish(),day_of_month:e.number().min(Fwv).max(kwv).nullish(),month_of_year:e.number().min(jwv).max(Hwv).nullish(),start_date:e.string().max(Lwv),end_date:e.string().max(Gwv).nullish(),next_run_date:e.string().max(Vwv).nullish(),last_run_date:e.string().max(Kwv).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(Zwv).nullish(),payment_terms_days:e.number().min(qwv).max(Wwv).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(Ywv).max($wv),last_generated_invoice_id:e.string().max(Qwv).nullish(),last_error:e.string().max(Jwv).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule"),Xwv=/^[a-z]{3,4}_[0-9a-f]{24}$/,lSS=e.object({id:e.stringFormat("resource-id",Xwv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),eAv=100,dSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist."),"X-Request-Id":e.string().max(eAv).optional().describe("Stable identifier for retrying the same intentional recurring-invoice trigger without creating another invoice. A concurrent retry while the first trigger is still processing returns `409 conflict`. See the [idempotency guide](https://docs.spaceinvoices.com/guides/idempotency/).")}),tAv=36,nAv=36,sAv=36,oAv=255,iAv=-2147483648,aAv=2147483647,rAv=-2147483648,lAv=2147483647,dAv=-2147483648,uAv=2147483647,cAv=-2147483648,pAv=2147483647,mAv=10,xAv=10,gAv=10,yAv=10,OAv=255,vAv=-2147483648,SAv=2147483647,hAv=-2147483648,bAv=2147483647,zAv=36,fAv=1e3,uSS=e.object({id:e.string().max(tAv),entity_id:e.string().max(nAv),document_id:e.string().max(sAv),name:e.string().max(oAv),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(iAv).max(aAv),day_of_week:e.number().min(rAv).max(lAv).nullish(),day_of_month:e.number().min(dAv).max(uAv).nullish(),month_of_year:e.number().min(cAv).max(pAv).nullish(),start_date:e.string().max(mAv),end_date:e.string().max(xAv).nullish(),next_run_date:e.string().max(gAv).nullish(),last_run_date:e.string().max(yAv).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(OAv).nullish(),payment_terms_days:e.number().min(vAv).max(SAv).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(hAv).max(bAv),last_generated_invoice_id:e.string().max(zAv).nullish(),last_error:e.string().max(fAv).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule");var zt={};W(zt,{BackfillRevenueRecognitionBody:()=>OSS,BackfillRevenueRecognitionHeader:()=>ySS,BackfillRevenueRecognitionResponse:()=>vSS,GetRevenueRecognitionDetailsHeader:()=>fSS,GetRevenueRecognitionDetailsQueryParams:()=>zSS,GetRevenueRecognitionDetailsResponse:()=>BSS,GetRevenueRecognitionDocumentScheduleHeader:()=>RSS,GetRevenueRecognitionDocumentScheduleParams:()=>DSS,GetRevenueRecognitionDocumentScheduleResponse:()=>_SS,GetRevenueRecognitionReportHeader:()=>hSS,GetRevenueRecognitionReportQueryParams:()=>SSS,GetRevenueRecognitionReportResponse:()=>bSS,GetRevenueRecognitionSettingsHeader:()=>cSS,GetRevenueRecognitionSettingsResponse:()=>pSS,ListRevenueRecognitionLinesHeader:()=>ISS,ListRevenueRecognitionLinesQueryParams:()=>TSS,ListRevenueRecognitionLinesResponse:()=>ESS,UpdateRevenueRecognitionSettingsBody:()=>xSS,UpdateRevenueRecognitionSettingsHeader:()=>mSS,UpdateRevenueRecognitionSettingsResponse:()=>gSS,backfillRevenueRecognitionBodyDryRunDefault:()=>EAv,getRevenueRecognitionDetailsQueryBasisDefault:()=>_Av,getRevenueRecognitionDetailsQueryFinancialCategoryKeyMax:()=>MAv,getRevenueRecognitionDetailsQueryGroupByDefault:()=>NAv,getRevenueRecognitionDocumentSchedulePathIdRegExp:()=>AAv,getRevenueRecognitionReportQueryBasisDefault:()=>DAv,getRevenueRecognitionReportQueryGroupByDefault:()=>RAv,getRevenueRecognitionSettingsResponseDefaultMethodDefault:()=>BAv,listRevenueRecognitionLinesQueryBasisDefault:()=>UAv,listRevenueRecognitionLinesQueryFinancialCategoryKeyMax:()=>CAv,listRevenueRecognitionLinesQueryGroupByDefault:()=>PAv,listRevenueRecognitionLinesQueryLimitMax:()=>wAv,updateRevenueRecognitionSettingsBodyDefaultMethodDefault:()=>TAv,updateRevenueRecognitionSettingsResponseDefaultMethodDefault:()=>IAv});var cSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),BAv="off",pSS=e.object({default_method:e.enum(["off","service_period_daily"]).default(BAv).describe("Entity default for generated revenue recognition entries. Individual document lines can opt out with method=immediate.")}),mSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),TAv="off",xSS=e.object({default_method:e.union([e.literal("off"),e.literal("service_period_daily"),e.literal(null)]).nullish().default(TAv).describe("Entity default for generated revenue recognition entries. Send null to clear back to the default off behavior.")}),IAv="off",gSS=e.object({default_method:e.enum(["off","service_period_daily"]).default(IAv).describe("Entity default for generated revenue recognition entries. Individual document lines can opt out with method=immediate.")}),ySS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),EAv=false,OSS=e.object({date_from:e.string().nullish().describe("Optional document issue date lower bound in YYYY-MM-DD format."),date_to:e.string().nullish().describe("Optional document issue date upper bound in YYYY-MM-DD format."),dry_run:e.boolean().default(EAv).describe("When true, counts eligible documents without writing entries.")}),vSS=e.object({processed_documents:e.number(),generated_entries:e.number(),dry_run:e.boolean()}),DAv="recognized",RAv="financial_category",SSS=e.object({date_from:e.string().describe("Report start date in YYYY-MM-DD format."),date_to:e.string().describe("Report end date in YYYY-MM-DD format."),basis:e.enum(["recognized","deferred"]).default(DAv).describe("recognized returns revenue recognized inside each period. deferred returns the remaining future recognition balance at the end of each period."),group_by:e.enum(["financial_category"]).default(RAv).describe("Report grouping dimension.")}),hSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),bSS=e.object({basis:e.enum(["recognized","deferred"]),group_by:e.enum(["financial_category"]),calculation_mode:e.enum(["recognition_entries","document_date_fallback","mixed"]).describe("How report values were calculated. recognition_entries uses generated service-period schedules; document_date_fallback uses finalized document-item totals by issue date while automation is off; mixed combines document-date fallback with explicit line-level recognition entries."),periods:e.array(e.object({period:e.string(),date_from:e.string(),date_to:e.string()})),series:e.array(e.object({key:e.string(),financial_category_id:e.string().nullable(),name:e.string(),color:e.string().nullable(),values:e.array(e.number()),total:e.number()})),totals:e.array(e.number()),total:e.number(),currency_code:e.string(),date_from:e.string(),date_to:e.string()}),_Av="recognized",NAv="financial_category",MAv=200,zSS=e.object({date_from:e.string().describe("Report start date in YYYY-MM-DD format."),date_to:e.string().describe("Report end date in YYYY-MM-DD format."),basis:e.enum(["recognized","deferred"]).default(_Av).describe("recognized returns the entries recognized inside the date range. deferred returns the entries still to be recognized after date_to from documents dated on or before date_to, so the total equals the deferred balance at date_to."),group_by:e.enum(["financial_category"]).default(NAv).describe("Report grouping dimension."),financial_category_id:e.string().nullish().describe("Optional category ID. Use null/omit for all categories."),financial_category_key:e.string().max(MAv).nullish().describe("Optional category key (for example `office-supplies`), as an alternative to financial_category_id. Cannot be combined with financial_category_id. An unknown key selects nothing, like an unknown ID. Use null/omit for all categories.")}),fSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),BSS=e.object({calculation_mode:e.enum(["recognition_entries","document_date_fallback","mixed"]),data:e.array(e.object({id:e.string(),document_id:e.string(),document_type:e.string(),document_number:e.string(),document_date:e.string(),document_item_id:e.string(),document_item_name:e.string().nullish().describe("Name of the document line the entry was generated from."),customer_id:e.string().nullable(),customer_name:e.string().nullable(),financial_category_id:e.string().nullable(),financial_category_name:e.string(),currency_code:e.string(),source_amount:e.number(),recognized_amount:e.number(),period_start:e.string(),period_end:e.string(),service_period_start:e.string(),service_period_end:e.string(),method:e.string()})),total:e.number(),currency_code:e.string()}),UAv="recognized",PAv="financial_category",CAv=200,wAv=100,TSS=e.object({date_from:e.string().describe("Report start date in YYYY-MM-DD format."),date_to:e.string().describe("Report end date in YYYY-MM-DD format."),basis:e.enum(["recognized","deferred"]).default(UAv).describe("recognized returns the entries recognized inside the date range. deferred returns the entries still to be recognized after date_to from documents dated on or before date_to, so the total equals the deferred balance at date_to."),group_by:e.enum(["financial_category"]).default(PAv).describe("Report grouping dimension."),financial_category_id:e.string().nullish().describe("Optional category ID. Use null/omit for all categories."),financial_category_key:e.string().max(CAv).nullish().describe("Optional category key (for example `office-supplies`), as an alternative to financial_category_id. Cannot be combined with financial_category_id. An unknown key selects nothing, like an unknown ID. Use null/omit for all categories."),uncategorized:e.boolean().nullish().describe("When true, only lines without a financial category. Cannot be combined with financial_category_id or financial_category_key."),limit:e.number().min(1).max(wAv).nullish().describe("Number of lines per page (1-100). Defaults to 20; null or omitted uses the default."),next_cursor:e.string().nullish().describe("Opaque cursor from pagination.next_cursor of the previous response. Null or omitted starts at the first page."),prev_cursor:e.string().nullish().describe("Opaque cursor from pagination.prev_cursor of the previous response. Null or omitted starts at the first page.")}),ISS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),ESS=e.object({calculation_mode:e.enum(["recognition_entries","document_date_fallback","mixed"]),data:e.array(e.object({document_item_id:e.string(),document_item_name:e.string().nullable(),document_id:e.string(),document_type:e.string(),document_number:e.string(),document_date:e.string(),customer_id:e.string().nullable(),customer_name:e.string().nullable(),financial_category_id:e.string().nullable(),financial_category_name:e.string(),currency_code:e.string(),source_amount:e.number().describe("Net amount of the whole document line."),amount:e.number().describe("Sum of the line's entries in the selection: recognized inside the range, or still deferred after date_to."),entry_count:e.number(),first_period_start:e.string(),last_period_start:e.string(),service_period_start:e.string(),service_period_end:e.string()})),total:e.number().describe("Sum of amount across every line in the selection, not only this page."),currency_code:e.string(),pagination:e.object({total:e.number().describe("Total number of items available in the collection"),next_cursor:e.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),AAv=/^[a-z]{3,4}_[0-9a-f]{24}$/,DSS=e.object({id:e.stringFormat("resource-id",AAv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),RSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),_SS=e.object({calculation_mode:e.enum(["recognition_entries","document_date_fallback","mixed"]),data:e.array(e.object({id:e.string(),document_id:e.string(),document_type:e.string(),document_number:e.string(),document_date:e.string(),document_item_id:e.string(),document_item_name:e.string().nullish().describe("Name of the document line the entry was generated from."),customer_id:e.string().nullable(),customer_name:e.string().nullable(),financial_category_id:e.string().nullable(),financial_category_name:e.string(),currency_code:e.string(),source_amount:e.number(),recognized_amount:e.number(),period_start:e.string(),period_end:e.string(),service_period_start:e.string(),service_period_end:e.string(),method:e.string()})),total:e.number(),currency_code:e.string()}).and(e.object({document_id:e.string()}));var ft={};W(ft,{StripeAppConnectBody:()=>USS,StripeAppEntityDisconnectResponse:()=>CSS,StripeAppEntityGetConnectionResponse:()=>PSS,StripeAppEntityGetSettingsResponse:()=>wSS,StripeAppEntityUpdateSettingsBody:()=>ASS,StripeAppEntityUpdateSettingsResponse:()=>FSS,StripeAppMarketplaceAuthorizeBody:()=>NSS,StripeAppMarketplaceAuthorizeResponse:()=>MSS,stripeAppEntityUpdateSettingsBodyDefaultNoteMax:()=>FAv,stripeAppEntityUpdateSettingsBodyDefaultTaxRateMax:()=>jAv,stripeAppEntityUpdateSettingsBodyDefaultTaxRateMin:()=>kAv});var NSS=e.object({entity_id:e.string().min(1).describe("Entity ID to connect to the Stripe account")}),MSS=e.object({redirect_url:e.url().describe("URL to redirect the user to for authentication")}),USS=e.object({state:e.string().min(1).describe("State token from the authorize step"),entity_id:e.string().min(1).describe("Entity ID to connect to the Stripe account"),force:e.boolean().nullish().describe("If true, disconnects any existing connection for this Stripe account before connecting. Null is treated as false.")}),PSS=e.object({id:e.string().describe("Connection ID"),stripe_account_id:e.string().describe("Connected Stripe account ID"),entity_id:e.string().describe("Connected Space Invoices entity ID"),entity_name:e.string().optional().describe("Connected Space Invoices entity name"),entity_environment:e.enum(["live","sandbox"]).optional().describe("Connected Space Invoices entity environment"),entity_is_tax_subject:e.boolean().optional().describe("Whether the connected entity is configured to charge tax"),white_label_id:e.string().describe("White-label context for this connection"),auto_invoice_config:e.object({enabled:e.boolean(),events:e.array(e.string()),default_note:e.string().optional()}).describe("Auto-invoice configuration"),created_at:e.iso.datetime({}).describe("When the connection was created")}),CSS=e.object({message:e.string()}),wSS=e.object({auto_invoice_enabled:e.boolean().describe("Whether auto-invoicing is enabled"),auto_invoice_events:e.array(e.string()).describe("Stripe event types that trigger auto-invoice creation"),default_note:e.string().nullable().describe("Default note for auto-created invoices"),default_tax_rate:e.number().nullable().describe("Default tax rate applied when Stripe data has no tax info")}),FAv=500,kAv=0,jAv=100,ASS=e.object({auto_invoice_enabled:e.boolean().optional().describe("Enable or disable auto-invoicing"),auto_invoice_events:e.array(e.enum(["payment_intent.succeeded","invoice.paid"])).optional().describe("Stripe event types that trigger auto-invoice creation"),default_note:e.string().max(FAv).nullish().describe("Default note to include on auto-created invoices. Set to null to clear the note."),default_tax_rate:e.number().min(kAv).max(jAv).nullish().describe("Default tax rate (%) to apply to auto-created invoices when Stripe data has no tax info. Set to null to disable.")}),FSS=e.object({auto_invoice_enabled:e.boolean().describe("Whether auto-invoicing is enabled"),auto_invoice_events:e.array(e.string()).describe("Stripe event types that trigger auto-invoice creation"),default_note:e.string().nullable().describe("Default note for auto-created invoices"),default_tax_rate:e.number().nullable().describe("Default tax rate applied when Stripe data has no tax info")});var Bt={};W(Bt,{CheckEntityLimitResponse:()=>LSS,GetCurrentSubscriptionResponse:()=>kSS,UpdateSpendingLimitBody:()=>jSS,UpdateSpendingLimitResponse:()=>HSS,getCurrentSubscriptionResponseUsageEInvoicingSendCountDefault:()=>HAv,updateSpendingLimitBodySpendingLimitCentsMin:()=>LAv});var HAv=0,kSS=e.object({subscription:e.object({id:e.string(),account_id:e.string(),tier:e.enum(["free","metered"]),spending_limit_cents:e.number().nullable(),is_internal:e.boolean(),created_at:e.string(),updated_at:e.string()}),usage:e.object({documents_count:e.number(),e_invoicing_send_count:e.number().default(HAv),entities_active:e.number(),period_start:e.string(),period_end:e.string()}),limits:e.object({entities:e.number().nullable().describe("Max entities for free tier (null for metered)"),documents_per_month:e.number().nullable().describe("Max docs per month for free tier (null for metered)")}),is_over_limit:e.boolean()}).describe("Current subscription and usage for Space Invoices account"),LAv=0,jSS=e.object({spending_limit_cents:e.number().min(LAv).nullable()}).describe("Request to update spending limit for metered tier"),HSS=e.object({spending_limit_cents:e.number().nullable()}).describe("Updated spending limit"),LSS=e.object({can_create:e.boolean(),current_count:e.number(),limit:e.number().nullable()});var Tt={};W(Tt,{ListUsTaxRateEstimatesHeader:()=>VSS,ListUsTaxRateEstimatesQueryParams:()=>GSS,ListUsTaxRateEstimatesResponse:()=>KSS,listUsTaxRateEstimatesQueryStateMax:()=>KAv,listUsTaxRateEstimatesQueryStateMin:()=>VAv,listUsTaxRateEstimatesQueryZipCodeRegExp:()=>GAv,listUsTaxRateEstimatesResponseDataItemCityRateMax:()=>oFv,listUsTaxRateEstimatesResponseDataItemCityRateMin:()=>sFv,listUsTaxRateEstimatesResponseDataItemCountryCodeMax:()=>qAv,listUsTaxRateEstimatesResponseDataItemCountyRateMax:()=>nFv,listUsTaxRateEstimatesResponseDataItemCountyRateMin:()=>tFv,listUsTaxRateEstimatesResponseDataItemEstimatedCombinedRateMax:()=>JAv,listUsTaxRateEstimatesResponseDataItemEstimatedCombinedRateMin:()=>QAv,listUsTaxRateEstimatesResponseDataItemIdMax:()=>ZAv,listUsTaxRateEstimatesResponseDataItemRiskLevelMax:()=>lFv,listUsTaxRateEstimatesResponseDataItemRiskLevelMin:()=>rFv,listUsTaxRateEstimatesResponseDataItemSourceMax:()=>dFv,listUsTaxRateEstimatesResponseDataItemSourceMonthMax:()=>uFv,listUsTaxRateEstimatesResponseDataItemSpecialRateMax:()=>aFv,listUsTaxRateEstimatesResponseDataItemSpecialRateMin:()=>iFv,listUsTaxRateEstimatesResponseDataItemStateMax:()=>WAv,listUsTaxRateEstimatesResponseDataItemStateRateMax:()=>eFv,listUsTaxRateEstimatesResponseDataItemStateRateMin:()=>XAv,listUsTaxRateEstimatesResponseDataItemTaxRegionNameMax:()=>$Av,listUsTaxRateEstimatesResponseDataItemZipCodeMax:()=>YAv});var GAv=/^\d{5}$/,VAv=2,KAv=2,GSS=e.object({zip_code:e.string().regex(GAv).describe("US ZIP code to look up."),state:e.string().min(VAv).max(KAv).optional().describe("Optional two-letter US state filter.")}),VSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),ZAv=36,qAv=2,WAv=2,YAv=10,$Av=255,QAv=-140737488355328,JAv=0x7fffffffffff,XAv=-140737488355328,eFv=0x7fffffffffff,tFv=-140737488355328,nFv=0x7fffffffffff,sFv=-140737488355328,oFv=0x7fffffffffff,iFv=-140737488355328,aFv=0x7fffffffffff,rFv=-2147483648,lFv=2147483647,dFv=50,uFv=7,KSS=e.object({data:e.array(e.object({id:e.string().max(ZAv),country_code:e.string().max(qAv),state:e.string().max(WAv),zip_code:e.string().max(YAv),tax_region_name:e.string().max($Av),estimated_combined_rate:e.number().min(QAv).max(JAv),state_rate:e.number().min(XAv).max(eFv),county_rate:e.number().min(tFv).max(nFv),city_rate:e.number().min(sFv).max(oFv),special_rate:e.number().min(iFv).max(aFv),risk_level:e.number().min(rFv).max(lFv),source:e.string().max(dFv),source_month:e.string().max(uFv),imported_at:e.iso.datetime({})}).describe("Imported ZIP-level tax-rate estimate. This is informational and must be verified before use."))});var It={};W(It,{ApproveVatReturnHeader:()=>zbS,ApproveVatReturnParams:()=>bbS,ApproveVatReturnResponse:()=>fbS,ArchiveEmployeeHeader:()=>ihS,ArchiveEmployeeParams:()=>ohS,CompleteFilingBody:()=>kbS,CompleteFilingHeader:()=>FbS,CompleteFilingParams:()=>AbS,CompleteFilingResponse:()=>jbS,CreateTaxPaymentBody:()=>UhS,CreateTaxPaymentHeader:()=>MhS,DeleteTaxPaymentHeader:()=>khS,DeleteTaxPaymentParams:()=>FhS,DismissFilingBody:()=>ZbS,DismissFilingHeader:()=>KbS,DismissFilingParams:()=>VbS,DismissFilingResponse:()=>qbS,DraftVatReturnBody:()=>cbS,DraftVatReturnHeader:()=>ubS,ExportQuickbooksCsvHeader:()=>abS,ExportQuickbooksCsvQueryParams:()=>ibS,ExportSloveniaMinimaxXmlBody:()=>obS,ExportSloveniaMinimaxXmlHeader:()=>sbS,ExportSloveniaVodXmlBody:()=>nbS,ExportSloveniaVodXmlHeader:()=>tbS,ExportSloveniaYearlyNormiraniReportBody:()=>ebS,ExportSloveniaYearlyNormiraniReportHeader:()=>XhS,ExportVatReturnHeader:()=>UbS,ExportVatReturnParams:()=>NbS,ExportVatReturnQueryParams:()=>MbS,GenerateKirExportHeader:()=>VhS,GenerateKirExportQueryParams:()=>GhS,GetEmployeeAttendanceHeader:()=>lhS,GetEmployeeAttendanceParams:()=>ahS,GetEmployeeAttendanceQueryParams:()=>rhS,GetEmployeeAttendanceResponse:()=>dhS,GetEmployeeHeader:()=>JSS,GetEmployeeParams:()=>QSS,GetEmployeeResponse:()=>XSS,GetEuOssReportHeader:()=>HhS,GetEuOssReportQueryParams:()=>jhS,GetEuOssReportResponse:()=>LhS,GetPayrollParameterHistoryHeader:()=>ShS,GetPayrollParameterHistoryQueryParams:()=>vhS,GetPayrollParameterHistoryResponse:()=>hhS,GetSloveniaTaxProfileHeader:()=>KhS,GetSloveniaTaxProfileResponse:()=>ZhS,GetTaxLiabilityReportHeader:()=>EhS,GetTaxLiabilityReportQueryParams:()=>IhS,GetTaxLiabilityReportResponse:()=>DhS,GetTaxPaymentsHeader:()=>_hS,GetTaxPaymentsQueryParams:()=>RhS,GetTaxPaymentsResponse:()=>NhS,GetVatReturnHeader:()=>ybS,GetVatReturnParams:()=>gbS,GetVatReturnResponse:()=>ObS,ListAccountFilingsCalendarHeader:()=>YbS,ListAccountFilingsCalendarQueryParams:()=>WbS,ListAccountFilingsCalendarResponse:()=>$bS,ListEmployeesHeader:()=>qSS,ListEmployeesQueryParams:()=>ZSS,ListEmployeesResponse:()=>WSS,ListFilingsHeader:()=>CbS,ListFilingsQueryParams:()=>PbS,ListFilingsResponse:()=>wbS,ListVatReturnsHeader:()=>mbS,ListVatReturnsQueryParams:()=>pbS,ListVatReturnsResponse:()=>xbS,ModifyEmployeeBody:()=>nhS,ModifyEmployeeHeader:()=>thS,ModifyEmployeeParams:()=>ehS,ModifyEmployeeResponse:()=>shS,PreviewVatReturnHeader:()=>lbS,PreviewVatReturnQueryParams:()=>rbS,PreviewVatReturnResponse:()=>dbS,RecomputeVatReturnHeader:()=>SbS,RecomputeVatReturnParams:()=>vbS,RecomputeVatReturnResponse:()=>hbS,RegisterEmployeeBody:()=>$SS,RegisterEmployeeHeader:()=>YSS,ReopenFilingHeader:()=>LbS,ReopenFilingParams:()=>HbS,ReopenFilingResponse:()=>GbS,ReopenVatReturnHeader:()=>RbS,ReopenVatReturnParams:()=>DbS,ReopenVatReturnResponse:()=>_bS,ReplaceEmployeeAttendanceBody:()=>mhS,ReplaceEmployeeAttendanceHeader:()=>phS,ReplaceEmployeeAttendanceParams:()=>uhS,ReplaceEmployeeAttendanceQueryParams:()=>chS,ReplaceEmployeeAttendanceResponse:()=>xhS,ResolvePayrollParametersHeader:()=>yhS,ResolvePayrollParametersQueryParams:()=>ghS,ResolvePayrollParametersResponse:()=>OhS,ReviewSloveniaYearlyNormiraniReportBody:()=>QhS,ReviewSloveniaYearlyNormiraniReportHeader:()=>$hS,ReviewSloveniaYearlyNormiraniReportResponse:()=>JhS,SetPayrollParameterOverrideBody:()=>BhS,SetPayrollParameterOverrideHeader:()=>fhS,SetPayrollParameterOverrideParams:()=>bhS,SetPayrollParameterOverrideQueryParams:()=>zhS,SetPayrollParameterOverrideResponse:()=>ThS,SubmitVatReturnBody:()=>IbS,SubmitVatReturnHeader:()=>TbS,SubmitVatReturnParams:()=>BbS,SubmitVatReturnResponse:()=>EbS,UpdateSloveniaTaxProfileBody:()=>WhS,UpdateSloveniaTaxProfileHeader:()=>qhS,UpdateSloveniaTaxProfileResponse:()=>YhS,UpdateTaxPaymentBody:()=>whS,UpdateTaxPaymentHeader:()=>ChS,UpdateTaxPaymentParams:()=>PhS,UpdateTaxPaymentResponse:()=>AhS,approveVatReturnPathIdRegExp:()=>W1v,archiveEmployeePathIdRegExp:()=>Fkv,completeFilingBodyNoteMax:()=>n4v,completeFilingPathIdRegExp:()=>t4v,createTaxPaymentBodyAmountExclusiveMin:()=>Pjv,createTaxPaymentBodyCurrencyCodeMax:()=>wjv,createTaxPaymentBodyCurrencyCodeMin:()=>Cjv,createTaxPaymentBodyNoteMax:()=>Fjv,createTaxPaymentBodyReferenceMax:()=>Ajv,deleteTaxPaymentPathIdRegExp:()=>Gjv,dismissFilingBodyReasonMax:()=>i4v,dismissFilingPathIdRegExp:()=>o4v,draftVatReturnBodyMonthMax:()=>L1v,draftVatReturnBodyQuarterMax:()=>G1v,draftVatReturnBodyYearMax:()=>H1v,draftVatReturnBodyYearMin:()=>j1v,exportSloveniaYearlyNormiraniReportBodyManualValuesForeignTaxCreditAmountMin:()=>U1v,exportSloveniaYearlyNormiraniReportBodyManualValuesPriorAdvanceIncomeTaxAmountMin:()=>P1v,exportSloveniaYearlyNormiraniReportBodyManualValuesRevenueAdjustmentDecreaseMin:()=>C1v,exportSloveniaYearlyNormiraniReportBodyManualValuesRevenueAdjustmentIncreaseMin:()=>w1v,exportSloveniaYearlyNormiraniReportBodyManualValuesWithholdingTaxAmountMin:()=>M1v,exportSloveniaYearlyNormiraniReportBodyYearMax:()=>N1v,exportSloveniaYearlyNormiraniReportBodyYearMin:()=>_1v,exportVatReturnPathIdRegExp:()=>J1v,generateKirExportQueryMonthRegExp:()=>sHv,generateKirExportQueryQuarterRegExp:()=>oHv,generateKirExportQueryYearRegExp:()=>nHv,getEmployeeAttendancePathIdRegExp:()=>kkv,getEmployeeAttendanceQueryMonthMax:()=>Lkv,getEmployeeAttendanceQueryYearMax:()=>Hkv,getEmployeeAttendanceQueryYearMin:()=>jkv,getEmployeePathIdRegExp:()=>d5v,getEmployeeResponseAddressMax:()=>v5v,getEmployeeResponseCityMax:()=>h5v,getEmployeeResponseCommuteAmountMonthlyMax:()=>F5v,getEmployeeResponseCommuteAmountMonthlyMin:()=>A5v,getEmployeeResponseCommuteKmOneWayMax:()=>w5v,getEmployeeResponseCommuteKmOneWayMin:()=>C5v,getEmployeeResponseCommuteModeMax:()=>P5v,getEmployeeResponseCountryCodeMax:()=>b5v,getEmployeeResponseEmailMax:()=>g5v,getEmployeeResponseEmploymentEndRegExp:()=>B5v,getEmployeeResponseEmploymentStartRegExp:()=>f5v,getEmployeeResponseEmploymentTypeMax:()=>T5v,getEmployeeResponseEntityIdMax:()=>c5v,getEmployeeResponseFirstNameMax:()=>m5v,getEmployeeResponseGeneralAllowanceModeMax:()=>j5v,getEmployeeResponseGrossSalaryMonthlyMax:()=>R5v,getEmployeeResponseGrossSalaryMonthlyMin:()=>D5v,getEmployeeResponseIbanMax:()=>z5v,getEmployeeResponseIdMax:()=>u5v,getEmployeeResponseLastNameMax:()=>x5v,getEmployeeResponseMealAllowancePerDayMax:()=>U5v,getEmployeeResponseMealAllowancePerDayMin:()=>M5v,getEmployeeResponsePersonalIdMax:()=>O5v,getEmployeeResponsePostCodeMax:()=>S5v,getEmployeeResponseSeniorityBonusPercentMax:()=>N5v,getEmployeeResponseSeniorityBonusPercentMin:()=>_5v,getEmployeeResponseStatusMax:()=>p5v,getEmployeeResponseTaxNumberMax:()=>y5v,getEmployeeResponseTaxResidencyMax:()=>k5v,getEmployeeResponseWeeklyHoursMax:()=>E5v,getEmployeeResponseWeeklyHoursMin:()=>I5v,getEuOssReportQueryYearMax:()=>Kjv,getEuOssReportQueryYearMin:()=>Vjv,getEuOssReportResponseIssuerCountryCodeMax:()=>qjv,getEuOssReportResponseIssuerCountryCodeMin:()=>Zjv,getEuOssReportResponsePeriodsItemCountriesItemCountryCodeMax:()=>Xjv,getEuOssReportResponsePeriodsItemCountriesItemCountryCodeMin:()=>Jjv,getEuOssReportResponsePeriodsItemCountriesItemCreditNoteCountMin:()=>tHv,getEuOssReportResponsePeriodsItemCountriesItemInvoiceCountMin:()=>eHv,getEuOssReportResponsePeriodsItemCreditNoteCountMin:()=>Qjv,getEuOssReportResponsePeriodsItemInvoiceCountMin:()=>$jv,getEuOssReportResponseReportingCurrencyCodeMax:()=>Yjv,getEuOssReportResponseReportingCurrencyCodeMin:()=>Wjv,getPayrollParameterHistoryQueryCountryCodeDefault:()=>ojv,getPayrollParameterHistoryQueryCountryCodeMax:()=>ajv,getPayrollParameterHistoryQueryCountryCodeMin:()=>ijv,getPayrollParameterHistoryResponseDataItemCountryCodeMax:()=>ljv,getPayrollParameterHistoryResponseDataItemEffectiveFromRegExp:()=>mjv,getPayrollParameterHistoryResponseDataItemEffectiveToRegExp:()=>xjv,getPayrollParameterHistoryResponseDataItemEntityIdMax:()=>gjv,getPayrollParameterHistoryResponseDataItemIdMax:()=>rjv,getPayrollParameterHistoryResponseDataItemKeyMax:()=>djv,getPayrollParameterHistoryResponseDataItemUnitMax:()=>pjv,getPayrollParameterHistoryResponseDataItemValueNumericMax:()=>cjv,getPayrollParameterHistoryResponseDataItemValueNumericMin:()=>ujv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneAdvancesPaidMax:()=>cHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneAdvancesReceivedMax:()=>uHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePayablesMax:()=>dHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense22Max:()=>EHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense5Max:()=>RHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense95Max:()=>DHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuGoodsMax:()=>NHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuServicesMax:()=>MHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseExemptMax:()=>_Hv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseReverseChargeMax:()=>UHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryGoodsMax:()=>PHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryServicesMax:()=>CHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable22Max:()=>gHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable5Max:()=>OHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable95Max:()=>yHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneReceivablesMax:()=>lHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue22Max:()=>vHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue5Max:()=>hHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue95Max:()=>SHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuGoodsMax:()=>zHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuServicesMax:()=>fHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueExemptMax:()=>bHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueReverseChargeMax:()=>BHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryGoodsMax:()=>THv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryServicesMax:()=>IHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat22Max:()=>pHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat5Max:()=>xHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat95Max:()=>mHv,getSloveniaTaxProfileResponseYearlyReportingActivityCodesItemRegExp:()=>iHv,getSloveniaTaxProfileResponseYearlyReportingDefaultForeignTaxCreditAmountMin:()=>rHv,getSloveniaTaxProfileResponseYearlyReportingDefaultWithholdingTaxAmountMin:()=>aHv,getVatReturnPathIdRegExp:()=>Z1v,listAccountFilingsCalendarHeaderXAccountIdRegExp:()=>d4v,listAccountFilingsCalendarQueryEnvironmentDefault:()=>l4v,listAccountFilingsCalendarQueryFromRegExp:()=>a4v,listAccountFilingsCalendarQueryToRegExp:()=>r4v,listEmployeesQueryLimitDefault:()=>cFv,listEmployeesQueryLimitMax:()=>pFv,listEmployeesResponseDataItemAddressMax:()=>bFv,listEmployeesResponseDataItemCityMax:()=>fFv,listEmployeesResponseDataItemCommuteAmountMonthlyMax:()=>HFv,listEmployeesResponseDataItemCommuteAmountMonthlyMin:()=>jFv,listEmployeesResponseDataItemCommuteKmOneWayMax:()=>kFv,listEmployeesResponseDataItemCommuteKmOneWayMin:()=>FFv,listEmployeesResponseDataItemCommuteModeMax:()=>AFv,listEmployeesResponseDataItemCountryCodeMax:()=>BFv,listEmployeesResponseDataItemEmailMax:()=>vFv,listEmployeesResponseDataItemEmploymentEndRegExp:()=>EFv,listEmployeesResponseDataItemEmploymentStartRegExp:()=>IFv,listEmployeesResponseDataItemEmploymentTypeMax:()=>DFv,listEmployeesResponseDataItemEntityIdMax:()=>xFv,listEmployeesResponseDataItemFirstNameMax:()=>yFv,listEmployeesResponseDataItemGeneralAllowanceModeMax:()=>GFv,listEmployeesResponseDataItemGrossSalaryMonthlyMax:()=>MFv,listEmployeesResponseDataItemGrossSalaryMonthlyMin:()=>NFv,listEmployeesResponseDataItemIbanMax:()=>TFv,listEmployeesResponseDataItemIdMax:()=>mFv,listEmployeesResponseDataItemLastNameMax:()=>OFv,listEmployeesResponseDataItemMealAllowancePerDayMax:()=>wFv,listEmployeesResponseDataItemMealAllowancePerDayMin:()=>CFv,listEmployeesResponseDataItemPersonalIdMax:()=>hFv,listEmployeesResponseDataItemPostCodeMax:()=>zFv,listEmployeesResponseDataItemSeniorityBonusPercentMax:()=>PFv,listEmployeesResponseDataItemSeniorityBonusPercentMin:()=>UFv,listEmployeesResponseDataItemStatusMax:()=>gFv,listEmployeesResponseDataItemTaxNumberMax:()=>SFv,listEmployeesResponseDataItemTaxResidencyMax:()=>LFv,listEmployeesResponseDataItemWeeklyHoursMax:()=>_Fv,listEmployeesResponseDataItemWeeklyHoursMin:()=>RFv,listFilingsQueryFromRegExp:()=>X1v,listFilingsQueryToRegExp:()=>e4v,listVatReturnsQueryLimitDefault:()=>V1v,listVatReturnsQueryLimitMax:()=>K1v,modifyEmployeeBodyAddressMax:()=>K5v,modifyEmployeeBodyCityMax:()=>q5v,modifyEmployeeBodyCommuteAmountMonthlyMin:()=>akv,modifyEmployeeBodyCommuteKmOneWayMin:()=>ikv,modifyEmployeeBodyCountryCodeMax:()=>Y5v,modifyEmployeeBodyCountryCodeMin:()=>W5v,modifyEmployeeBodyEmailMax:()=>V5v,modifyEmployeeBodyEmploymentEndRegExp:()=>J5v,modifyEmployeeBodyEmploymentStartRegExp:()=>Q5v,modifyEmployeeBodyFirstNameMax:()=>L5v,modifyEmployeeBodyGrossSalaryMonthlyMin:()=>tkv,modifyEmployeeBodyIbanMax:()=>$5v,modifyEmployeeBodyLastNameMax:()=>G5v,modifyEmployeeBodyMealAllowancePerDayMin:()=>okv,modifyEmployeeBodyPostCodeMax:()=>Z5v,modifyEmployeeBodySeniorityBonusPercentMax:()=>skv,modifyEmployeeBodySeniorityBonusPercentMin:()=>nkv,modifyEmployeeBodyWeeklyHoursExclusiveMin:()=>X5v,modifyEmployeeBodyWeeklyHoursMax:()=>ekv,modifyEmployeePathIdRegExp:()=>H5v,modifyEmployeeResponseAddressMax:()=>gkv,modifyEmployeeResponseCityMax:()=>Okv,modifyEmployeeResponseCommuteAmountMonthlyMax:()=>Ckv,modifyEmployeeResponseCommuteAmountMonthlyMin:()=>Pkv,modifyEmployeeResponseCommuteKmOneWayMax:()=>Ukv,modifyEmployeeResponseCommuteKmOneWayMin:()=>Mkv,modifyEmployeeResponseCommuteModeMax:()=>Nkv,modifyEmployeeResponseCountryCodeMax:()=>vkv,modifyEmployeeResponseEmailMax:()=>pkv,modifyEmployeeResponseEmploymentEndRegExp:()=>bkv,modifyEmployeeResponseEmploymentStartRegExp:()=>hkv,modifyEmployeeResponseEmploymentTypeMax:()=>zkv,modifyEmployeeResponseEntityIdMax:()=>lkv,modifyEmployeeResponseFirstNameMax:()=>ukv,modifyEmployeeResponseGeneralAllowanceModeMax:()=>Akv,modifyEmployeeResponseGrossSalaryMonthlyMax:()=>Ikv,modifyEmployeeResponseGrossSalaryMonthlyMin:()=>Tkv,modifyEmployeeResponseIbanMax:()=>Skv,modifyEmployeeResponseIdMax:()=>rkv,modifyEmployeeResponseLastNameMax:()=>ckv,modifyEmployeeResponseMealAllowancePerDayMax:()=>_kv,modifyEmployeeResponseMealAllowancePerDayMin:()=>Rkv,modifyEmployeeResponsePersonalIdMax:()=>xkv,modifyEmployeeResponsePostCodeMax:()=>ykv,modifyEmployeeResponseSeniorityBonusPercentMax:()=>Dkv,modifyEmployeeResponseSeniorityBonusPercentMin:()=>Ekv,modifyEmployeeResponseStatusMax:()=>dkv,modifyEmployeeResponseTaxNumberMax:()=>mkv,modifyEmployeeResponseTaxResidencyMax:()=>wkv,modifyEmployeeResponseWeeklyHoursMax:()=>Bkv,modifyEmployeeResponseWeeklyHoursMin:()=>fkv,previewVatReturnQueryMonthRegExp:()=>F1v,previewVatReturnQueryQuarterRegExp:()=>k1v,previewVatReturnQueryYearRegExp:()=>A1v,recomputeVatReturnPathIdRegExp:()=>q1v,registerEmployeeBodyAddressMax:()=>qFv,registerEmployeeBodyCityMax:()=>YFv,registerEmployeeBodyCommuteAmountMonthlyMin:()=>l5v,registerEmployeeBodyCommuteKmOneWayMin:()=>r5v,registerEmployeeBodyCountryCodeMax:()=>QFv,registerEmployeeBodyCountryCodeMin:()=>$Fv,registerEmployeeBodyEmailMax:()=>ZFv,registerEmployeeBodyEmploymentEndRegExp:()=>e5v,registerEmployeeBodyEmploymentStartRegExp:()=>XFv,registerEmployeeBodyFirstNameMax:()=>VFv,registerEmployeeBodyGrossSalaryMonthlyMin:()=>s5v,registerEmployeeBodyIbanMax:()=>JFv,registerEmployeeBodyLastNameMax:()=>KFv,registerEmployeeBodyMealAllowancePerDayMin:()=>a5v,registerEmployeeBodyPostCodeMax:()=>WFv,registerEmployeeBodySeniorityBonusPercentMax:()=>i5v,registerEmployeeBodySeniorityBonusPercentMin:()=>o5v,registerEmployeeBodyWeeklyHoursExclusiveMin:()=>t5v,registerEmployeeBodyWeeklyHoursMax:()=>n5v,reopenFilingPathIdRegExp:()=>s4v,reopenVatReturnPathIdRegExp:()=>Q1v,replaceEmployeeAttendanceBodyDaysItemDateRegExp:()=>qkv,replaceEmployeeAttendanceBodyDaysItemHoursMax:()=>Ykv,replaceEmployeeAttendanceBodyDaysItemHoursMin:()=>Wkv,replaceEmployeeAttendanceBodyDaysItemNoteMax:()=>$kv,replaceEmployeeAttendancePathIdRegExp:()=>Gkv,replaceEmployeeAttendanceQueryMonthMax:()=>Zkv,replaceEmployeeAttendanceQueryYearMax:()=>Kkv,replaceEmployeeAttendanceQueryYearMin:()=>Vkv,resolvePayrollParametersQueryAsOfRegExp:()=>ejv,resolvePayrollParametersQueryCountryCodeDefault:()=>Qkv,resolvePayrollParametersQueryCountryCodeMax:()=>Xkv,resolvePayrollParametersQueryCountryCodeMin:()=>Jkv,resolvePayrollParametersResponseAsOfRegExp:()=>tjv,resolvePayrollParametersResponseParametersEffectiveFromRegExp:()=>njv,resolvePayrollParametersResponseParametersEffectiveToRegExp:()=>sjv,reviewSloveniaYearlyNormiraniReportBodyYearMax:()=>KLv,reviewSloveniaYearlyNormiraniReportBodyYearMin:()=>VLv,reviewSloveniaYearlyNormiraniReportResponseManualValuesForeignTaxCreditAmountMin:()=>I1v,reviewSloveniaYearlyNormiraniReportResponseManualValuesPriorAdvanceIncomeTaxAmountMin:()=>E1v,reviewSloveniaYearlyNormiraniReportResponseManualValuesRevenueAdjustmentDecreaseMin:()=>D1v,reviewSloveniaYearlyNormiraniReportResponseManualValuesRevenueAdjustmentIncreaseMin:()=>R1v,reviewSloveniaYearlyNormiraniReportResponseManualValuesWithholdingTaxAmountMin:()=>T1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneAdvancesPaidMax:()=>e1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneAdvancesReceivedMax:()=>XLv,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePayablesMax:()=>JLv,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpense22Max:()=>y1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpense5Max:()=>v1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpense95Max:()=>O1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseEuGoodsMax:()=>h1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseEuServicesMax:()=>b1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseExemptMax:()=>S1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseReverseChargeMax:()=>z1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryGoodsMax:()=>f1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryServicesMax:()=>B1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseVatRecoverable22Max:()=>o1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseVatRecoverable5Max:()=>a1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseVatRecoverable95Max:()=>i1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneReceivablesMax:()=>QLv,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenue22Max:()=>r1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenue5Max:()=>d1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenue95Max:()=>l1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueEuGoodsMax:()=>c1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueEuServicesMax:()=>p1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueExemptMax:()=>u1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueReverseChargeMax:()=>m1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueThirdCountryGoodsMax:()=>x1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueThirdCountryServicesMax:()=>g1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesVat22Max:()=>t1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesVat5Max:()=>s1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesVat95Max:()=>n1v,reviewSloveniaYearlyNormiraniReportResponseProfileYearlyReportingActivityCodesItemRegExp:()=>WLv,reviewSloveniaYearlyNormiraniReportResponseProfileYearlyReportingDefaultForeignTaxCreditAmountMin:()=>$Lv,reviewSloveniaYearlyNormiraniReportResponseProfileYearlyReportingDefaultWithholdingTaxAmountMin:()=>YLv,reviewSloveniaYearlyNormiraniReportResponseYearMax:()=>qLv,reviewSloveniaYearlyNormiraniReportResponseYearMin:()=>ZLv,setPayrollParameterOverrideBodyEffectiveFromRegExp:()=>hjv,setPayrollParameterOverrideBodyEffectiveToRegExp:()=>bjv,setPayrollParameterOverrideBodyNoteMax:()=>Bjv,setPayrollParameterOverrideBodySourceTitleMax:()=>fjv,setPayrollParameterOverrideBodySourceUrlMax:()=>zjv,setPayrollParameterOverrideBodyUnitMax:()=>Sjv,setPayrollParameterOverrideQueryCountryCodeDefault:()=>yjv,setPayrollParameterOverrideQueryCountryCodeMax:()=>vjv,setPayrollParameterOverrideQueryCountryCodeMin:()=>Ojv,setPayrollParameterOverrideResponseCountryCodeMax:()=>Ijv,setPayrollParameterOverrideResponseEffectiveFromRegExp:()=>Njv,setPayrollParameterOverrideResponseEffectiveToRegExp:()=>Mjv,setPayrollParameterOverrideResponseEntityIdMax:()=>Ujv,setPayrollParameterOverrideResponseIdMax:()=>Tjv,setPayrollParameterOverrideResponseKeyMax:()=>Ejv,setPayrollParameterOverrideResponseUnitMax:()=>_jv,setPayrollParameterOverrideResponseValueNumericMax:()=>Rjv,setPayrollParameterOverrideResponseValueNumericMin:()=>Djv,submitVatReturnBodyNotesMax:()=>$1v,submitVatReturnPathIdRegExp:()=>Y1v,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsAdvancesPaidMax:()=>LHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsAdvancesReceivedMax:()=>HHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPayablesMax:()=>jHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpense22Max:()=>oLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpense5Max:()=>aLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpense95Max:()=>iLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseEuGoodsMax:()=>lLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseEuServicesMax:()=>dLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseExemptMax:()=>rLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseReverseChargeMax:()=>uLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseThirdCountryGoodsMax:()=>cLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseThirdCountryServicesMax:()=>pLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseVatRecoverable22Max:()=>ZHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseVatRecoverable5Max:()=>WHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseVatRecoverable95Max:()=>qHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsReceivablesMax:()=>kHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenue22Max:()=>YHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenue5Max:()=>QHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenue95Max:()=>$Hv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueEuGoodsMax:()=>XHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueEuServicesMax:()=>eLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueExemptMax:()=>JHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueReverseChargeMax:()=>tLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueThirdCountryGoodsMax:()=>nLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueThirdCountryServicesMax:()=>sLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesVat22Max:()=>GHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesVat5Max:()=>KHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesVat95Max:()=>VHv,updateSloveniaTaxProfileBodyYearlyReportingActivityCodesItemRegExp:()=>wHv,updateSloveniaTaxProfileBodyYearlyReportingDefaultForeignTaxCreditAmountMin:()=>FHv,updateSloveniaTaxProfileBodyYearlyReportingDefaultWithholdingTaxAmountMin:()=>AHv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneAdvancesPaidMax:()=>SLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneAdvancesReceivedMax:()=>vLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePayablesMax:()=>OLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense22Max:()=>CLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense5Max:()=>ALv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense95Max:()=>wLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuGoodsMax:()=>kLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuServicesMax:()=>jLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseExemptMax:()=>FLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseReverseChargeMax:()=>HLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryGoodsMax:()=>LLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryServicesMax:()=>GLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable22Max:()=>fLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable5Max:()=>TLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable95Max:()=>BLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneReceivablesMax:()=>yLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue22Max:()=>ILv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue5Max:()=>DLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue95Max:()=>ELv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuGoodsMax:()=>_Lv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuServicesMax:()=>NLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueExemptMax:()=>RLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueReverseChargeMax:()=>MLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryGoodsMax:()=>ULv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryServicesMax:()=>PLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat22Max:()=>hLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat5Max:()=>zLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat95Max:()=>bLv,updateSloveniaTaxProfileResponseYearlyReportingActivityCodesItemRegExp:()=>mLv,updateSloveniaTaxProfileResponseYearlyReportingDefaultForeignTaxCreditAmountMin:()=>gLv,updateSloveniaTaxProfileResponseYearlyReportingDefaultWithholdingTaxAmountMin:()=>xLv,updateTaxPaymentBodyAmountExclusiveMin:()=>jjv,updateTaxPaymentBodyNoteMax:()=>Ljv,updateTaxPaymentBodyReferenceMax:()=>Hjv,updateTaxPaymentPathIdRegExp:()=>kjv});var cFv=10,pFv=100,ZSS=e.object({limit:e.number().min(1).max(pFv).default(cFv).describe("Number of results per request."),next_cursor:e.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance."),status:e.union([e.literal("active"),e.literal("inactive"),e.literal(null)]).nullish().describe("Filter by employee status. Omit to return both active and inactive employees.")}),qSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),mFv=36,xFv=36,gFv=20,yFv=255,OFv=255,vFv=255,SFv=20,hFv=20,bFv=500,zFv=20,fFv=100,BFv=2,TFv=50,IFv=/^\d{4}-\d{2}-\d{2}$/,EFv=/^\d{4}-\d{2}-\d{2}$/,DFv=20,RFv=-140737488355328,_Fv=0x7fffffffffff,NFv=-140737488355328,MFv=0x7fffffffffff,UFv=-140737488355328,PFv=0x7fffffffffff,CFv=-140737488355328,wFv=0x7fffffffffff,AFv=20,FFv=-140737488355328,kFv=0x7fffffffffff,jFv=-140737488355328,HFv=0x7fffffffffff,LFv=20,GFv=20,WSS=e.object({data:e.array(e.object({id:e.string().max(mFv),entity_id:e.string().max(xFv),status:e.string().max(gFv),first_name:e.string().max(yFv),last_name:e.string().max(OFv),email:e.string().max(vFv).nullish(),tax_number:e.string().max(SFv),personal_id:e.string().max(hFv).nullish(),address:e.string().max(bFv).nullish(),post_code:e.string().max(zFv).nullish(),city:e.string().max(fFv).nullish(),country_code:e.string().max(BFv).nullish(),iban:e.string().max(TFv).nullish(),employment_start:e.string().regex(IFv),employment_end:e.string().regex(EFv).nullish(),employment_type:e.string().max(DFv),weekly_hours:e.number().min(RFv).max(_Fv),gross_salary_monthly:e.number().min(NFv).max(MFv),seniority_bonus_percent:e.number().min(UFv).max(PFv),meal_allowance_per_day:e.number().min(CFv).max(wFv).nullish(),commute_mode:e.string().max(AFv),commute_km_one_way:e.number().min(FFv).max(kFv).nullish(),commute_amount_monthly:e.number().min(jFv).max(HFv).nullish(),works_remotely:e.boolean(),tax_residency:e.string().max(LFv),general_allowance_mode:e.string().max(GFv),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Employee record used as the basis for payroll and attendance.")),pagination:e.object({total:e.number().describe("Total number of items available in the collection"),next_cursor:e.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),YSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),VFv=255,KFv=255,ZFv=255,qFv=500,WFv=20,YFv=100,$Fv=2,QFv=2,JFv=50,XFv=/^\d{4}-\d{2}-\d{2}$/,e5v=/^\d{4}-\d{2}-\d{2}$/,t5v=0,n5v=168,s5v=0,o5v=0,i5v=100,a5v=0,r5v=0,l5v=0,$SS=e.object({status:e.union([e.literal("active"),e.literal("inactive"),e.literal(null)]).nullish(),first_name:e.string().min(1).max(VFv),last_name:e.string().min(1).max(KFv),email:e.string().max(ZFv).nullish(),tax_number:e.string().describe("Slovenian tax number (davcna stevilka), 8 digits. An optional SI prefix is stripped."),personal_id:e.string().nullish().describe("Slovenian unique master citizen number (EMSO), 13 digits. Validated on length/digits only."),address:e.string().max(qFv).nullish(),post_code:e.string().max(WFv).nullish(),city:e.string().max(YFv).nullish(),country_code:e.string().min($Fv).max(QFv).nullish(),iban:e.string().max(JFv).nullish(),employment_start:e.string().regex(XFv),employment_end:e.string().regex(e5v).nullish(),employment_type:e.union([e.literal("full_time"),e.literal("part_time"),e.literal(null)]).nullish(),weekly_hours:e.number().gt(t5v).max(n5v).nullish(),gross_salary_monthly:e.number().min(s5v),seniority_bonus_percent:e.number().min(o5v).max(i5v).nullish(),meal_allowance_per_day:e.number().min(a5v).nullish(),commute_mode:e.union([e.literal("none"),e.literal("per_km"),e.literal("public_transport"),e.literal(null)]).nullish(),commute_km_one_way:e.number().min(r5v).nullish(),commute_amount_monthly:e.number().min(l5v).nullish(),works_remotely:e.boolean().nullish(),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullish(),general_allowance_mode:e.union([e.literal("standard"),e.literal("none"),e.literal(null)]).nullish(),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),d5v=/^[a-z]{3,4}_[0-9a-f]{24}$/,QSS=e.object({id:e.stringFormat("resource-id",d5v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),JSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),u5v=36,c5v=36,p5v=20,m5v=255,x5v=255,g5v=255,y5v=20,O5v=20,v5v=500,S5v=20,h5v=100,b5v=2,z5v=50,f5v=/^\d{4}-\d{2}-\d{2}$/,B5v=/^\d{4}-\d{2}-\d{2}$/,T5v=20,I5v=-140737488355328,E5v=0x7fffffffffff,D5v=-140737488355328,R5v=0x7fffffffffff,_5v=-140737488355328,N5v=0x7fffffffffff,M5v=-140737488355328,U5v=0x7fffffffffff,P5v=20,C5v=-140737488355328,w5v=0x7fffffffffff,A5v=-140737488355328,F5v=0x7fffffffffff,k5v=20,j5v=20,XSS=e.object({id:e.string().max(u5v),entity_id:e.string().max(c5v),status:e.string().max(p5v),first_name:e.string().max(m5v),last_name:e.string().max(x5v),email:e.string().max(g5v).nullish(),tax_number:e.string().max(y5v),personal_id:e.string().max(O5v).nullish(),address:e.string().max(v5v).nullish(),post_code:e.string().max(S5v).nullish(),city:e.string().max(h5v).nullish(),country_code:e.string().max(b5v).nullish(),iban:e.string().max(z5v).nullish(),employment_start:e.string().regex(f5v),employment_end:e.string().regex(B5v).nullish(),employment_type:e.string().max(T5v),weekly_hours:e.number().min(I5v).max(E5v),gross_salary_monthly:e.number().min(D5v).max(R5v),seniority_bonus_percent:e.number().min(_5v).max(N5v),meal_allowance_per_day:e.number().min(M5v).max(U5v).nullish(),commute_mode:e.string().max(P5v),commute_km_one_way:e.number().min(C5v).max(w5v).nullish(),commute_amount_monthly:e.number().min(A5v).max(F5v).nullish(),works_remotely:e.boolean(),tax_residency:e.string().max(k5v),general_allowance_mode:e.string().max(j5v),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Employee record used as the basis for payroll and attendance."),H5v=/^[a-z]{3,4}_[0-9a-f]{24}$/,ehS=e.object({id:e.stringFormat("resource-id",H5v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),thS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),L5v=255,G5v=255,V5v=255,K5v=500,Z5v=20,q5v=100,W5v=2,Y5v=2,$5v=50,Q5v=/^\d{4}-\d{2}-\d{2}$/,J5v=/^\d{4}-\d{2}-\d{2}$/,X5v=0,ekv=168,tkv=0,nkv=0,skv=100,okv=0,ikv=0,akv=0,nhS=e.object({status:e.union([e.literal("active"),e.literal("inactive"),e.literal(null)]).nullish().describe("Required attribute; omit or send null to leave it unchanged."),first_name:e.string().min(1).max(L5v).nullish().describe("Required attribute; omit or send null to leave it unchanged."),last_name:e.string().min(1).max(G5v).nullish().describe("Required attribute; omit or send null to leave it unchanged."),email:e.string().max(V5v).nullish(),tax_number:e.string().nullish().describe("Required attribute; omit or send null to leave it unchanged."),personal_id:e.string().nullish().describe("Slovenian unique master citizen number (EMSO), 13 digits. Validated on length/digits only."),address:e.string().max(K5v).nullish(),post_code:e.string().max(Z5v).nullish(),city:e.string().max(q5v).nullish(),country_code:e.string().min(W5v).max(Y5v).nullish(),iban:e.string().max($5v).nullish(),employment_start:e.string().regex(Q5v).nullish().describe("Required attribute; omit or send null to leave it unchanged."),employment_end:e.string().regex(J5v).nullish(),employment_type:e.union([e.literal("full_time"),e.literal("part_time"),e.literal(null)]).nullish().describe("Required attribute; omit or send null to leave it unchanged."),weekly_hours:e.number().gt(X5v).max(ekv).nullish().describe("Required attribute; omit or send null to leave it unchanged."),gross_salary_monthly:e.number().min(tkv).nullish().describe("Required attribute; omit or send null to leave it unchanged."),seniority_bonus_percent:e.number().min(nkv).max(skv).nullish().describe("Required attribute; omit or send null to leave it unchanged."),meal_allowance_per_day:e.number().min(okv).nullish(),commute_mode:e.union([e.literal("none"),e.literal("per_km"),e.literal("public_transport"),e.literal(null)]).nullish().describe("Required attribute; omit or send null to leave it unchanged."),commute_km_one_way:e.number().min(ikv).nullish(),commute_amount_monthly:e.number().min(akv).nullish(),works_remotely:e.boolean().nullish().describe("Required attribute; omit or send null to leave it unchanged."),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullish().describe("Required attribute; omit or send null to leave it unchanged."),general_allowance_mode:e.union([e.literal("standard"),e.literal("none"),e.literal(null)]).nullish().describe("Required attribute; omit or send null to leave it unchanged."),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),rkv=36,lkv=36,dkv=20,ukv=255,ckv=255,pkv=255,mkv=20,xkv=20,gkv=500,ykv=20,Okv=100,vkv=2,Skv=50,hkv=/^\d{4}-\d{2}-\d{2}$/,bkv=/^\d{4}-\d{2}-\d{2}$/,zkv=20,fkv=-140737488355328,Bkv=0x7fffffffffff,Tkv=-140737488355328,Ikv=0x7fffffffffff,Ekv=-140737488355328,Dkv=0x7fffffffffff,Rkv=-140737488355328,_kv=0x7fffffffffff,Nkv=20,Mkv=-140737488355328,Ukv=0x7fffffffffff,Pkv=-140737488355328,Ckv=0x7fffffffffff,wkv=20,Akv=20,shS=e.object({id:e.string().max(rkv),entity_id:e.string().max(lkv),status:e.string().max(dkv),first_name:e.string().max(ukv),last_name:e.string().max(ckv),email:e.string().max(pkv).nullish(),tax_number:e.string().max(mkv),personal_id:e.string().max(xkv).nullish(),address:e.string().max(gkv).nullish(),post_code:e.string().max(ykv).nullish(),city:e.string().max(Okv).nullish(),country_code:e.string().max(vkv).nullish(),iban:e.string().max(Skv).nullish(),employment_start:e.string().regex(hkv),employment_end:e.string().regex(bkv).nullish(),employment_type:e.string().max(zkv),weekly_hours:e.number().min(fkv).max(Bkv),gross_salary_monthly:e.number().min(Tkv).max(Ikv),seniority_bonus_percent:e.number().min(Ekv).max(Dkv),meal_allowance_per_day:e.number().min(Rkv).max(_kv).nullish(),commute_mode:e.string().max(Nkv),commute_km_one_way:e.number().min(Mkv).max(Ukv).nullish(),commute_amount_monthly:e.number().min(Pkv).max(Ckv).nullish(),works_remotely:e.boolean(),tax_residency:e.string().max(wkv),general_allowance_mode:e.string().max(Akv),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Employee record used as the basis for payroll and attendance."),Fkv=/^[a-z]{3,4}_[0-9a-f]{24}$/,ohS=e.object({id:e.stringFormat("resource-id",Fkv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),ihS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),kkv=/^[a-z]{3,4}_[0-9a-f]{24}$/,ahS=e.object({id:e.stringFormat("resource-id",kkv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),jkv=2e3,Hkv=2030,Lkv=12,rhS=e.object({year:e.number().min(jkv).max(Hkv),month:e.number().min(1).max(Lkv)}),lhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),dhS=e.object({employee_id:e.string(),year:e.number(),month:e.number(),days:e.array(e.object({date:e.string(),kind:e.enum(["worked","sick","vacation","public_holiday","paid_leave","unpaid","other","weekend"]),hours:e.number(),sick_reason:e.union([e.literal("illness"),e.literal("injury_outside_work"),e.literal("occupational"),e.literal("care"),e.literal("isolation"),e.literal("donation"),e.literal("other"),e.literal(null)]).nullable(),note:e.string().nullable(),stored:e.boolean().describe("Whether this day has a persisted attendance_days row.")})),summary:e.object({working_days:e.number().describe("Working days in the month per the SI calendar."),worked:e.number(),sick:e.number(),vacation:e.number(),public_holiday:e.number(),paid_leave:e.number(),unpaid:e.number(),other:e.number(),weekend:e.number()})}),Gkv=/^[a-z]{3,4}_[0-9a-f]{24}$/,uhS=e.object({id:e.stringFormat("resource-id",Gkv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),Vkv=2e3,Kkv=2030,Zkv=12,chS=e.object({year:e.number().min(Vkv).max(Kkv),month:e.number().min(1).max(Zkv)}),phS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),qkv=/^\d{4}-\d{2}-\d{2}$/,Wkv=0,Ykv=24,$kv=1e3,mhS=e.object({days:e.array(e.object({date:e.string().regex(qkv),kind:e.enum(["worked","sick","vacation","public_holiday","paid_leave","unpaid","other"]),hours:e.number().min(Wkv).max(Ykv).nullish(),sick_reason:e.union([e.literal("illness"),e.literal("injury_outside_work"),e.literal("occupational"),e.literal("care"),e.literal("isolation"),e.literal("donation"),e.literal("other"),e.literal(null)]).nullish(),note:e.string().max($kv).nullish()}))}),xhS=e.object({employee_id:e.string(),year:e.number(),month:e.number(),days:e.array(e.object({date:e.string(),kind:e.enum(["worked","sick","vacation","public_holiday","paid_leave","unpaid","other","weekend"]),hours:e.number(),sick_reason:e.union([e.literal("illness"),e.literal("injury_outside_work"),e.literal("occupational"),e.literal("care"),e.literal("isolation"),e.literal("donation"),e.literal("other"),e.literal(null)]).nullable(),note:e.string().nullable(),stored:e.boolean().describe("Whether this day has a persisted attendance_days row.")})),summary:e.object({working_days:e.number().describe("Working days in the month per the SI calendar."),worked:e.number(),sick:e.number(),vacation:e.number(),public_holiday:e.number(),paid_leave:e.number(),unpaid:e.number(),other:e.number(),weekend:e.number()})}),Qkv="SI",Jkv=2,Xkv=2,ejv=/^\d{4}-\d{2}-\d{2}$/,ghS=e.object({country_code:e.string().min(Jkv).max(Xkv).default(Qkv),as_of:e.string().regex(ejv).optional().describe("Resolve parameters effective on this date. Defaults to today.")}),yhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),tjv=/^\d{4}-\d{2}-\d{2}$/,njv=/^\d{4}-\d{2}-\d{2}$/,sjv=/^\d{4}-\d{2}-\d{2}$/,OhS=e.object({country_code:e.string(),as_of:e.string().regex(tjv),parameters:e.record(e.string(),e.object({value:e.union([e.number(),e.record(e.string(),e.unknown()),e.null()]).describe("value_numeric when set, otherwise value_json."),unit:e.string().nullable(),effective_from:e.string().regex(njv),effective_to:e.string().regex(sjv).nullable(),verified:e.boolean(),source_url:e.string().nullable(),source_title:e.string().nullable(),is_override:e.boolean().describe("True when this value came from an entity override.")}))}),ojv="SI",ijv=2,ajv=2,vhS=e.object({country_code:e.string().min(ijv).max(ajv).default(ojv),key:e.string().min(1)}),ShS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),rjv=36,ljv=2,djv=200,ujv=-140737488355328,cjv=0x7fffffffffff,pjv=50,mjv=/^\d{4}-\d{2}-\d{2}$/,xjv=/^\d{4}-\d{2}-\d{2}$/,gjv=36,hhS=e.object({data:e.array(e.object({id:e.string().max(rjv),country_code:e.string().max(ljv),key:e.string().max(djv),value_numeric:e.number().min(ujv).max(cjv).nullish(),value_json:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]).optional(),unit:e.string().max(pjv).nullish(),effective_from:e.string().regex(mjv),effective_to:e.string().regex(xjv).nullish(),source_url:e.string().nullish(),source_title:e.string().nullish(),verified:e.boolean(),note:e.string().nullish(),entity_id:e.string().max(gjv).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("A single effective-dated payroll parameter row (statutory or entity-override)."))}),bhS=e.object({key:e.string().min(1).describe("Dotted payroll parameter key.")}),yjv="SI",Ojv=2,vjv=2,zhS=e.object({country_code:e.string().min(Ojv).max(vjv).default(yjv)}),fhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Sjv=50,hjv=/^\d{4}-\d{2}-\d{2}$/,bjv=/^\d{4}-\d{2}-\d{2}$/,zjv=1e3,fjv=500,Bjv=2e3,BhS=e.object({value:e.number().nullish(),value_json:e.record(e.string(),e.unknown()).nullish(),unit:e.string().max(Sjv).nullish(),effective_from:e.string().regex(hjv),effective_to:e.string().regex(bjv).nullish(),source_url:e.string().max(zjv).nullish(),source_title:e.string().max(fjv).nullish(),note:e.string().max(Bjv).nullish()}),Tjv=36,Ijv=2,Ejv=200,Djv=-140737488355328,Rjv=0x7fffffffffff,_jv=50,Njv=/^\d{4}-\d{2}-\d{2}$/,Mjv=/^\d{4}-\d{2}-\d{2}$/,Ujv=36,ThS=e.object({id:e.string().max(Tjv),country_code:e.string().max(Ijv),key:e.string().max(Ejv),value_numeric:e.number().min(Djv).max(Rjv).nullish(),value_json:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]).optional(),unit:e.string().max(_jv).nullish(),effective_from:e.string().regex(Njv),effective_to:e.string().regex(Mjv).nullish(),source_url:e.string().nullish(),source_title:e.string().nullish(),verified:e.boolean(),note:e.string().nullish(),entity_id:e.string().max(Ujv).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("A single effective-dated payroll parameter row (statutory or entity-override)."),IhS=e.object({date_from:e.iso.date().describe("Report period start date in YYYY-MM-DD format."),date_to:e.iso.date().describe("Report period end date in YYYY-MM-DD format.")}),EhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),DhS=e.object({date_from:e.string(),date_to:e.string(),currency_code:e.string(),totals:e.object({output_tax:e.number(),output_tax_adjustments:e.number(),input_tax:e.number(),input_tax_adjustments:e.number(),reverse_charge_tax:e.number(),non_deductible_input_tax:e.number(),net_tax_due:e.number(),paid:e.number(),remaining:e.number()}),by_rate:e.array(e.object({rate:e.number().nullable(),output_tax:e.number(),output_tax_adjustments:e.number(),input_tax:e.number(),input_tax_adjustments:e.number(),reverse_charge_tax:e.number(),non_deductible_input_tax:e.number(),net_tax_due:e.number()})),payments:e.array(e.object({id:e.string(),entity_id:e.string(),date_from:e.string(),date_to:e.string(),amount:e.number(),currency_code:e.string(),payment_date:e.string(),type:e.enum(["bank_transfer","card","cash","check","other"]).describe("How the tax authority payment was made."),reference:e.string().nullable(),note:e.string().nullable(),liability_snapshot:e.union([e.object({date_from:e.string(),date_to:e.string(),output_tax:e.number(),input_tax:e.number(),net_tax_due:e.number(),paid:e.number(),remaining:e.number(),currency_code:e.string()}),e.null()]),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),deleted_at:e.iso.datetime({}).nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})})),remaining:e.number(),warnings:e.array(e.object({code:e.string(),message:e.string(),document_id:e.string().nullable(),document_type:e.string().nullable()}))}),RhS=e.object({date_from:e.iso.date().describe("Report period start date in YYYY-MM-DD format."),date_to:e.iso.date().describe("Report period end date in YYYY-MM-DD format.")}),_hS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),NhS=e.object({data:e.array(e.object({id:e.string(),entity_id:e.string(),date_from:e.string(),date_to:e.string(),amount:e.number(),currency_code:e.string(),payment_date:e.string(),type:e.enum(["bank_transfer","card","cash","check","other"]).describe("How the tax authority payment was made."),reference:e.string().nullable(),note:e.string().nullable(),liability_snapshot:e.union([e.object({date_from:e.string(),date_to:e.string(),output_tax:e.number(),input_tax:e.number(),net_tax_due:e.number(),paid:e.number(),remaining:e.number(),currency_code:e.string()}),e.null()]),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),deleted_at:e.iso.datetime({}).nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}))}),MhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Pjv=0,Cjv=3,wjv=3,Ajv=100,Fjv=500,UhS=e.object({date_from:e.iso.date().describe("Tax period start date in YYYY-MM-DD format."),date_to:e.iso.date().describe("Tax period end date in YYYY-MM-DD format."),amount:e.number().gt(Pjv).describe("Amount paid to the tax authority."),currency_code:e.string().min(Cjv).max(wjv).nullish().describe("Payment currency. Defaults to and must match the entity currency."),payment_date:e.iso.date().nullish().describe("Payment date in YYYY-MM-DD format. Defaults to today."),type:e.union([e.enum(["bank_transfer","card","cash","check","other"]).describe("How the tax authority payment was made."),e.null()]).optional().describe("How the tax authority payment was made. Defaults to bank_transfer when omitted or null."),reference:e.string().max(Ajv).nullish().describe("Bank, tax authority, or filing reference."),note:e.string().max(Fjv).nullish().describe("Internal note for this tax payment."),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),kjv=/^txpay_[0-9a-f]{24}$/,PhS=e.object({id:e.string().regex(kjv).describe("Tax payment identifier")}),ChS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),jjv=0,Hjv=100,Ljv=500,whS=e.object({amount:e.number().gt(jjv).optional().describe("Amount paid to the tax authority."),payment_date:e.iso.date().optional().describe("Replacement payment date in YYYY-MM-DD format. Omit to leave it unchanged."),type:e.enum(["bank_transfer","card","cash","check","other"]).optional().describe("Replacement payment type. Omit to leave it unchanged; null is not accepted."),reference:e.string().max(Hjv).nullish().describe("Bank, tax authority, or filing reference."),note:e.string().max(Ljv).nullish().describe("Internal note for this tax payment."),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),AhS=e.object({id:e.string(),entity_id:e.string(),date_from:e.string(),date_to:e.string(),amount:e.number(),currency_code:e.string(),payment_date:e.string(),type:e.enum(["bank_transfer","card","cash","check","other"]).describe("How the tax authority payment was made."),reference:e.string().nullable(),note:e.string().nullable(),liability_snapshot:e.union([e.object({date_from:e.string(),date_to:e.string(),output_tax:e.number(),input_tax:e.number(),net_tax_due:e.number(),paid:e.number(),remaining:e.number(),currency_code:e.string()}),e.null()]),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),deleted_at:e.iso.datetime({}).nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),Gjv=/^txpay_[0-9a-f]{24}$/,FhS=e.object({id:e.string().regex(Gjv).describe("Tax payment identifier")}),khS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Vjv=2021,Kjv=2100,jhS=e.object({year:e.number().min(Vjv).max(Kjv).optional().describe("Calendar year to review together with its preceding year.")}),HhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Zjv=2,qjv=2,Wjv=3,Yjv=3,$jv=0,Qjv=0,Jjv=2,Xjv=2,eHv=0,tHv=0,LhS=e.object({entity_id:e.string(),eligible:e.boolean(),eligibility_reason:e.enum(["eligible","issuer_not_in_eu","issuer_country_not_supported","entity_not_tax_subject"]),issuer_country_code:e.string().min(Zjv).max(qjv).nullable(),reporting_currency_code:e.string().min(Wjv).max(Yjv).nullable(),selected_year:e.number(),auto_apply_destination_vat:e.boolean(),threshold:e.object({amount:e.literal(1e4),currency_code:e.enum(["EUR"]),comparison_available:e.boolean(),status:e.enum(["below_threshold","exceeds_threshold","comparison_unavailable"]),selected_year_net_sales:e.number(),preceding_year_net_sales:e.number()}).describe("Comparison with the EU-wide EUR 10,000 threshold. Status is unavailable when the entity reporting currency is not EUR."),periods:e.array(e.object({year:e.number(),invoice_count:e.number().min($jv),credit_note_count:e.number().min(Qjv),net_sales:e.number(),vat_collected:e.number(),gross_sales:e.number(),countries:e.array(e.object({country_code:e.string().min(Jjv).max(Xjv),country_name:e.string(),invoice_count:e.number().min(eHv),credit_note_count:e.number().min(tHv),net_sales:e.number(),vat_collected:e.number(),gross_sales:e.number(),standard_vat_rate:e.number().nullable(),reduced_vat_rates:e.array(e.number())}).describe("Operational intra-EU B2C sales totals for one destination country."))}).describe("EU OSS tracking totals for one calendar year.")),guidance_url:e.url(),vat_rates_verified_through:e.iso.date(),notices:e.array(e.enum(["scope_requires_review","vat_rates_reference_only","vat_rates_last_verified","stored_conversion_data_only"]))}).describe("Operational EU OSS tracker for finalized intra-EU B2C invoices and credit notes. It is not a legal filing determination."),nHv=/^\d{4}$/,sHv=/^(1[0-2]|[1-9])$/,oHv=/^[1-4]$/,GhS=e.object({year:e.string().regex(nHv).describe("Year for the combined KIR/KPR export (e.g., 2025)"),month:e.string().regex(sHv).optional().describe("Month for monthly export (1-12). Cannot be used with quarter."),quarter:e.string().regex(oHv).optional().describe("Quarter for quarterly export (1-4). Cannot be used with month.")}),VhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),KhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),iHv=/^\d{2}\.\d{3}$/,aHv=0,rHv=0,lHv=8,dHv=8,uHv=8,cHv=8,pHv=8,mHv=8,xHv=8,gHv=8,yHv=8,OHv=8,vHv=8,SHv=8,hHv=8,bHv=8,zHv=8,fHv=8,BHv=8,THv=8,IHv=8,EHv=8,DHv=8,RHv=8,_Hv=8,NHv=8,MHv=8,UHv=8,PHv=8,CHv=8,ZhS=e.object({business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e.union([e.literal("normirani"),e.literal("dejanski"),e.literal(null)]).nullable().describe("Income tax regime used by the Slovenian entity."),vat_profile:e.union([e.literal("standard"),e.literal("special_vat_identified"),e.literal("non_vat_subject"),e.literal(null)]).nullable().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e.boolean().optional(),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullable().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e.object({activity_codes:e.array(e.string().regex(iHv).describe("Slovenian SKD activity code used for yearly reporting.")).describe("Ordered SKD activity codes."),registration_number:e.string().nullable().describe("Optional registration number used in the filing."),accounting_type:e.union([e.literal("records"),e.literal("single_entry"),e.literal("double_entry"),e.literal(null)]).nullable().describe("Accounting / records mode used in the filing."),normiranec_insurance_basis:e.union([e.literal("full_time_self_employed"),e.literal("other"),e.literal(null)]).nullable().describe("Insurance basis used by normirani rules."),default_withholding_tax_amount:e.number().min(aHv).nullable().describe("Persisted default withholding tax amount for yearly reviews."),default_foreign_tax_credit_amount:e.number().min(rHv).nullable().describe("Persisted default foreign tax credit amount for yearly reviews.")}),accounting_exports:e.object({preferred_format:e.union([e.literal("vod_xml"),e.literal("vasco_xml"),e.literal("minimax_xml"),e.literal(null)]).nullable().describe("Preferred Slovenian accounting export format."),konto_mappings:e.object({receivables:e.string().max(lHv).nullish(),payables:e.string().max(dHv).nullish(),advances_received:e.string().max(uHv).nullish().describe("Received advance liability account for miniMAX final-invoice settlement. Defaults to 2300; use the account on which receipts are booked in miniMAX."),advances_paid:e.string().max(cHv).nullish().describe("Paid advance asset account for miniMAX final-invoice settlement. Defaults to 1300; use the account on which advance payments are booked in miniMAX."),sales_vat_22:e.string().max(pHv).nullish(),sales_vat_95:e.string().max(mHv).nullish(),sales_vat_5:e.string().max(xHv).nullish(),purchase_vat_recoverable_22:e.string().max(gHv).nullish(),purchase_vat_recoverable_95:e.string().max(yHv).nullish(),purchase_vat_recoverable_5:e.string().max(OHv).nullish(),sales_revenue_22:e.string().max(vHv).nullish(),sales_revenue_95:e.string().max(SHv).nullish(),sales_revenue_5:e.string().max(hHv).nullish(),sales_revenue_exempt:e.string().max(bHv).nullish(),sales_revenue_eu_goods:e.string().max(zHv).nullish(),sales_revenue_eu_services:e.string().max(fHv).nullish(),sales_revenue_reverse_charge:e.string().max(BHv).nullish(),sales_revenue_third_country_goods:e.string().max(THv).nullish(),sales_revenue_third_country_services:e.string().max(IHv).nullish(),purchase_expense_22:e.string().max(EHv).nullish(),purchase_expense_95:e.string().max(DHv).nullish(),purchase_expense_5:e.string().max(RHv).nullish(),purchase_expense_exempt:e.string().max(_Hv).nullish(),purchase_expense_eu_goods:e.string().max(NHv).nullish(),purchase_expense_eu_services:e.string().max(MHv).nullish(),purchase_expense_reverse_charge:e.string().max(UHv).nullish(),purchase_expense_third_country_goods:e.string().max(PHv).nullish(),purchase_expense_third_country_services:e.string().max(CHv).nullish()}).and(e.unknown().describe("Normalized semantic konto mappings shared by Slovenian accounting exports."))}),business_form_source:e.enum(["stored","registry","unknown"]),inferred_business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),supported_exports:e.object({yearly_normirani:e.boolean(),vod_xml:e.boolean(),vasco_xml:e.boolean(),minimax_xml:e.boolean()}),unsupported_reason:e.string().nullable()}),qhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),wHv=/^\d{2}\.\d{3}$/,AHv=0,FHv=0,kHv=8,jHv=8,HHv=8,LHv=8,GHv=8,VHv=8,KHv=8,ZHv=8,qHv=8,WHv=8,YHv=8,$Hv=8,QHv=8,JHv=8,XHv=8,eLv=8,tLv=8,nLv=8,sLv=8,oLv=8,iLv=8,aLv=8,rLv=8,lLv=8,dLv=8,uLv=8,cLv=8,pLv=8,WhS=e.object({business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullish().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e.union([e.literal("normirani"),e.literal("dejanski"),e.literal(null)]).nullish().describe("Income tax regime used by the Slovenian entity."),vat_profile:e.union([e.literal("standard"),e.literal("special_vat_identified"),e.literal("non_vat_subject"),e.literal(null)]).nullish().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e.boolean().nullish(),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullish().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e.object({activity_codes:e.array(e.string().regex(wHv).describe("Slovenian SKD activity code used for yearly reporting.")).nullish(),registration_number:e.string().nullish(),accounting_type:e.union([e.literal("records"),e.literal("single_entry"),e.literal("double_entry"),e.literal(null)]).nullish().describe("Accounting or records mode used for the yearly filing."),normiranec_insurance_basis:e.union([e.literal("full_time_self_employed"),e.literal("other"),e.literal(null)]).nullish().describe("Insurance basis used to determine the applicable normirani rules."),default_withholding_tax_amount:e.number().min(AHv).nullish().describe("Monetary amount in EUR."),default_foreign_tax_credit_amount:e.number().min(FHv).nullish().describe("Monetary amount in EUR.")}).nullish(),accounting_exports:e.object({preferred_format:e.union([e.literal("vod_xml"),e.literal("vasco_xml"),e.literal("minimax_xml"),e.literal(null)]).nullish().describe("Stored preferred export format for Slovenian accounting handoff."),konto_mappings:e.object({receivables:e.string().max(kHv).nullish(),payables:e.string().max(jHv).nullish(),advances_received:e.string().max(HHv).nullish().describe("Received advance liability account for miniMAX final-invoice settlement. Defaults to 2300; use the account on which receipts are booked in miniMAX."),advances_paid:e.string().max(LHv).nullish().describe("Paid advance asset account for miniMAX final-invoice settlement. Defaults to 1300; use the account on which advance payments are booked in miniMAX."),sales_vat_22:e.string().max(GHv).nullish(),sales_vat_95:e.string().max(VHv).nullish(),sales_vat_5:e.string().max(KHv).nullish(),purchase_vat_recoverable_22:e.string().max(ZHv).nullish(),purchase_vat_recoverable_95:e.string().max(qHv).nullish(),purchase_vat_recoverable_5:e.string().max(WHv).nullish(),sales_revenue_22:e.string().max(YHv).nullish(),sales_revenue_95:e.string().max($Hv).nullish(),sales_revenue_5:e.string().max(QHv).nullish(),sales_revenue_exempt:e.string().max(JHv).nullish(),sales_revenue_eu_goods:e.string().max(XHv).nullish(),sales_revenue_eu_services:e.string().max(eLv).nullish(),sales_revenue_reverse_charge:e.string().max(tLv).nullish(),sales_revenue_third_country_goods:e.string().max(nLv).nullish(),sales_revenue_third_country_services:e.string().max(sLv).nullish(),purchase_expense_22:e.string().max(oLv).nullish(),purchase_expense_95:e.string().max(iLv).nullish(),purchase_expense_5:e.string().max(aLv).nullish(),purchase_expense_exempt:e.string().max(rLv).nullish(),purchase_expense_eu_goods:e.string().max(lLv).nullish(),purchase_expense_eu_services:e.string().max(dLv).nullish(),purchase_expense_reverse_charge:e.string().max(uLv).nullish(),purchase_expense_third_country_goods:e.string().max(cLv).nullish(),purchase_expense_third_country_services:e.string().max(pLv).nullish()}).nullish()}).nullish()}),mLv=/^\d{2}\.\d{3}$/,xLv=0,gLv=0,yLv=8,OLv=8,vLv=8,SLv=8,hLv=8,bLv=8,zLv=8,fLv=8,BLv=8,TLv=8,ILv=8,ELv=8,DLv=8,RLv=8,_Lv=8,NLv=8,MLv=8,ULv=8,PLv=8,CLv=8,wLv=8,ALv=8,FLv=8,kLv=8,jLv=8,HLv=8,LLv=8,GLv=8,YhS=e.object({business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e.union([e.literal("normirani"),e.literal("dejanski"),e.literal(null)]).nullable().describe("Income tax regime used by the Slovenian entity."),vat_profile:e.union([e.literal("standard"),e.literal("special_vat_identified"),e.literal("non_vat_subject"),e.literal(null)]).nullable().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e.boolean().optional(),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullable().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e.object({activity_codes:e.array(e.string().regex(mLv).describe("Slovenian SKD activity code used for yearly reporting.")).describe("Ordered SKD activity codes."),registration_number:e.string().nullable().describe("Optional registration number used in the filing."),accounting_type:e.union([e.literal("records"),e.literal("single_entry"),e.literal("double_entry"),e.literal(null)]).nullable().describe("Accounting / records mode used in the filing."),normiranec_insurance_basis:e.union([e.literal("full_time_self_employed"),e.literal("other"),e.literal(null)]).nullable().describe("Insurance basis used by normirani rules."),default_withholding_tax_amount:e.number().min(xLv).nullable().describe("Persisted default withholding tax amount for yearly reviews."),default_foreign_tax_credit_amount:e.number().min(gLv).nullable().describe("Persisted default foreign tax credit amount for yearly reviews.")}),accounting_exports:e.object({preferred_format:e.union([e.literal("vod_xml"),e.literal("vasco_xml"),e.literal("minimax_xml"),e.literal(null)]).nullable().describe("Preferred Slovenian accounting export format."),konto_mappings:e.object({receivables:e.string().max(yLv).nullish(),payables:e.string().max(OLv).nullish(),advances_received:e.string().max(vLv).nullish().describe("Received advance liability account for miniMAX final-invoice settlement. Defaults to 2300; use the account on which receipts are booked in miniMAX."),advances_paid:e.string().max(SLv).nullish().describe("Paid advance asset account for miniMAX final-invoice settlement. Defaults to 1300; use the account on which advance payments are booked in miniMAX."),sales_vat_22:e.string().max(hLv).nullish(),sales_vat_95:e.string().max(bLv).nullish(),sales_vat_5:e.string().max(zLv).nullish(),purchase_vat_recoverable_22:e.string().max(fLv).nullish(),purchase_vat_recoverable_95:e.string().max(BLv).nullish(),purchase_vat_recoverable_5:e.string().max(TLv).nullish(),sales_revenue_22:e.string().max(ILv).nullish(),sales_revenue_95:e.string().max(ELv).nullish(),sales_revenue_5:e.string().max(DLv).nullish(),sales_revenue_exempt:e.string().max(RLv).nullish(),sales_revenue_eu_goods:e.string().max(_Lv).nullish(),sales_revenue_eu_services:e.string().max(NLv).nullish(),sales_revenue_reverse_charge:e.string().max(MLv).nullish(),sales_revenue_third_country_goods:e.string().max(ULv).nullish(),sales_revenue_third_country_services:e.string().max(PLv).nullish(),purchase_expense_22:e.string().max(CLv).nullish(),purchase_expense_95:e.string().max(wLv).nullish(),purchase_expense_5:e.string().max(ALv).nullish(),purchase_expense_exempt:e.string().max(FLv).nullish(),purchase_expense_eu_goods:e.string().max(kLv).nullish(),purchase_expense_eu_services:e.string().max(jLv).nullish(),purchase_expense_reverse_charge:e.string().max(HLv).nullish(),purchase_expense_third_country_goods:e.string().max(LLv).nullish(),purchase_expense_third_country_services:e.string().max(GLv).nullish()}).and(e.unknown().describe("Normalized semantic konto mappings shared by Slovenian accounting exports."))}),business_form_source:e.enum(["stored","registry","unknown"]),inferred_business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),supported_exports:e.object({yearly_normirani:e.boolean(),vod_xml:e.boolean(),vasco_xml:e.boolean(),minimax_xml:e.boolean()}),unsupported_reason:e.string().nullable()}),$hS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),VLv=2025,KLv=2100,QhS=e.object({year:e.number().min(VLv).max(KLv).describe("Tax year for the yearly Slovenia eDavki filing.")}),ZLv=2025,qLv=2100,WLv=/^\d{2}\.\d{3}$/,YLv=0,$Lv=0,QLv=8,JLv=8,XLv=8,e1v=8,t1v=8,n1v=8,s1v=8,o1v=8,i1v=8,a1v=8,r1v=8,l1v=8,d1v=8,u1v=8,c1v=8,p1v=8,m1v=8,x1v=8,g1v=8,y1v=8,O1v=8,v1v=8,S1v=8,h1v=8,b1v=8,z1v=8,f1v=8,B1v=8,T1v=0,I1v=0,E1v=0,D1v=0,R1v=0,JhS=e.object({entity_id:e.string(),year:e.number().min(ZLv).max(qLv).describe("Tax year for the yearly Slovenia eDavki filing."),filing_kind:e.enum(["regular_annual"]),profile:e.object({business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e.union([e.literal("normirani"),e.literal("dejanski"),e.literal(null)]).nullable().describe("Income tax regime used by the Slovenian entity."),vat_profile:e.union([e.literal("standard"),e.literal("special_vat_identified"),e.literal("non_vat_subject"),e.literal(null)]).nullable().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e.boolean().optional(),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullable().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e.object({activity_codes:e.array(e.string().regex(WLv).describe("Slovenian SKD activity code used for yearly reporting.")).describe("Ordered SKD activity codes."),registration_number:e.string().nullable().describe("Optional registration number used in the filing."),accounting_type:e.union([e.literal("records"),e.literal("single_entry"),e.literal("double_entry"),e.literal(null)]).nullable().describe("Accounting / records mode used in the filing."),normiranec_insurance_basis:e.union([e.literal("full_time_self_employed"),e.literal("other"),e.literal(null)]).nullable().describe("Insurance basis used by normirani rules."),default_withholding_tax_amount:e.number().min(YLv).nullable().describe("Persisted default withholding tax amount for yearly reviews."),default_foreign_tax_credit_amount:e.number().min($Lv).nullable().describe("Persisted default foreign tax credit amount for yearly reviews.")}),accounting_exports:e.object({preferred_format:e.union([e.literal("vod_xml"),e.literal("vasco_xml"),e.literal("minimax_xml"),e.literal(null)]).nullable().describe("Preferred Slovenian accounting export format."),konto_mappings:e.object({receivables:e.string().max(QLv).nullish(),payables:e.string().max(JLv).nullish(),advances_received:e.string().max(XLv).nullish().describe("Received advance liability account for miniMAX final-invoice settlement. Defaults to 2300; use the account on which receipts are booked in miniMAX."),advances_paid:e.string().max(e1v).nullish().describe("Paid advance asset account for miniMAX final-invoice settlement. Defaults to 1300; use the account on which advance payments are booked in miniMAX."),sales_vat_22:e.string().max(t1v).nullish(),sales_vat_95:e.string().max(n1v).nullish(),sales_vat_5:e.string().max(s1v).nullish(),purchase_vat_recoverable_22:e.string().max(o1v).nullish(),purchase_vat_recoverable_95:e.string().max(i1v).nullish(),purchase_vat_recoverable_5:e.string().max(a1v).nullish(),sales_revenue_22:e.string().max(r1v).nullish(),sales_revenue_95:e.string().max(l1v).nullish(),sales_revenue_5:e.string().max(d1v).nullish(),sales_revenue_exempt:e.string().max(u1v).nullish(),sales_revenue_eu_goods:e.string().max(c1v).nullish(),sales_revenue_eu_services:e.string().max(p1v).nullish(),sales_revenue_reverse_charge:e.string().max(m1v).nullish(),sales_revenue_third_country_goods:e.string().max(x1v).nullish(),sales_revenue_third_country_services:e.string().max(g1v).nullish(),purchase_expense_22:e.string().max(y1v).nullish(),purchase_expense_95:e.string().max(O1v).nullish(),purchase_expense_5:e.string().max(v1v).nullish(),purchase_expense_exempt:e.string().max(S1v).nullish(),purchase_expense_eu_goods:e.string().max(h1v).nullish(),purchase_expense_eu_services:e.string().max(b1v).nullish(),purchase_expense_reverse_charge:e.string().max(z1v).nullish(),purchase_expense_third_country_goods:e.string().max(f1v).nullish(),purchase_expense_third_country_services:e.string().max(B1v).nullish()}).and(e.unknown().describe("Normalized semantic konto mappings shared by Slovenian accounting exports."))}),business_form_source:e.enum(["stored","registry","unknown"]),inferred_business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),supported_exports:e.object({yearly_normirani:e.boolean(),vod_xml:e.boolean(),vasco_xml:e.boolean(),minimax_xml:e.boolean()}),unsupported_reason:e.string().nullable()}),auto_values:e.object({total_invoice_revenue:e.number(),total_credit_note_reduction:e.number(),computed_revenue:e.number(),adjusted_revenue:e.number(),normative_expense_rate:e.number(),normative_expenses:e.number(),tax_base:e.number(),income_tax_rate:e.number(),income_tax_amount:e.number(),advance_tax_amount:e.number(),monthly_installment_amount:e.number(),quarterly_installment_amount:e.number()}),manual_values:e.object({withholding_tax_amount:e.number().min(T1v).describe("Monetary amount in EUR."),foreign_tax_credit_amount:e.number().min(I1v).describe("Monetary amount in EUR."),prior_advance_income_tax_amount:e.number().min(E1v).describe("Monetary amount in EUR."),revenue_adjustment_decrease:e.number().min(D1v).describe("Monetary amount in EUR."),revenue_adjustment_increase:e.number().min(R1v).describe("Monetary amount in EUR.")}),derived_flags:e.object({has_foreign_customers:e.boolean(),has_foreign_tax_numbers:e.boolean(),has_non_eur_documents:e.boolean()}),warnings:e.array(e.object({code:e.string(),message:e.string(),severity:e.enum(["info","warning"])})),issue_details:e.array(e.object({code:e.string(),title:e.string(),summary:e.string(),explanation:e.string(),action:e.string().nullable(),severity:e.enum(["info","warning"]),official_sources:e.array(e.object({label:e.string(),url:e.url(),issuer:e.enum(["FURS","PISRS"])})),affected_documents:e.array(e.object({id:e.string(),type:e.enum(["invoice","credit_note"]),number:e.string(),date:e.string(),customer_name:e.string().nullable(),customer_country_code:e.string().nullable(),customer_tax_number:e.string().nullable(),currency_code:e.string(),total:e.number(),total_converted:e.number().nullable(),reason:e.string(),document_path:e.string()}))})),rule_summary:e.object({normative_expense_rule:e.string(),income_tax_rule:e.string(),advance_rule:e.string()})}),XhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),_1v=2025,N1v=2100,M1v=0,U1v=0,P1v=0,C1v=0,w1v=0,ebS=e.object({year:e.number().min(_1v).max(N1v).describe("Tax year for the yearly Slovenia eDavki filing."),manual_values:e.object({withholding_tax_amount:e.number().min(M1v).describe("Monetary amount in EUR."),foreign_tax_credit_amount:e.number().min(U1v).describe("Monetary amount in EUR."),prior_advance_income_tax_amount:e.number().min(P1v).describe("Monetary amount in EUR."),revenue_adjustment_decrease:e.number().min(C1v).describe("Monetary amount in EUR."),revenue_adjustment_increase:e.number().min(w1v).describe("Monetary amount in EUR.")})}),tbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),nbS=e.object({date_from:e.iso.date().describe("Inclusive document date in YYYY-MM-DD format."),date_to:e.iso.date().describe("Inclusive document date in YYYY-MM-DD format.")}),sbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),obS=e.object({date_from:e.iso.date().describe("Inclusive document date in YYYY-MM-DD format."),date_to:e.iso.date().describe("Inclusive document date in YYYY-MM-DD format.")}),ibS=e.object({date_from:e.iso.date().describe("Inclusive lower bound of the issued or supplier document date, in YYYY-MM-DD format."),date_to:e.iso.date().describe("Inclusive upper bound of the issued or supplier document date, in YYYY-MM-DD format. The range cannot exceed one year.")}),abS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),A1v=/^\d{4}$/,F1v=/^(1[0-2]|[1-9])$/,k1v=/^[1-4]$/,rbS=e.object({year:e.string().regex(A1v).describe("Year for the VAT return period (e.g. 2026)."),month:e.string().regex(F1v).optional().describe("Month (1-12) for a monthly period. Cannot be used with quarter."),quarter:e.string().regex(k1v).optional().describe("Quarter (1-4) for a quarterly period. Cannot be used with month.")}),lbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),dbS=e.object({period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),deadline:e.object({due_date:e.string().describe("DDV-O submission deadline (YYYY-MM-DD)."),kir_kpr_prefill_cutoff:e.string().describe("Date by which KIR/KPR must be submitted for FURS to compose a pre-filled DDV-O (documented-but-unverified 3-working-day rule).")}),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string())}),ubS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),j1v=2e3,H1v=2100,L1v=12,G1v=4,cbS=e.object({year:e.number().min(j1v).max(H1v).describe("Year for the VAT return period."),month:e.number().min(1).max(L1v).nullish().describe("Month (1-12) for a monthly period. Cannot be used with quarter. Explicit null is treated as omitted."),quarter:e.number().min(1).max(G1v).nullish().describe("Quarter (1-4) for a quarterly period. Cannot be used with month. Explicit null is treated as omitted.")}),V1v=10,K1v=100,pbS=e.object({limit:e.number().min(1).max(K1v).default(V1v).describe("Number of results per request."),next_cursor:e.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance.")}),mbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),xbS=e.object({data:e.array(e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})})),pagination:e.object({total:e.number().describe("Total number of items available in the collection"),next_cursor:e.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),Z1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,gbS=e.object({id:e.stringFormat("resource-id",Z1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),ybS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),ObS=e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),q1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,vbS=e.object({id:e.stringFormat("resource-id",q1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),SbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),hbS=e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),W1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,bbS=e.object({id:e.stringFormat("resource-id",W1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),zbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),fbS=e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),Y1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,BbS=e.object({id:e.stringFormat("resource-id",Y1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),TbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),$1v=2e3,IbS=e.object({submitted_at:e.iso.datetime({}).nullish().describe("When the return was submitted to eDavki. Defaults to now when omitted. Must not be in the future (5 minutes of clock skew are tolerated) and must not be before the approval time; otherwise the request is rejected with 422."),notes:e.string().max($1v).nullish().describe("Free-text notes recorded alongside the submission.")}),EbS=e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),Q1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,DbS=e.object({id:e.stringFormat("resource-id",Q1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),RbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),_bS=e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),J1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,NbS=e.object({id:e.stringFormat("resource-id",J1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),MbS=e.object({format:e.enum(["ddv_o_xml"]).describe("Export format for a VAT return filing.")}),UbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),X1v=/^\d{4}-\d{2}-\d{2}$/,e4v=/^\d{4}-\d{2}-\d{2}$/,PbS=e.object({from:e.string().regex(X1v).describe("Range start (inclusive), YYYY-MM-DD."),to:e.string().regex(e4v).describe("Range end (inclusive), YYYY-MM-DD."),status:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status).").and(e.unknown().describe("Filter by computed state.")).optional().describe("Filter by computed state.")}),CbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),wbS=e.object({data:e.array(e.object({id:e.string(),entity_id:e.string(),type:e.enum(["ddv_o","kir_kpr","rp_o","opsvz_contributions","opsvz_payment","ddpo_annual","ajpes_annual","dohdej_annual"]),period_start:e.string(),period_end:e.string(),due_date:e.string(),kind:e.enum(["filing","payment"]),verification:e.enum(["verified","unverified"]),source:e.string(),related_resource:e.object({type:e.enum(["vat_filing"]),period_key:e.string(),id:e.string().nullable().describe("The linked vat_filings row id, when one exists for this period.")}).nullable(),status:e.enum(["upcoming","done","dismissed"]).describe("Stored status."),state:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status)."),done_at:e.iso.datetime({}).nullable(),done_by:e.string().nullable(),dismissed_at:e.iso.datetime({}).nullable(),dismissed_by:e.string().nullable(),notes:e.string().nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})})),summary:e.object({overdue:e.number(),due_this_week:e.number(),upcoming:e.number()})}),t4v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,AbS=e.object({id:e.stringFormat("resource-id",t4v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),FbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),n4v=2e3,kbS=e.object({note:e.string().max(n4v).nullish().describe("Optional note recorded alongside completion.")}),jbS=e.object({id:e.string(),entity_id:e.string(),type:e.enum(["ddv_o","kir_kpr","rp_o","opsvz_contributions","opsvz_payment","ddpo_annual","ajpes_annual","dohdej_annual"]),period_start:e.string(),period_end:e.string(),due_date:e.string(),kind:e.enum(["filing","payment"]),verification:e.enum(["verified","unverified"]),source:e.string(),related_resource:e.object({type:e.enum(["vat_filing"]),period_key:e.string(),id:e.string().nullable().describe("The linked vat_filings row id, when one exists for this period.")}).nullable(),status:e.enum(["upcoming","done","dismissed"]).describe("Stored status."),state:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status)."),done_at:e.iso.datetime({}).nullable(),done_by:e.string().nullable(),dismissed_at:e.iso.datetime({}).nullable(),dismissed_by:e.string().nullable(),notes:e.string().nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),s4v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,HbS=e.object({id:e.stringFormat("resource-id",s4v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),LbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),GbS=e.object({id:e.string(),entity_id:e.string(),type:e.enum(["ddv_o","kir_kpr","rp_o","opsvz_contributions","opsvz_payment","ddpo_annual","ajpes_annual","dohdej_annual"]),period_start:e.string(),period_end:e.string(),due_date:e.string(),kind:e.enum(["filing","payment"]),verification:e.enum(["verified","unverified"]),source:e.string(),related_resource:e.object({type:e.enum(["vat_filing"]),period_key:e.string(),id:e.string().nullable().describe("The linked vat_filings row id, when one exists for this period.")}).nullable(),status:e.enum(["upcoming","done","dismissed"]).describe("Stored status."),state:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status)."),done_at:e.iso.datetime({}).nullable(),done_by:e.string().nullable(),dismissed_at:e.iso.datetime({}).nullable(),dismissed_by:e.string().nullable(),notes:e.string().nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),o4v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,VbS=e.object({id:e.stringFormat("resource-id",o4v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),KbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),i4v=2e3,ZbS=e.object({reason:e.string().max(i4v).nullish().describe("Optional reason this obligation does not apply.")}),qbS=e.object({id:e.string(),entity_id:e.string(),type:e.enum(["ddv_o","kir_kpr","rp_o","opsvz_contributions","opsvz_payment","ddpo_annual","ajpes_annual","dohdej_annual"]),period_start:e.string(),period_end:e.string(),due_date:e.string(),kind:e.enum(["filing","payment"]),verification:e.enum(["verified","unverified"]),source:e.string(),related_resource:e.object({type:e.enum(["vat_filing"]),period_key:e.string(),id:e.string().nullable().describe("The linked vat_filings row id, when one exists for this period.")}).nullable(),status:e.enum(["upcoming","done","dismissed"]).describe("Stored status."),state:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status)."),done_at:e.iso.datetime({}).nullable(),done_by:e.string().nullable(),dismissed_at:e.iso.datetime({}).nullable(),dismissed_by:e.string().nullable(),notes:e.string().nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),a4v=/^\d{4}-\d{2}-\d{2}$/,r4v=/^\d{4}-\d{2}-\d{2}$/,l4v="live",WbS=e.object({from:e.string().regex(a4v).describe("Range start (inclusive), YYYY-MM-DD."),to:e.string().regex(r4v).describe("Range end (inclusive), YYYY-MM-DD."),entity_id:e.string().optional().describe("Filter to a single entity id."),environment:e.union([e.literal("live"),e.literal("sandbox"),e.literal(null)]).nullish().default(l4v).describe('Environment to scope entities to. Defaults to "live".')}),d4v=/^acc_[0-9a-fA-F]{24}$/,YbS=e.object({"x-account-id":e.string().regex(d4v).optional().describe("Account Id on which the request is made. Optional if user is part of only one account.")}),$bS=e.object({data:e.array(e.object({id:e.string(),entity_id:e.string(),type:e.enum(["ddv_o","kir_kpr","rp_o","opsvz_contributions","opsvz_payment","ddpo_annual","ajpes_annual","dohdej_annual"]),period_start:e.string(),period_end:e.string(),due_date:e.string(),kind:e.enum(["filing","payment"]),verification:e.enum(["verified","unverified"]),source:e.string(),related_resource:e.object({type:e.enum(["vat_filing"]),period_key:e.string(),id:e.string().nullable().describe("The linked vat_filings row id, when one exists for this period.")}).nullable(),status:e.enum(["upcoming","done","dismissed"]).describe("Stored status."),state:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status)."),done_at:e.iso.datetime({}).nullable(),done_by:e.string().nullable(),dismissed_at:e.iso.datetime({}).nullable(),dismissed_by:e.string().nullable(),notes:e.string().nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).and(e.object({entity_name:e.string()})))});var Et={};W(Et,{CreateTaxBody:()=>JbS,CreateTaxHeader:()=>QbS,DeleteTaxHeader:()=>czS,DeleteTaxParams:()=>uzS,GetTaxesHeader:()=>ezS,GetTaxesQueryParams:()=>XbS,GetTaxesResponse:()=>tzS,PermanentDeleteTaxHeader:()=>yzS,PermanentDeleteTaxParams:()=>gzS,ReplaceTaxBody:()=>lzS,ReplaceTaxHeader:()=>rzS,ReplaceTaxParams:()=>azS,ReplaceTaxResponse:()=>dzS,RestoreTaxHeader:()=>mzS,RestoreTaxParams:()=>pzS,RestoreTaxResponse:()=>xzS,UpdateTaxBody:()=>ozS,UpdateTaxHeader:()=>szS,UpdateTaxParams:()=>nzS,UpdateTaxResponse:()=>izS,createTaxBodyDestinationVatCountryCodeMax:()=>x4v,createTaxBodyDestinationVatCountryCodeMin:()=>m4v,createTaxBodyNameMax:()=>u4v,createTaxBodyPtExemptionReasonMax:()=>g4v,createTaxBodyTaxRatesItemRateMax:()=>p4v,createTaxBodyTaxRatesItemRateMin:()=>c4v,deleteTaxPathIdRegExp:()=>Y4v,getTaxesQueryLimitDefault:()=>y4v,getTaxesQueryLimitMax:()=>O4v,getTaxesResponseDataItemOneDestinationVatCountryCodeMax:()=>f4v,getTaxesResponseDataItemOneDestinationVatCountryCodeMin:()=>z4v,getTaxesResponseDataItemOneEntityIdMax:()=>B4v,getTaxesResponseDataItemOneIdMax:()=>v4v,getTaxesResponseDataItemOneNameMax:()=>S4v,getTaxesResponseDataItemOneTaxRatesItemRateMax:()=>b4v,getTaxesResponseDataItemOneTaxRatesItemRateMin:()=>h4v,permanentDeleteTaxPathIdRegExp:()=>oGv,replaceTaxBodyDestinationVatCountryCodeMax:()=>j4v,replaceTaxBodyDestinationVatCountryCodeMin:()=>k4v,replaceTaxBodyNameMax:()=>w4v,replaceTaxBodyPtExemptionReasonMax:()=>H4v,replaceTaxBodyTaxRatesItemRateMax:()=>F4v,replaceTaxBodyTaxRatesItemRateMin:()=>A4v,replaceTaxPathIdRegExp:()=>C4v,replaceTaxResponseOneDestinationVatCountryCodeMax:()=>q4v,replaceTaxResponseOneDestinationVatCountryCodeMin:()=>Z4v,replaceTaxResponseOneEntityIdMax:()=>W4v,replaceTaxResponseOneIdMax:()=>L4v,replaceTaxResponseOneNameMax:()=>G4v,replaceTaxResponseOneTaxRatesItemRateMax:()=>K4v,replaceTaxResponseOneTaxRatesItemRateMin:()=>V4v,restoreTaxPathIdRegExp:()=>$4v,restoreTaxResponseOneDestinationVatCountryCodeMax:()=>nGv,restoreTaxResponseOneDestinationVatCountryCodeMin:()=>tGv,restoreTaxResponseOneEntityIdMax:()=>sGv,restoreTaxResponseOneIdMax:()=>Q4v,restoreTaxResponseOneNameMax:()=>J4v,restoreTaxResponseOneTaxRatesItemRateMax:()=>eGv,restoreTaxResponseOneTaxRatesItemRateMin:()=>X4v,updateTaxBodyTaxRatesItemRateMax:()=>E4v,updateTaxBodyTaxRatesItemRateMin:()=>I4v,updateTaxPathIdRegExp:()=>T4v,updateTaxResponseOneDestinationVatCountryCodeMax:()=>U4v,updateTaxResponseOneDestinationVatCountryCodeMin:()=>M4v,updateTaxResponseOneEntityIdMax:()=>P4v,updateTaxResponseOneIdMax:()=>D4v,updateTaxResponseOneNameMax:()=>R4v,updateTaxResponseOneTaxRatesItemRateMax:()=>N4v,updateTaxResponseOneTaxRatesItemRateMin:()=>_4v});var QbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),u4v=100,c4v=0,p4v=100,m4v=2,x4v=2,g4v=60,JbS=e.object({name:e.string().max(u4v).optional(),tax_rates:e.array(e.object({rate:e.number().min(c4v).max(p4v),valid_from:e.iso.datetime({}).nullish()})).min(1),is_default:e.boolean().optional().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),destination_vat_country_code:e.string().min(m4v).max(x4v).nullish().describe("Optional EU destination country for an OSS-specific saved tax. The issuer must support EU OSS and the destination must differ from the issuer country. Set to null or omit for a local/unclassified tax."),pt_exemption_code:e.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e.string().max(g4v).nullish().describe("Optional Portugal legal wording override, at most 60 characters. Omit for the standard wording of pt_exemption_code. M19 has no default: a specific legal reason must be supplied on this tax or its document line before issuance. Supplied wording is preserved."),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),y4v=10,O4v=100,XbS=e.object({limit:e.number().min(1).max(O4v).default(y4v).describe("Number of results per request."),next_cursor:e.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance."),order_by:e.union([e.enum(["id","name","created_at","updated_at","-id","-name","-created_at","-updated_at"]),e.array(e.enum(["id","name","created_at","updated_at","-id","-name","-created_at","-updated_at"]))]).optional().describe("Sort by one field or provide a repeated array for multi-column ordering. Prefix a field with `-` for descending order. When paginating, reuse cursors only with the same effective ordering."),query:e.string().optional().describe('JSON query object for filtering results. Supports MongoDB-style operators.\n\n**Array columns** (such as an item\'s `categories`) compare as sets: a direct value asks whether the list contains it, `contains` takes an array and requires all of them, `in` matches any of them, and `notIn` matches none. Scalar operators such as `gt` do not apply and are ignored.\n\n**Supported operators:**\n- `equals` or direct value - Exact match (default)\n- `gte` - Greater than or equal\n- `lte` - Less than or equal\n- `gt` - Greater than\n- `lt` - Less than\n- `in` - Value in array\n- `notIn` - Value not in array\n- `contains` - String contains (case-insensitive)\n- `startsWith` - String starts with\n- `endsWith` - String ends with\n- `between` - Value between two numbers/dates [min, max]\n\n**Allowed fields:** id, name, is_default, created_at, updated_at\n\n**Examples:**\n- `{"total": {"gte": 1000}}` - Invoices over 1000\n- `{"customer.name": {"contains": "Acme"}}` - Customer name contains "Acme"\n- `{"date": {"between": ["2025-01-01", "2025-12-31"]}}` - Date range'),search:e.string().optional().describe(`Full-text search query to filter results across multiple fields.
230
+ Searches across all text fields including names, descriptions, addresses, and metadata values.`),deleted:e.boolean().optional().describe("When true, returns only soft-deleted (trashed) items. Default false excludes deleted items.")}),jvS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),n2v=36,s2v=36,o2v=36,i2v=255,a2v=-2147483648,r2v=2147483647,l2v=-2147483648,d2v=2147483647,u2v=-2147483648,c2v=2147483647,p2v=-2147483648,m2v=2147483647,x2v=10,g2v=10,y2v=10,O2v=10,v2v=255,S2v=-2147483648,h2v=2147483647,b2v=-2147483648,z2v=2147483647,f2v=36,B2v=1e3,HvS=e.object({data:e.array(e.object({id:e.string().max(n2v),entity_id:e.string().max(s2v),document_id:e.string().max(o2v),name:e.string().max(i2v),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(a2v).max(r2v),day_of_week:e.number().min(l2v).max(d2v).nullish(),day_of_month:e.number().min(u2v).max(c2v).nullish(),month_of_year:e.number().min(p2v).max(m2v).nullish(),start_date:e.string().max(x2v),end_date:e.string().max(g2v).nullish(),next_run_date:e.string().max(y2v).nullish(),last_run_date:e.string().max(O2v).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(v2v).nullish(),payment_terms_days:e.number().min(S2v).max(h2v).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(b2v).max(z2v),last_generated_invoice_id:e.string().max(f2v).nullish(),last_error:e.string().max(B2v).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule")),pagination:e.object({total:e.number().describe("Total number of items available in the collection"),next_cursor:e.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),T2v=/^[a-z]{3,4}_[0-9a-f]{24}$/,LvS=e.object({id:e.stringFormat("resource-id",T2v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),GvS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),I2v=36,E2v=36,D2v=36,R2v=255,_2v=-2147483648,N2v=2147483647,M2v=-2147483648,U2v=2147483647,P2v=-2147483648,C2v=2147483647,w2v=-2147483648,A2v=2147483647,F2v=10,k2v=10,j2v=10,H2v=10,L2v=255,G2v=-2147483648,V2v=2147483647,K2v=-2147483648,Z2v=2147483647,q2v=36,W2v=1e3,VvS=e.object({id:e.string().max(I2v),entity_id:e.string().max(E2v),document_id:e.string().max(D2v),name:e.string().max(R2v),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(_2v).max(N2v),day_of_week:e.number().min(M2v).max(U2v).nullish(),day_of_month:e.number().min(P2v).max(C2v).nullish(),month_of_year:e.number().min(w2v).max(A2v).nullish(),start_date:e.string().max(F2v),end_date:e.string().max(k2v).nullish(),next_run_date:e.string().max(j2v).nullish(),last_run_date:e.string().max(H2v).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(L2v).nullish(),payment_terms_days:e.number().min(G2v).max(V2v).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(K2v).max(Z2v),last_generated_invoice_id:e.string().max(q2v).nullish(),last_error:e.string().max(W2v).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule"),Y2v=/^[a-z]{3,4}_[0-9a-f]{24}$/,KvS=e.object({id:e.stringFormat("resource-id",Y2v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),ZvS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),$2v=255,Q2v=-2147483648,J2v=2147483647,X2v=-2147483648,eCv=2147483647,tCv=-2147483648,nCv=2147483647,sCv=-2147483648,oCv=2147483647,iCv=/^\d{4}-\d{2}-\d{2}$/,aCv=/^\d{4}-\d{2}-\d{2}$/,rCv=255,lCv=-2147483648,dCv=2147483647,qvS=e.object({name:e.string().max($2v).optional(),frequency:e.enum(["daily","weekly","monthly","yearly"]).optional(),interval:e.number().min(Q2v).max(J2v).optional(),day_of_week:e.number().min(X2v).max(eCv).nullish(),day_of_month:e.number().min(tCv).max(nCv).nullish(),month_of_year:e.number().min(sCv).max(oCv).nullish(),start_date:e.string().regex(iCv).optional(),end_date:e.string().regex(aCv).nullish(),auto_send:e.boolean().optional(),create_as_draft:e.boolean().optional(),send_to:e.string().max(rCv).nullish(),payment_terms_days:e.number().min(lCv).max(dCv).nullish(),notify_owner:e.boolean().optional(),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),uCv=36,cCv=36,pCv=36,mCv=255,xCv=-2147483648,gCv=2147483647,yCv=-2147483648,OCv=2147483647,vCv=-2147483648,SCv=2147483647,hCv=-2147483648,bCv=2147483647,zCv=10,fCv=10,BCv=10,TCv=10,ICv=255,ECv=-2147483648,DCv=2147483647,RCv=-2147483648,_Cv=2147483647,NCv=36,MCv=1e3,WvS=e.object({id:e.string().max(uCv),entity_id:e.string().max(cCv),document_id:e.string().max(pCv),name:e.string().max(mCv),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(xCv).max(gCv),day_of_week:e.number().min(yCv).max(OCv).nullish(),day_of_month:e.number().min(vCv).max(SCv).nullish(),month_of_year:e.number().min(hCv).max(bCv).nullish(),start_date:e.string().max(zCv),end_date:e.string().max(fCv).nullish(),next_run_date:e.string().max(BCv).nullish(),last_run_date:e.string().max(TCv).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(ICv).nullish(),payment_terms_days:e.number().min(ECv).max(DCv).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(RCv).max(_Cv),last_generated_invoice_id:e.string().max(NCv).nullish(),last_error:e.string().max(MCv).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule"),UCv=/^[a-z]{3,4}_[0-9a-f]{24}$/,YvS=e.object({id:e.stringFormat("resource-id",UCv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),$vS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),PCv=/^[a-z]{3,4}_[0-9a-f]{24}$/,QvS=e.object({id:e.stringFormat("resource-id",PCv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),JvS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),CCv=36,wCv=36,ACv=36,FCv=255,kCv=-2147483648,jCv=2147483647,HCv=-2147483648,LCv=2147483647,GCv=-2147483648,VCv=2147483647,KCv=-2147483648,ZCv=2147483647,qCv=10,WCv=10,YCv=10,$Cv=10,QCv=255,JCv=-2147483648,XCv=2147483647,ewv=-2147483648,twv=2147483647,nwv=36,swv=1e3,XvS=e.object({id:e.string().max(CCv),entity_id:e.string().max(wCv),document_id:e.string().max(ACv),name:e.string().max(FCv),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(kCv).max(jCv),day_of_week:e.number().min(HCv).max(LCv).nullish(),day_of_month:e.number().min(GCv).max(VCv).nullish(),month_of_year:e.number().min(KCv).max(ZCv).nullish(),start_date:e.string().max(qCv),end_date:e.string().max(WCv).nullish(),next_run_date:e.string().max(YCv).nullish(),last_run_date:e.string().max($Cv).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(QCv).nullish(),payment_terms_days:e.number().min(JCv).max(XCv).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(ewv).max(twv),last_generated_invoice_id:e.string().max(nwv).nullish(),last_error:e.string().max(swv).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule"),owv=/^[a-z]{3,4}_[0-9a-f]{24}$/,eSS=e.object({id:e.stringFormat("resource-id",owv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),tSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),iwv=/^[a-z]{3,4}_[0-9a-f]{24}$/,nSS=e.object({id:e.stringFormat("resource-id",iwv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),sSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),awv=36,rwv=36,lwv=36,dwv=255,uwv=-2147483648,cwv=2147483647,pwv=-2147483648,mwv=2147483647,xwv=-2147483648,gwv=2147483647,ywv=-2147483648,Owv=2147483647,vwv=10,Swv=10,hwv=10,bwv=10,zwv=255,fwv=-2147483648,Bwv=2147483647,Twv=-2147483648,Iwv=2147483647,Ewv=36,Dwv=1e3,oSS=e.object({id:e.string().max(awv),entity_id:e.string().max(rwv),document_id:e.string().max(lwv),name:e.string().max(dwv),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(uwv).max(cwv),day_of_week:e.number().min(pwv).max(mwv).nullish(),day_of_month:e.number().min(xwv).max(gwv).nullish(),month_of_year:e.number().min(ywv).max(Owv).nullish(),start_date:e.string().max(vwv),end_date:e.string().max(Swv).nullish(),next_run_date:e.string().max(hwv).nullish(),last_run_date:e.string().max(bwv).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(zwv).nullish(),payment_terms_days:e.number().min(fwv).max(Bwv).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(Twv).max(Iwv),last_generated_invoice_id:e.string().max(Ewv).nullish(),last_error:e.string().max(Dwv).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule"),Rwv=/^[a-z]{3,4}_[0-9a-f]{24}$/,iSS=e.object({id:e.stringFormat("resource-id",Rwv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),aSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),_wv=36,Nwv=36,Mwv=36,Uwv=255,Pwv=-2147483648,Cwv=2147483647,wwv=-2147483648,Awv=2147483647,Fwv=-2147483648,kwv=2147483647,jwv=-2147483648,Hwv=2147483647,Lwv=10,Gwv=10,Vwv=10,Kwv=10,Zwv=255,qwv=-2147483648,Wwv=2147483647,Ywv=-2147483648,$wv=2147483647,Qwv=36,Jwv=1e3,rSS=e.object({id:e.string().max(_wv),entity_id:e.string().max(Nwv),document_id:e.string().max(Mwv),name:e.string().max(Uwv),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(Pwv).max(Cwv),day_of_week:e.number().min(wwv).max(Awv).nullish(),day_of_month:e.number().min(Fwv).max(kwv).nullish(),month_of_year:e.number().min(jwv).max(Hwv).nullish(),start_date:e.string().max(Lwv),end_date:e.string().max(Gwv).nullish(),next_run_date:e.string().max(Vwv).nullish(),last_run_date:e.string().max(Kwv).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(Zwv).nullish(),payment_terms_days:e.number().min(qwv).max(Wwv).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(Ywv).max($wv),last_generated_invoice_id:e.string().max(Qwv).nullish(),last_error:e.string().max(Jwv).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule"),Xwv=/^[a-z]{3,4}_[0-9a-f]{24}$/,lSS=e.object({id:e.stringFormat("resource-id",Xwv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),eAv=100,dSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist."),"X-Request-Id":e.string().max(eAv).optional().describe("Stable identifier for retrying the same intentional recurring-invoice trigger without creating another invoice. A concurrent retry while the first trigger is still processing returns `409 conflict`. See the [idempotency guide](https://docs.spaceinvoices.com/guides/idempotency/).")}),tAv=36,nAv=36,sAv=36,oAv=255,iAv=-2147483648,aAv=2147483647,rAv=-2147483648,lAv=2147483647,dAv=-2147483648,uAv=2147483647,cAv=-2147483648,pAv=2147483647,mAv=10,xAv=10,gAv=10,yAv=10,OAv=255,vAv=-2147483648,SAv=2147483647,hAv=-2147483648,bAv=2147483647,zAv=36,fAv=1e3,uSS=e.object({id:e.string().max(tAv),entity_id:e.string().max(nAv),document_id:e.string().max(sAv),name:e.string().max(oAv),frequency:e.enum(["daily","weekly","monthly","yearly"]).describe("Recurrence frequency"),interval:e.number().min(iAv).max(aAv),day_of_week:e.number().min(rAv).max(lAv).nullish(),day_of_month:e.number().min(dAv).max(uAv).nullish(),month_of_year:e.number().min(cAv).max(pAv).nullish(),start_date:e.string().max(mAv),end_date:e.string().max(xAv).nullish(),next_run_date:e.string().max(gAv).nullish(),last_run_date:e.string().max(yAv).nullish(),status:e.enum(["active","paused","completed"]).describe("Recurring invoice schedule status"),auto_send:e.boolean(),create_as_draft:e.boolean(),send_to:e.string().max(OAv).nullish(),payment_terms_days:e.number().min(vAv).max(SAv).nullish(),notify_owner:e.boolean(),invoices_generated:e.number().min(hAv).max(bAv),last_generated_invoice_id:e.string().max(zAv).nullish(),last_error:e.string().max(fAv).nullish(),last_error_at:e.iso.datetime({}).nullish(),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Recurring invoice schedule configuration").and(e.looseObject({})).describe("Recurring invoice schedule");var zt={};W(zt,{BackfillRevenueRecognitionBody:()=>OSS,BackfillRevenueRecognitionHeader:()=>ySS,BackfillRevenueRecognitionResponse:()=>vSS,GetRevenueRecognitionDetailsHeader:()=>fSS,GetRevenueRecognitionDetailsQueryParams:()=>zSS,GetRevenueRecognitionDetailsResponse:()=>BSS,GetRevenueRecognitionDocumentScheduleHeader:()=>RSS,GetRevenueRecognitionDocumentScheduleParams:()=>DSS,GetRevenueRecognitionDocumentScheduleResponse:()=>_SS,GetRevenueRecognitionReportHeader:()=>hSS,GetRevenueRecognitionReportQueryParams:()=>SSS,GetRevenueRecognitionReportResponse:()=>bSS,GetRevenueRecognitionSettingsHeader:()=>cSS,GetRevenueRecognitionSettingsResponse:()=>pSS,ListRevenueRecognitionLinesHeader:()=>ISS,ListRevenueRecognitionLinesQueryParams:()=>TSS,ListRevenueRecognitionLinesResponse:()=>ESS,UpdateRevenueRecognitionSettingsBody:()=>xSS,UpdateRevenueRecognitionSettingsHeader:()=>mSS,UpdateRevenueRecognitionSettingsResponse:()=>gSS,backfillRevenueRecognitionBodyDryRunDefault:()=>EAv,getRevenueRecognitionDetailsQueryBasisDefault:()=>_Av,getRevenueRecognitionDetailsQueryFinancialCategoryKeyMax:()=>MAv,getRevenueRecognitionDetailsQueryGroupByDefault:()=>NAv,getRevenueRecognitionDocumentSchedulePathIdRegExp:()=>AAv,getRevenueRecognitionReportQueryBasisDefault:()=>DAv,getRevenueRecognitionReportQueryGroupByDefault:()=>RAv,getRevenueRecognitionSettingsResponseDefaultMethodDefault:()=>BAv,listRevenueRecognitionLinesQueryBasisDefault:()=>UAv,listRevenueRecognitionLinesQueryFinancialCategoryKeyMax:()=>CAv,listRevenueRecognitionLinesQueryGroupByDefault:()=>PAv,listRevenueRecognitionLinesQueryLimitMax:()=>wAv,updateRevenueRecognitionSettingsBodyDefaultMethodDefault:()=>TAv,updateRevenueRecognitionSettingsResponseDefaultMethodDefault:()=>IAv});var cSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),BAv="off",pSS=e.object({default_method:e.enum(["off","service_period_daily"]).default(BAv).describe("Entity default for generated revenue recognition entries. Individual document lines can opt out with method=immediate.")}),mSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),TAv="off",xSS=e.object({default_method:e.union([e.literal("off"),e.literal("service_period_daily"),e.literal(null)]).nullish().default(TAv).describe("Entity default for generated revenue recognition entries. Send null to clear back to the default off behavior.")}),IAv="off",gSS=e.object({default_method:e.enum(["off","service_period_daily"]).default(IAv).describe("Entity default for generated revenue recognition entries. Individual document lines can opt out with method=immediate.")}),ySS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),EAv=false,OSS=e.object({date_from:e.string().nullish().describe("Optional document issue date lower bound in YYYY-MM-DD format."),date_to:e.string().nullish().describe("Optional document issue date upper bound in YYYY-MM-DD format."),dry_run:e.boolean().default(EAv).describe("When true, counts eligible documents without writing entries.")}),vSS=e.object({processed_documents:e.number(),generated_entries:e.number(),dry_run:e.boolean()}),DAv="recognized",RAv="financial_category",SSS=e.object({date_from:e.string().describe("Report start date in YYYY-MM-DD format."),date_to:e.string().describe("Report end date in YYYY-MM-DD format."),basis:e.enum(["recognized","deferred"]).default(DAv).describe("recognized returns revenue recognized inside each period. deferred returns the remaining future recognition balance at the end of each period."),group_by:e.enum(["financial_category"]).default(RAv).describe("Report grouping dimension.")}),hSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),bSS=e.object({basis:e.enum(["recognized","deferred"]),group_by:e.enum(["financial_category"]),calculation_mode:e.enum(["recognition_entries","document_date_fallback","mixed"]).describe("How report values were calculated. recognition_entries uses generated service-period schedules; document_date_fallback uses finalized document-item totals by issue date while automation is off; mixed combines document-date fallback with explicit line-level recognition entries."),periods:e.array(e.object({period:e.string(),date_from:e.string(),date_to:e.string()})),series:e.array(e.object({key:e.string(),financial_category_id:e.string().nullable(),name:e.string(),color:e.string().nullable(),values:e.array(e.number()),total:e.number()})),totals:e.array(e.number()),total:e.number(),currency_code:e.string(),date_from:e.string(),date_to:e.string()}),_Av="recognized",NAv="financial_category",MAv=200,zSS=e.object({date_from:e.string().describe("Report start date in YYYY-MM-DD format."),date_to:e.string().describe("Report end date in YYYY-MM-DD format."),basis:e.enum(["recognized","deferred"]).default(_Av).describe("recognized returns the entries recognized inside the date range. deferred returns the entries still to be recognized after date_to from documents dated on or before date_to, so the total equals the deferred balance at date_to."),group_by:e.enum(["financial_category"]).default(NAv).describe("Report grouping dimension."),financial_category_id:e.string().nullish().describe("Optional category ID. Use null/omit for all categories."),financial_category_key:e.string().max(MAv).nullish().describe("Optional category key (for example `office-supplies`), as an alternative to financial_category_id. Cannot be combined with financial_category_id. An unknown key selects nothing, like an unknown ID. Use null/omit for all categories.")}),fSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),BSS=e.object({calculation_mode:e.enum(["recognition_entries","document_date_fallback","mixed"]),data:e.array(e.object({id:e.string(),document_id:e.string(),document_type:e.string(),document_number:e.string(),document_date:e.string(),document_item_id:e.string(),document_item_name:e.string().nullish().describe("Name of the document line the entry was generated from."),customer_id:e.string().nullable(),customer_name:e.string().nullable(),financial_category_id:e.string().nullable(),financial_category_name:e.string(),currency_code:e.string(),source_amount:e.number(),recognized_amount:e.number(),period_start:e.string(),period_end:e.string(),service_period_start:e.string(),service_period_end:e.string(),method:e.string()})),total:e.number(),currency_code:e.string()}),UAv="recognized",PAv="financial_category",CAv=200,wAv=100,TSS=e.object({date_from:e.string().describe("Report start date in YYYY-MM-DD format."),date_to:e.string().describe("Report end date in YYYY-MM-DD format."),basis:e.enum(["recognized","deferred"]).default(UAv).describe("recognized returns the entries recognized inside the date range. deferred returns the entries still to be recognized after date_to from documents dated on or before date_to, so the total equals the deferred balance at date_to."),group_by:e.enum(["financial_category"]).default(PAv).describe("Report grouping dimension."),financial_category_id:e.string().nullish().describe("Optional category ID. Use null/omit for all categories."),financial_category_key:e.string().max(CAv).nullish().describe("Optional category key (for example `office-supplies`), as an alternative to financial_category_id. Cannot be combined with financial_category_id. An unknown key selects nothing, like an unknown ID. Use null/omit for all categories."),uncategorized:e.boolean().nullish().describe("When true, only lines without a financial category. Cannot be combined with financial_category_id or financial_category_key."),limit:e.number().min(1).max(wAv).nullish().describe("Number of lines per page (1-100). Defaults to 20; null or omitted uses the default."),next_cursor:e.string().nullish().describe("Opaque cursor from pagination.next_cursor of the previous response. Null or omitted starts at the first page."),prev_cursor:e.string().nullish().describe("Opaque cursor from pagination.prev_cursor of the previous response. Null or omitted starts at the first page.")}),ISS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),ESS=e.object({calculation_mode:e.enum(["recognition_entries","document_date_fallback","mixed"]),data:e.array(e.object({document_item_id:e.string(),document_item_name:e.string().nullable(),document_id:e.string(),document_type:e.string(),document_number:e.string(),document_date:e.string(),customer_id:e.string().nullable(),customer_name:e.string().nullable(),financial_category_id:e.string().nullable(),financial_category_name:e.string(),currency_code:e.string(),source_amount:e.number().describe("Net amount of the whole document line."),amount:e.number().describe("Sum of the line's entries in the selection: recognized inside the range, or still deferred after date_to."),entry_count:e.number(),first_period_start:e.string(),last_period_start:e.string(),service_period_start:e.string(),service_period_end:e.string()})),total:e.number().describe("Sum of amount across every line in the selection, not only this page."),currency_code:e.string(),pagination:e.object({total:e.number().describe("Total number of items available in the collection"),next_cursor:e.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),AAv=/^[a-z]{3,4}_[0-9a-f]{24}$/,DSS=e.object({id:e.stringFormat("resource-id",AAv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),RSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),_SS=e.object({calculation_mode:e.enum(["recognition_entries","document_date_fallback","mixed"]),data:e.array(e.object({id:e.string(),document_id:e.string(),document_type:e.string(),document_number:e.string(),document_date:e.string(),document_item_id:e.string(),document_item_name:e.string().nullish().describe("Name of the document line the entry was generated from."),customer_id:e.string().nullable(),customer_name:e.string().nullable(),financial_category_id:e.string().nullable(),financial_category_name:e.string(),currency_code:e.string(),source_amount:e.number(),recognized_amount:e.number(),period_start:e.string(),period_end:e.string(),service_period_start:e.string(),service_period_end:e.string(),method:e.string()})),total:e.number(),currency_code:e.string()}).and(e.object({document_id:e.string()}));var ft={};W(ft,{StripeAppConnectBody:()=>USS,StripeAppEntityDisconnectResponse:()=>CSS,StripeAppEntityGetConnectionResponse:()=>PSS,StripeAppEntityGetSettingsResponse:()=>wSS,StripeAppEntityUpdateSettingsBody:()=>ASS,StripeAppEntityUpdateSettingsResponse:()=>FSS,StripeAppMarketplaceAuthorizeBody:()=>NSS,StripeAppMarketplaceAuthorizeResponse:()=>MSS,stripeAppEntityUpdateSettingsBodyDefaultNoteMax:()=>FAv,stripeAppEntityUpdateSettingsBodyDefaultTaxRateMax:()=>jAv,stripeAppEntityUpdateSettingsBodyDefaultTaxRateMin:()=>kAv});var NSS=e.object({entity_id:e.string().min(1).describe("Entity ID to connect to the Stripe account")}),MSS=e.object({redirect_url:e.url().describe("URL to redirect the user to for authentication")}),USS=e.object({state:e.string().min(1).describe("State token from the authorize step"),entity_id:e.string().min(1).describe("Entity ID to connect to the Stripe account"),force:e.boolean().nullish().describe("If true, disconnects any existing connection for this Stripe account before connecting. Null is treated as false.")}),PSS=e.object({id:e.string().describe("Connection ID"),stripe_account_id:e.string().describe("Connected Stripe account ID"),entity_id:e.string().describe("Connected Space Invoices entity ID"),entity_name:e.string().optional().describe("Connected Space Invoices entity name"),entity_environment:e.enum(["live","sandbox"]).optional().describe("Connected Space Invoices entity environment"),entity_is_tax_subject:e.boolean().optional().describe("Whether the connected entity is configured to charge tax"),white_label_id:e.string().describe("White-label context for this connection"),auto_invoice_config:e.object({enabled:e.boolean(),events:e.array(e.string()),default_note:e.string().optional()}).describe("Auto-invoice configuration"),created_at:e.iso.datetime({}).describe("When the connection was created")}),CSS=e.object({message:e.string()}),wSS=e.object({auto_invoice_enabled:e.boolean().describe("Whether auto-invoicing is enabled"),auto_invoice_events:e.array(e.string()).describe("Stripe event types that trigger auto-invoice creation"),default_note:e.string().nullable().describe("Default note for auto-created invoices"),default_tax_rate:e.number().nullable().describe("Default tax rate applied when Stripe data has no tax info")}),FAv=500,kAv=0,jAv=100,ASS=e.object({auto_invoice_enabled:e.boolean().optional().describe("Enable or disable auto-invoicing"),auto_invoice_events:e.array(e.enum(["payment_intent.succeeded","invoice.paid"])).optional().describe("Stripe event types that trigger auto-invoice creation"),default_note:e.string().max(FAv).nullish().describe("Default note to include on auto-created invoices. Set to null to clear the note."),default_tax_rate:e.number().min(kAv).max(jAv).nullish().describe("Default tax rate (%) to apply to auto-created invoices when Stripe data has no tax info. Set to null to disable.")}),FSS=e.object({auto_invoice_enabled:e.boolean().describe("Whether auto-invoicing is enabled"),auto_invoice_events:e.array(e.string()).describe("Stripe event types that trigger auto-invoice creation"),default_note:e.string().nullable().describe("Default note for auto-created invoices"),default_tax_rate:e.number().nullable().describe("Default tax rate applied when Stripe data has no tax info")});var Bt={};W(Bt,{CheckEntityLimitResponse:()=>LSS,GetCurrentSubscriptionResponse:()=>kSS,UpdateSpendingLimitBody:()=>jSS,UpdateSpendingLimitResponse:()=>HSS,getCurrentSubscriptionResponseUsageEInvoicingSendCountDefault:()=>HAv,updateSpendingLimitBodySpendingLimitCentsMin:()=>LAv});var HAv=0,kSS=e.object({subscription:e.object({id:e.string(),account_id:e.string(),tier:e.enum(["free","metered"]),spending_limit_cents:e.number().nullable(),is_internal:e.boolean(),created_at:e.string(),updated_at:e.string()}),usage:e.object({documents_count:e.number(),e_invoicing_send_count:e.number().default(HAv),entities_active:e.number(),period_start:e.string(),period_end:e.string()}),limits:e.object({entities:e.number().nullable().describe("Max entities for free tier (null for metered)"),documents_per_month:e.number().nullable().describe("Max docs per month for free tier (null for metered)")}),is_over_limit:e.boolean()}).describe("Current subscription and usage for Space Invoices account"),LAv=0,jSS=e.object({spending_limit_cents:e.number().min(LAv).nullable()}).describe("Request to update spending limit for metered tier"),HSS=e.object({spending_limit_cents:e.number().nullable()}).describe("Updated spending limit"),LSS=e.object({can_create:e.boolean(),current_count:e.number(),limit:e.number().nullable()});var Tt={};W(Tt,{ListUsTaxRateEstimatesHeader:()=>VSS,ListUsTaxRateEstimatesQueryParams:()=>GSS,ListUsTaxRateEstimatesResponse:()=>KSS,listUsTaxRateEstimatesQueryStateMax:()=>KAv,listUsTaxRateEstimatesQueryStateMin:()=>VAv,listUsTaxRateEstimatesQueryZipCodeRegExp:()=>GAv,listUsTaxRateEstimatesResponseDataItemCityRateMax:()=>oFv,listUsTaxRateEstimatesResponseDataItemCityRateMin:()=>sFv,listUsTaxRateEstimatesResponseDataItemCountryCodeMax:()=>qAv,listUsTaxRateEstimatesResponseDataItemCountyRateMax:()=>nFv,listUsTaxRateEstimatesResponseDataItemCountyRateMin:()=>tFv,listUsTaxRateEstimatesResponseDataItemEstimatedCombinedRateMax:()=>JAv,listUsTaxRateEstimatesResponseDataItemEstimatedCombinedRateMin:()=>QAv,listUsTaxRateEstimatesResponseDataItemIdMax:()=>ZAv,listUsTaxRateEstimatesResponseDataItemRiskLevelMax:()=>lFv,listUsTaxRateEstimatesResponseDataItemRiskLevelMin:()=>rFv,listUsTaxRateEstimatesResponseDataItemSourceMax:()=>dFv,listUsTaxRateEstimatesResponseDataItemSourceMonthMax:()=>uFv,listUsTaxRateEstimatesResponseDataItemSpecialRateMax:()=>aFv,listUsTaxRateEstimatesResponseDataItemSpecialRateMin:()=>iFv,listUsTaxRateEstimatesResponseDataItemStateMax:()=>WAv,listUsTaxRateEstimatesResponseDataItemStateRateMax:()=>eFv,listUsTaxRateEstimatesResponseDataItemStateRateMin:()=>XAv,listUsTaxRateEstimatesResponseDataItemTaxRegionNameMax:()=>$Av,listUsTaxRateEstimatesResponseDataItemZipCodeMax:()=>YAv});var GAv=/^\d{5}$/,VAv=2,KAv=2,GSS=e.object({zip_code:e.string().regex(GAv).describe("US ZIP code to look up."),state:e.string().min(VAv).max(KAv).optional().describe("Optional two-letter US state filter.")}),VSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),ZAv=36,qAv=2,WAv=2,YAv=10,$Av=255,QAv=-140737488355328,JAv=0x7fffffffffff,XAv=-140737488355328,eFv=0x7fffffffffff,tFv=-140737488355328,nFv=0x7fffffffffff,sFv=-140737488355328,oFv=0x7fffffffffff,iFv=-140737488355328,aFv=0x7fffffffffff,rFv=-2147483648,lFv=2147483647,dFv=50,uFv=7,KSS=e.object({data:e.array(e.object({id:e.string().max(ZAv),country_code:e.string().max(qAv),state:e.string().max(WAv),zip_code:e.string().max(YAv),tax_region_name:e.string().max($Av),estimated_combined_rate:e.number().min(QAv).max(JAv),state_rate:e.number().min(XAv).max(eFv),county_rate:e.number().min(tFv).max(nFv),city_rate:e.number().min(sFv).max(oFv),special_rate:e.number().min(iFv).max(aFv),risk_level:e.number().min(rFv).max(lFv),source:e.string().max(dFv),source_month:e.string().max(uFv),imported_at:e.iso.datetime({})}).describe("Imported ZIP-level tax-rate estimate. This is informational and must be verified before use."))});var It={};W(It,{ApproveVatReturnHeader:()=>zbS,ApproveVatReturnParams:()=>bbS,ApproveVatReturnResponse:()=>fbS,ArchiveEmployeeHeader:()=>ihS,ArchiveEmployeeParams:()=>ohS,CompleteFilingBody:()=>kbS,CompleteFilingHeader:()=>FbS,CompleteFilingParams:()=>AbS,CompleteFilingResponse:()=>jbS,CreateTaxPaymentBody:()=>UhS,CreateTaxPaymentHeader:()=>MhS,DeleteTaxPaymentHeader:()=>khS,DeleteTaxPaymentParams:()=>FhS,DismissFilingBody:()=>ZbS,DismissFilingHeader:()=>KbS,DismissFilingParams:()=>VbS,DismissFilingResponse:()=>qbS,DraftVatReturnBody:()=>cbS,DraftVatReturnHeader:()=>ubS,ExportQuickbooksCsvHeader:()=>abS,ExportQuickbooksCsvQueryParams:()=>ibS,ExportSloveniaMinimaxXmlBody:()=>obS,ExportSloveniaMinimaxXmlHeader:()=>sbS,ExportSloveniaVodXmlBody:()=>nbS,ExportSloveniaVodXmlHeader:()=>tbS,ExportSloveniaYearlyNormiraniReportBody:()=>ebS,ExportSloveniaYearlyNormiraniReportHeader:()=>XhS,ExportVatReturnHeader:()=>UbS,ExportVatReturnParams:()=>NbS,ExportVatReturnQueryParams:()=>MbS,GenerateKirExportHeader:()=>VhS,GenerateKirExportQueryParams:()=>GhS,GetEmployeeAttendanceHeader:()=>lhS,GetEmployeeAttendanceParams:()=>ahS,GetEmployeeAttendanceQueryParams:()=>rhS,GetEmployeeAttendanceResponse:()=>dhS,GetEmployeeHeader:()=>JSS,GetEmployeeParams:()=>QSS,GetEmployeeResponse:()=>XSS,GetEuOssReportHeader:()=>HhS,GetEuOssReportQueryParams:()=>jhS,GetEuOssReportResponse:()=>LhS,GetPayrollParameterHistoryHeader:()=>ShS,GetPayrollParameterHistoryQueryParams:()=>vhS,GetPayrollParameterHistoryResponse:()=>hhS,GetSloveniaTaxProfileHeader:()=>KhS,GetSloveniaTaxProfileResponse:()=>ZhS,GetTaxLiabilityReportHeader:()=>EhS,GetTaxLiabilityReportQueryParams:()=>IhS,GetTaxLiabilityReportResponse:()=>DhS,GetTaxPaymentsHeader:()=>_hS,GetTaxPaymentsQueryParams:()=>RhS,GetTaxPaymentsResponse:()=>NhS,GetVatReturnHeader:()=>ybS,GetVatReturnParams:()=>gbS,GetVatReturnResponse:()=>ObS,ListAccountFilingsCalendarHeader:()=>YbS,ListAccountFilingsCalendarQueryParams:()=>WbS,ListAccountFilingsCalendarResponse:()=>$bS,ListEmployeesHeader:()=>qSS,ListEmployeesQueryParams:()=>ZSS,ListEmployeesResponse:()=>WSS,ListFilingsHeader:()=>CbS,ListFilingsQueryParams:()=>PbS,ListFilingsResponse:()=>wbS,ListVatReturnsHeader:()=>mbS,ListVatReturnsQueryParams:()=>pbS,ListVatReturnsResponse:()=>xbS,ModifyEmployeeBody:()=>nhS,ModifyEmployeeHeader:()=>thS,ModifyEmployeeParams:()=>ehS,ModifyEmployeeResponse:()=>shS,PreviewVatReturnHeader:()=>lbS,PreviewVatReturnQueryParams:()=>rbS,PreviewVatReturnResponse:()=>dbS,RecomputeVatReturnHeader:()=>SbS,RecomputeVatReturnParams:()=>vbS,RecomputeVatReturnResponse:()=>hbS,RegisterEmployeeBody:()=>$SS,RegisterEmployeeHeader:()=>YSS,ReopenFilingHeader:()=>LbS,ReopenFilingParams:()=>HbS,ReopenFilingResponse:()=>GbS,ReopenVatReturnHeader:()=>RbS,ReopenVatReturnParams:()=>DbS,ReopenVatReturnResponse:()=>_bS,ReplaceEmployeeAttendanceBody:()=>mhS,ReplaceEmployeeAttendanceHeader:()=>phS,ReplaceEmployeeAttendanceParams:()=>uhS,ReplaceEmployeeAttendanceQueryParams:()=>chS,ReplaceEmployeeAttendanceResponse:()=>xhS,ResolvePayrollParametersHeader:()=>yhS,ResolvePayrollParametersQueryParams:()=>ghS,ResolvePayrollParametersResponse:()=>OhS,ReviewSloveniaYearlyNormiraniReportBody:()=>QhS,ReviewSloveniaYearlyNormiraniReportHeader:()=>$hS,ReviewSloveniaYearlyNormiraniReportResponse:()=>JhS,SetPayrollParameterOverrideBody:()=>BhS,SetPayrollParameterOverrideHeader:()=>fhS,SetPayrollParameterOverrideParams:()=>bhS,SetPayrollParameterOverrideQueryParams:()=>zhS,SetPayrollParameterOverrideResponse:()=>ThS,SubmitVatReturnBody:()=>IbS,SubmitVatReturnHeader:()=>TbS,SubmitVatReturnParams:()=>BbS,SubmitVatReturnResponse:()=>EbS,UpdateSloveniaTaxProfileBody:()=>WhS,UpdateSloveniaTaxProfileHeader:()=>qhS,UpdateSloveniaTaxProfileResponse:()=>YhS,UpdateTaxPaymentBody:()=>whS,UpdateTaxPaymentHeader:()=>ChS,UpdateTaxPaymentParams:()=>PhS,UpdateTaxPaymentResponse:()=>AhS,approveVatReturnPathIdRegExp:()=>W1v,archiveEmployeePathIdRegExp:()=>Fkv,completeFilingBodyNoteMax:()=>n4v,completeFilingPathIdRegExp:()=>t4v,createTaxPaymentBodyAmountExclusiveMin:()=>Pjv,createTaxPaymentBodyCurrencyCodeMax:()=>wjv,createTaxPaymentBodyCurrencyCodeMin:()=>Cjv,createTaxPaymentBodyNoteMax:()=>Fjv,createTaxPaymentBodyReferenceMax:()=>Ajv,deleteTaxPaymentPathIdRegExp:()=>Gjv,dismissFilingBodyReasonMax:()=>i4v,dismissFilingPathIdRegExp:()=>o4v,draftVatReturnBodyMonthMax:()=>L1v,draftVatReturnBodyQuarterMax:()=>G1v,draftVatReturnBodyYearMax:()=>H1v,draftVatReturnBodyYearMin:()=>j1v,exportSloveniaYearlyNormiraniReportBodyManualValuesForeignTaxCreditAmountMin:()=>U1v,exportSloveniaYearlyNormiraniReportBodyManualValuesPriorAdvanceIncomeTaxAmountMin:()=>P1v,exportSloveniaYearlyNormiraniReportBodyManualValuesRevenueAdjustmentDecreaseMin:()=>C1v,exportSloveniaYearlyNormiraniReportBodyManualValuesRevenueAdjustmentIncreaseMin:()=>w1v,exportSloveniaYearlyNormiraniReportBodyManualValuesWithholdingTaxAmountMin:()=>M1v,exportSloveniaYearlyNormiraniReportBodyYearMax:()=>N1v,exportSloveniaYearlyNormiraniReportBodyYearMin:()=>_1v,exportVatReturnPathIdRegExp:()=>J1v,generateKirExportQueryMonthRegExp:()=>sHv,generateKirExportQueryQuarterRegExp:()=>oHv,generateKirExportQueryYearRegExp:()=>nHv,getEmployeeAttendancePathIdRegExp:()=>kkv,getEmployeeAttendanceQueryMonthMax:()=>Lkv,getEmployeeAttendanceQueryYearMax:()=>Hkv,getEmployeeAttendanceQueryYearMin:()=>jkv,getEmployeePathIdRegExp:()=>d5v,getEmployeeResponseAddressMax:()=>v5v,getEmployeeResponseCityMax:()=>h5v,getEmployeeResponseCommuteAmountMonthlyMax:()=>F5v,getEmployeeResponseCommuteAmountMonthlyMin:()=>A5v,getEmployeeResponseCommuteKmOneWayMax:()=>w5v,getEmployeeResponseCommuteKmOneWayMin:()=>C5v,getEmployeeResponseCommuteModeMax:()=>P5v,getEmployeeResponseCountryCodeMax:()=>b5v,getEmployeeResponseEmailMax:()=>g5v,getEmployeeResponseEmploymentEndRegExp:()=>B5v,getEmployeeResponseEmploymentStartRegExp:()=>f5v,getEmployeeResponseEmploymentTypeMax:()=>T5v,getEmployeeResponseEntityIdMax:()=>c5v,getEmployeeResponseFirstNameMax:()=>m5v,getEmployeeResponseGeneralAllowanceModeMax:()=>j5v,getEmployeeResponseGrossSalaryMonthlyMax:()=>R5v,getEmployeeResponseGrossSalaryMonthlyMin:()=>D5v,getEmployeeResponseIbanMax:()=>z5v,getEmployeeResponseIdMax:()=>u5v,getEmployeeResponseLastNameMax:()=>x5v,getEmployeeResponseMealAllowancePerDayMax:()=>U5v,getEmployeeResponseMealAllowancePerDayMin:()=>M5v,getEmployeeResponsePersonalIdMax:()=>O5v,getEmployeeResponsePostCodeMax:()=>S5v,getEmployeeResponseSeniorityBonusPercentMax:()=>N5v,getEmployeeResponseSeniorityBonusPercentMin:()=>_5v,getEmployeeResponseStatusMax:()=>p5v,getEmployeeResponseTaxNumberMax:()=>y5v,getEmployeeResponseTaxResidencyMax:()=>k5v,getEmployeeResponseWeeklyHoursMax:()=>E5v,getEmployeeResponseWeeklyHoursMin:()=>I5v,getEuOssReportQueryYearMax:()=>Kjv,getEuOssReportQueryYearMin:()=>Vjv,getEuOssReportResponseIssuerCountryCodeMax:()=>qjv,getEuOssReportResponseIssuerCountryCodeMin:()=>Zjv,getEuOssReportResponsePeriodsItemCountriesItemCountryCodeMax:()=>Xjv,getEuOssReportResponsePeriodsItemCountriesItemCountryCodeMin:()=>Jjv,getEuOssReportResponsePeriodsItemCountriesItemCreditNoteCountMin:()=>tHv,getEuOssReportResponsePeriodsItemCountriesItemInvoiceCountMin:()=>eHv,getEuOssReportResponsePeriodsItemCreditNoteCountMin:()=>Qjv,getEuOssReportResponsePeriodsItemInvoiceCountMin:()=>$jv,getEuOssReportResponseReportingCurrencyCodeMax:()=>Yjv,getEuOssReportResponseReportingCurrencyCodeMin:()=>Wjv,getPayrollParameterHistoryQueryCountryCodeDefault:()=>ojv,getPayrollParameterHistoryQueryCountryCodeMax:()=>ajv,getPayrollParameterHistoryQueryCountryCodeMin:()=>ijv,getPayrollParameterHistoryResponseDataItemCountryCodeMax:()=>ljv,getPayrollParameterHistoryResponseDataItemEffectiveFromRegExp:()=>mjv,getPayrollParameterHistoryResponseDataItemEffectiveToRegExp:()=>xjv,getPayrollParameterHistoryResponseDataItemEntityIdMax:()=>gjv,getPayrollParameterHistoryResponseDataItemIdMax:()=>rjv,getPayrollParameterHistoryResponseDataItemKeyMax:()=>djv,getPayrollParameterHistoryResponseDataItemUnitMax:()=>pjv,getPayrollParameterHistoryResponseDataItemValueNumericMax:()=>cjv,getPayrollParameterHistoryResponseDataItemValueNumericMin:()=>ujv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneAdvancesPaidMax:()=>cHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneAdvancesReceivedMax:()=>uHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePayablesMax:()=>dHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense22Max:()=>EHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense5Max:()=>RHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense95Max:()=>DHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuGoodsMax:()=>NHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuServicesMax:()=>MHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseExemptMax:()=>_Hv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseReverseChargeMax:()=>UHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryGoodsMax:()=>PHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryServicesMax:()=>CHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable22Max:()=>gHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable5Max:()=>OHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable95Max:()=>yHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneReceivablesMax:()=>lHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue22Max:()=>vHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue5Max:()=>hHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue95Max:()=>SHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuGoodsMax:()=>zHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuServicesMax:()=>fHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueExemptMax:()=>bHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueReverseChargeMax:()=>BHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryGoodsMax:()=>THv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryServicesMax:()=>IHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat22Max:()=>pHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat5Max:()=>xHv,getSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat95Max:()=>mHv,getSloveniaTaxProfileResponseYearlyReportingActivityCodesItemRegExp:()=>iHv,getSloveniaTaxProfileResponseYearlyReportingDefaultForeignTaxCreditAmountMin:()=>rHv,getSloveniaTaxProfileResponseYearlyReportingDefaultWithholdingTaxAmountMin:()=>aHv,getVatReturnPathIdRegExp:()=>Z1v,listAccountFilingsCalendarHeaderXAccountIdRegExp:()=>d4v,listAccountFilingsCalendarQueryEnvironmentDefault:()=>l4v,listAccountFilingsCalendarQueryFromRegExp:()=>a4v,listAccountFilingsCalendarQueryToRegExp:()=>r4v,listEmployeesQueryLimitDefault:()=>cFv,listEmployeesQueryLimitMax:()=>pFv,listEmployeesResponseDataItemAddressMax:()=>bFv,listEmployeesResponseDataItemCityMax:()=>fFv,listEmployeesResponseDataItemCommuteAmountMonthlyMax:()=>HFv,listEmployeesResponseDataItemCommuteAmountMonthlyMin:()=>jFv,listEmployeesResponseDataItemCommuteKmOneWayMax:()=>kFv,listEmployeesResponseDataItemCommuteKmOneWayMin:()=>FFv,listEmployeesResponseDataItemCommuteModeMax:()=>AFv,listEmployeesResponseDataItemCountryCodeMax:()=>BFv,listEmployeesResponseDataItemEmailMax:()=>vFv,listEmployeesResponseDataItemEmploymentEndRegExp:()=>EFv,listEmployeesResponseDataItemEmploymentStartRegExp:()=>IFv,listEmployeesResponseDataItemEmploymentTypeMax:()=>DFv,listEmployeesResponseDataItemEntityIdMax:()=>xFv,listEmployeesResponseDataItemFirstNameMax:()=>yFv,listEmployeesResponseDataItemGeneralAllowanceModeMax:()=>GFv,listEmployeesResponseDataItemGrossSalaryMonthlyMax:()=>MFv,listEmployeesResponseDataItemGrossSalaryMonthlyMin:()=>NFv,listEmployeesResponseDataItemIbanMax:()=>TFv,listEmployeesResponseDataItemIdMax:()=>mFv,listEmployeesResponseDataItemLastNameMax:()=>OFv,listEmployeesResponseDataItemMealAllowancePerDayMax:()=>wFv,listEmployeesResponseDataItemMealAllowancePerDayMin:()=>CFv,listEmployeesResponseDataItemPersonalIdMax:()=>hFv,listEmployeesResponseDataItemPostCodeMax:()=>zFv,listEmployeesResponseDataItemSeniorityBonusPercentMax:()=>PFv,listEmployeesResponseDataItemSeniorityBonusPercentMin:()=>UFv,listEmployeesResponseDataItemStatusMax:()=>gFv,listEmployeesResponseDataItemTaxNumberMax:()=>SFv,listEmployeesResponseDataItemTaxResidencyMax:()=>LFv,listEmployeesResponseDataItemWeeklyHoursMax:()=>_Fv,listEmployeesResponseDataItemWeeklyHoursMin:()=>RFv,listFilingsQueryFromRegExp:()=>X1v,listFilingsQueryToRegExp:()=>e4v,listVatReturnsQueryLimitDefault:()=>V1v,listVatReturnsQueryLimitMax:()=>K1v,modifyEmployeeBodyAddressMax:()=>K5v,modifyEmployeeBodyCityMax:()=>q5v,modifyEmployeeBodyCommuteAmountMonthlyMin:()=>akv,modifyEmployeeBodyCommuteKmOneWayMin:()=>ikv,modifyEmployeeBodyCountryCodeMax:()=>Y5v,modifyEmployeeBodyCountryCodeMin:()=>W5v,modifyEmployeeBodyEmailMax:()=>V5v,modifyEmployeeBodyEmploymentEndRegExp:()=>J5v,modifyEmployeeBodyEmploymentStartRegExp:()=>Q5v,modifyEmployeeBodyFirstNameMax:()=>L5v,modifyEmployeeBodyGrossSalaryMonthlyMin:()=>tkv,modifyEmployeeBodyIbanMax:()=>$5v,modifyEmployeeBodyLastNameMax:()=>G5v,modifyEmployeeBodyMealAllowancePerDayMin:()=>okv,modifyEmployeeBodyPostCodeMax:()=>Z5v,modifyEmployeeBodySeniorityBonusPercentMax:()=>skv,modifyEmployeeBodySeniorityBonusPercentMin:()=>nkv,modifyEmployeeBodyWeeklyHoursExclusiveMin:()=>X5v,modifyEmployeeBodyWeeklyHoursMax:()=>ekv,modifyEmployeePathIdRegExp:()=>H5v,modifyEmployeeResponseAddressMax:()=>gkv,modifyEmployeeResponseCityMax:()=>Okv,modifyEmployeeResponseCommuteAmountMonthlyMax:()=>Ckv,modifyEmployeeResponseCommuteAmountMonthlyMin:()=>Pkv,modifyEmployeeResponseCommuteKmOneWayMax:()=>Ukv,modifyEmployeeResponseCommuteKmOneWayMin:()=>Mkv,modifyEmployeeResponseCommuteModeMax:()=>Nkv,modifyEmployeeResponseCountryCodeMax:()=>vkv,modifyEmployeeResponseEmailMax:()=>pkv,modifyEmployeeResponseEmploymentEndRegExp:()=>bkv,modifyEmployeeResponseEmploymentStartRegExp:()=>hkv,modifyEmployeeResponseEmploymentTypeMax:()=>zkv,modifyEmployeeResponseEntityIdMax:()=>lkv,modifyEmployeeResponseFirstNameMax:()=>ukv,modifyEmployeeResponseGeneralAllowanceModeMax:()=>Akv,modifyEmployeeResponseGrossSalaryMonthlyMax:()=>Ikv,modifyEmployeeResponseGrossSalaryMonthlyMin:()=>Tkv,modifyEmployeeResponseIbanMax:()=>Skv,modifyEmployeeResponseIdMax:()=>rkv,modifyEmployeeResponseLastNameMax:()=>ckv,modifyEmployeeResponseMealAllowancePerDayMax:()=>_kv,modifyEmployeeResponseMealAllowancePerDayMin:()=>Rkv,modifyEmployeeResponsePersonalIdMax:()=>xkv,modifyEmployeeResponsePostCodeMax:()=>ykv,modifyEmployeeResponseSeniorityBonusPercentMax:()=>Dkv,modifyEmployeeResponseSeniorityBonusPercentMin:()=>Ekv,modifyEmployeeResponseStatusMax:()=>dkv,modifyEmployeeResponseTaxNumberMax:()=>mkv,modifyEmployeeResponseTaxResidencyMax:()=>wkv,modifyEmployeeResponseWeeklyHoursMax:()=>Bkv,modifyEmployeeResponseWeeklyHoursMin:()=>fkv,previewVatReturnQueryMonthRegExp:()=>F1v,previewVatReturnQueryQuarterRegExp:()=>k1v,previewVatReturnQueryYearRegExp:()=>A1v,recomputeVatReturnPathIdRegExp:()=>q1v,registerEmployeeBodyAddressMax:()=>qFv,registerEmployeeBodyCityMax:()=>YFv,registerEmployeeBodyCommuteAmountMonthlyMin:()=>l5v,registerEmployeeBodyCommuteKmOneWayMin:()=>r5v,registerEmployeeBodyCountryCodeMax:()=>QFv,registerEmployeeBodyCountryCodeMin:()=>$Fv,registerEmployeeBodyEmailMax:()=>ZFv,registerEmployeeBodyEmploymentEndRegExp:()=>e5v,registerEmployeeBodyEmploymentStartRegExp:()=>XFv,registerEmployeeBodyFirstNameMax:()=>VFv,registerEmployeeBodyGrossSalaryMonthlyMin:()=>s5v,registerEmployeeBodyIbanMax:()=>JFv,registerEmployeeBodyLastNameMax:()=>KFv,registerEmployeeBodyMealAllowancePerDayMin:()=>a5v,registerEmployeeBodyPostCodeMax:()=>WFv,registerEmployeeBodySeniorityBonusPercentMax:()=>i5v,registerEmployeeBodySeniorityBonusPercentMin:()=>o5v,registerEmployeeBodyWeeklyHoursExclusiveMin:()=>t5v,registerEmployeeBodyWeeklyHoursMax:()=>n5v,reopenFilingPathIdRegExp:()=>s4v,reopenVatReturnPathIdRegExp:()=>Q1v,replaceEmployeeAttendanceBodyDaysItemDateRegExp:()=>qkv,replaceEmployeeAttendanceBodyDaysItemHoursMax:()=>Ykv,replaceEmployeeAttendanceBodyDaysItemHoursMin:()=>Wkv,replaceEmployeeAttendanceBodyDaysItemNoteMax:()=>$kv,replaceEmployeeAttendancePathIdRegExp:()=>Gkv,replaceEmployeeAttendanceQueryMonthMax:()=>Zkv,replaceEmployeeAttendanceQueryYearMax:()=>Kkv,replaceEmployeeAttendanceQueryYearMin:()=>Vkv,resolvePayrollParametersQueryAsOfRegExp:()=>ejv,resolvePayrollParametersQueryCountryCodeDefault:()=>Qkv,resolvePayrollParametersQueryCountryCodeMax:()=>Xkv,resolvePayrollParametersQueryCountryCodeMin:()=>Jkv,resolvePayrollParametersResponseAsOfRegExp:()=>tjv,resolvePayrollParametersResponseParametersEffectiveFromRegExp:()=>njv,resolvePayrollParametersResponseParametersEffectiveToRegExp:()=>sjv,reviewSloveniaYearlyNormiraniReportBodyYearMax:()=>KLv,reviewSloveniaYearlyNormiraniReportBodyYearMin:()=>VLv,reviewSloveniaYearlyNormiraniReportResponseManualValuesForeignTaxCreditAmountMin:()=>I1v,reviewSloveniaYearlyNormiraniReportResponseManualValuesPriorAdvanceIncomeTaxAmountMin:()=>E1v,reviewSloveniaYearlyNormiraniReportResponseManualValuesRevenueAdjustmentDecreaseMin:()=>D1v,reviewSloveniaYearlyNormiraniReportResponseManualValuesRevenueAdjustmentIncreaseMin:()=>R1v,reviewSloveniaYearlyNormiraniReportResponseManualValuesWithholdingTaxAmountMin:()=>T1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneAdvancesPaidMax:()=>e1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneAdvancesReceivedMax:()=>XLv,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePayablesMax:()=>JLv,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpense22Max:()=>y1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpense5Max:()=>v1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpense95Max:()=>O1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseEuGoodsMax:()=>h1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseEuServicesMax:()=>b1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseExemptMax:()=>S1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseReverseChargeMax:()=>z1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryGoodsMax:()=>f1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryServicesMax:()=>B1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseVatRecoverable22Max:()=>o1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseVatRecoverable5Max:()=>a1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOnePurchaseVatRecoverable95Max:()=>i1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneReceivablesMax:()=>QLv,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenue22Max:()=>r1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenue5Max:()=>d1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenue95Max:()=>l1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueEuGoodsMax:()=>c1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueEuServicesMax:()=>p1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueExemptMax:()=>u1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueReverseChargeMax:()=>m1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueThirdCountryGoodsMax:()=>x1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesRevenueThirdCountryServicesMax:()=>g1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesVat22Max:()=>t1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesVat5Max:()=>s1v,reviewSloveniaYearlyNormiraniReportResponseProfileAccountingExportsKontoMappingsOneSalesVat95Max:()=>n1v,reviewSloveniaYearlyNormiraniReportResponseProfileYearlyReportingActivityCodesItemRegExp:()=>WLv,reviewSloveniaYearlyNormiraniReportResponseProfileYearlyReportingDefaultForeignTaxCreditAmountMin:()=>$Lv,reviewSloveniaYearlyNormiraniReportResponseProfileYearlyReportingDefaultWithholdingTaxAmountMin:()=>YLv,reviewSloveniaYearlyNormiraniReportResponseYearMax:()=>qLv,reviewSloveniaYearlyNormiraniReportResponseYearMin:()=>ZLv,setPayrollParameterOverrideBodyEffectiveFromRegExp:()=>hjv,setPayrollParameterOverrideBodyEffectiveToRegExp:()=>bjv,setPayrollParameterOverrideBodyNoteMax:()=>Bjv,setPayrollParameterOverrideBodySourceTitleMax:()=>fjv,setPayrollParameterOverrideBodySourceUrlMax:()=>zjv,setPayrollParameterOverrideBodyUnitMax:()=>Sjv,setPayrollParameterOverrideQueryCountryCodeDefault:()=>yjv,setPayrollParameterOverrideQueryCountryCodeMax:()=>vjv,setPayrollParameterOverrideQueryCountryCodeMin:()=>Ojv,setPayrollParameterOverrideResponseCountryCodeMax:()=>Ijv,setPayrollParameterOverrideResponseEffectiveFromRegExp:()=>Njv,setPayrollParameterOverrideResponseEffectiveToRegExp:()=>Mjv,setPayrollParameterOverrideResponseEntityIdMax:()=>Ujv,setPayrollParameterOverrideResponseIdMax:()=>Tjv,setPayrollParameterOverrideResponseKeyMax:()=>Ejv,setPayrollParameterOverrideResponseUnitMax:()=>_jv,setPayrollParameterOverrideResponseValueNumericMax:()=>Rjv,setPayrollParameterOverrideResponseValueNumericMin:()=>Djv,submitVatReturnBodyNotesMax:()=>$1v,submitVatReturnPathIdRegExp:()=>Y1v,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsAdvancesPaidMax:()=>LHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsAdvancesReceivedMax:()=>HHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPayablesMax:()=>jHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpense22Max:()=>oLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpense5Max:()=>aLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpense95Max:()=>iLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseEuGoodsMax:()=>lLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseEuServicesMax:()=>dLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseExemptMax:()=>rLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseReverseChargeMax:()=>uLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseThirdCountryGoodsMax:()=>cLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseExpenseThirdCountryServicesMax:()=>pLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseVatRecoverable22Max:()=>ZHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseVatRecoverable5Max:()=>WHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsPurchaseVatRecoverable95Max:()=>qHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsReceivablesMax:()=>kHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenue22Max:()=>YHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenue5Max:()=>QHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenue95Max:()=>$Hv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueEuGoodsMax:()=>XHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueEuServicesMax:()=>eLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueExemptMax:()=>JHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueReverseChargeMax:()=>tLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueThirdCountryGoodsMax:()=>nLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesRevenueThirdCountryServicesMax:()=>sLv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesVat22Max:()=>GHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesVat5Max:()=>KHv,updateSloveniaTaxProfileBodyAccountingExportsKontoMappingsSalesVat95Max:()=>VHv,updateSloveniaTaxProfileBodyYearlyReportingActivityCodesItemRegExp:()=>wHv,updateSloveniaTaxProfileBodyYearlyReportingDefaultForeignTaxCreditAmountMin:()=>FHv,updateSloveniaTaxProfileBodyYearlyReportingDefaultWithholdingTaxAmountMin:()=>AHv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneAdvancesPaidMax:()=>SLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneAdvancesReceivedMax:()=>vLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePayablesMax:()=>OLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense22Max:()=>CLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense5Max:()=>ALv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpense95Max:()=>wLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuGoodsMax:()=>kLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseEuServicesMax:()=>jLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseExemptMax:()=>FLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseReverseChargeMax:()=>HLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryGoodsMax:()=>LLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseExpenseThirdCountryServicesMax:()=>GLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable22Max:()=>fLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable5Max:()=>TLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOnePurchaseVatRecoverable95Max:()=>BLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneReceivablesMax:()=>yLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue22Max:()=>ILv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue5Max:()=>DLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenue95Max:()=>ELv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuGoodsMax:()=>_Lv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueEuServicesMax:()=>NLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueExemptMax:()=>RLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueReverseChargeMax:()=>MLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryGoodsMax:()=>ULv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesRevenueThirdCountryServicesMax:()=>PLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat22Max:()=>hLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat5Max:()=>zLv,updateSloveniaTaxProfileResponseAccountingExportsKontoMappingsOneSalesVat95Max:()=>bLv,updateSloveniaTaxProfileResponseYearlyReportingActivityCodesItemRegExp:()=>mLv,updateSloveniaTaxProfileResponseYearlyReportingDefaultForeignTaxCreditAmountMin:()=>gLv,updateSloveniaTaxProfileResponseYearlyReportingDefaultWithholdingTaxAmountMin:()=>xLv,updateTaxPaymentBodyAmountExclusiveMin:()=>jjv,updateTaxPaymentBodyNoteMax:()=>Ljv,updateTaxPaymentBodyReferenceMax:()=>Hjv,updateTaxPaymentPathIdRegExp:()=>kjv});var cFv=10,pFv=100,ZSS=e.object({limit:e.number().min(1).max(pFv).default(cFv).describe("Number of results per request."),next_cursor:e.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance."),status:e.union([e.literal("active"),e.literal("inactive"),e.literal(null)]).nullish().describe("Filter by employee status. Omit to return both active and inactive employees.")}),qSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),mFv=36,xFv=36,gFv=20,yFv=255,OFv=255,vFv=255,SFv=20,hFv=20,bFv=500,zFv=20,fFv=100,BFv=2,TFv=50,IFv=/^\d{4}-\d{2}-\d{2}$/,EFv=/^\d{4}-\d{2}-\d{2}$/,DFv=20,RFv=-140737488355328,_Fv=0x7fffffffffff,NFv=-140737488355328,MFv=0x7fffffffffff,UFv=-140737488355328,PFv=0x7fffffffffff,CFv=-140737488355328,wFv=0x7fffffffffff,AFv=20,FFv=-140737488355328,kFv=0x7fffffffffff,jFv=-140737488355328,HFv=0x7fffffffffff,LFv=20,GFv=20,WSS=e.object({data:e.array(e.object({id:e.string().max(mFv),entity_id:e.string().max(xFv),status:e.string().max(gFv),first_name:e.string().max(yFv),last_name:e.string().max(OFv),email:e.string().max(vFv).nullish(),tax_number:e.string().max(SFv),personal_id:e.string().max(hFv).nullish(),address:e.string().max(bFv).nullish(),post_code:e.string().max(zFv).nullish(),city:e.string().max(fFv).nullish(),country_code:e.string().max(BFv).nullish(),iban:e.string().max(TFv).nullish(),employment_start:e.string().regex(IFv),employment_end:e.string().regex(EFv).nullish(),employment_type:e.string().max(DFv),weekly_hours:e.number().min(RFv).max(_Fv),gross_salary_monthly:e.number().min(NFv).max(MFv),seniority_bonus_percent:e.number().min(UFv).max(PFv),meal_allowance_per_day:e.number().min(CFv).max(wFv).nullish(),commute_mode:e.string().max(AFv),commute_km_one_way:e.number().min(FFv).max(kFv).nullish(),commute_amount_monthly:e.number().min(jFv).max(HFv).nullish(),works_remotely:e.boolean(),tax_residency:e.string().max(LFv),general_allowance_mode:e.string().max(GFv),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Employee record used as the basis for payroll and attendance.")),pagination:e.object({total:e.number().describe("Total number of items available in the collection"),next_cursor:e.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),YSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),VFv=255,KFv=255,ZFv=255,qFv=500,WFv=20,YFv=100,$Fv=2,QFv=2,JFv=50,XFv=/^\d{4}-\d{2}-\d{2}$/,e5v=/^\d{4}-\d{2}-\d{2}$/,t5v=0,n5v=168,s5v=0,o5v=0,i5v=100,a5v=0,r5v=0,l5v=0,$SS=e.object({status:e.union([e.literal("active"),e.literal("inactive"),e.literal(null)]).nullish(),first_name:e.string().min(1).max(VFv),last_name:e.string().min(1).max(KFv),email:e.string().max(ZFv).nullish(),tax_number:e.string().describe("Slovenian tax number (davcna stevilka), 8 digits. An optional SI prefix is stripped."),personal_id:e.string().nullish().describe("Slovenian unique master citizen number (EMSO), 13 digits. Validated on length/digits only."),address:e.string().max(qFv).nullish(),post_code:e.string().max(WFv).nullish(),city:e.string().max(YFv).nullish(),country_code:e.string().min($Fv).max(QFv).nullish(),iban:e.string().max(JFv).nullish(),employment_start:e.string().regex(XFv),employment_end:e.string().regex(e5v).nullish(),employment_type:e.union([e.literal("full_time"),e.literal("part_time"),e.literal(null)]).nullish(),weekly_hours:e.number().gt(t5v).max(n5v).nullish(),gross_salary_monthly:e.number().min(s5v),seniority_bonus_percent:e.number().min(o5v).max(i5v).nullish(),meal_allowance_per_day:e.number().min(a5v).nullish(),commute_mode:e.union([e.literal("none"),e.literal("per_km"),e.literal("public_transport"),e.literal(null)]).nullish(),commute_km_one_way:e.number().min(r5v).nullish(),commute_amount_monthly:e.number().min(l5v).nullish(),works_remotely:e.boolean().nullish(),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullish(),general_allowance_mode:e.union([e.literal("standard"),e.literal("none"),e.literal(null)]).nullish(),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),d5v=/^[a-z]{3,4}_[0-9a-f]{24}$/,QSS=e.object({id:e.stringFormat("resource-id",d5v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),JSS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),u5v=36,c5v=36,p5v=20,m5v=255,x5v=255,g5v=255,y5v=20,O5v=20,v5v=500,S5v=20,h5v=100,b5v=2,z5v=50,f5v=/^\d{4}-\d{2}-\d{2}$/,B5v=/^\d{4}-\d{2}-\d{2}$/,T5v=20,I5v=-140737488355328,E5v=0x7fffffffffff,D5v=-140737488355328,R5v=0x7fffffffffff,_5v=-140737488355328,N5v=0x7fffffffffff,M5v=-140737488355328,U5v=0x7fffffffffff,P5v=20,C5v=-140737488355328,w5v=0x7fffffffffff,A5v=-140737488355328,F5v=0x7fffffffffff,k5v=20,j5v=20,XSS=e.object({id:e.string().max(u5v),entity_id:e.string().max(c5v),status:e.string().max(p5v),first_name:e.string().max(m5v),last_name:e.string().max(x5v),email:e.string().max(g5v).nullish(),tax_number:e.string().max(y5v),personal_id:e.string().max(O5v).nullish(),address:e.string().max(v5v).nullish(),post_code:e.string().max(S5v).nullish(),city:e.string().max(h5v).nullish(),country_code:e.string().max(b5v).nullish(),iban:e.string().max(z5v).nullish(),employment_start:e.string().regex(f5v),employment_end:e.string().regex(B5v).nullish(),employment_type:e.string().max(T5v),weekly_hours:e.number().min(I5v).max(E5v),gross_salary_monthly:e.number().min(D5v).max(R5v),seniority_bonus_percent:e.number().min(_5v).max(N5v),meal_allowance_per_day:e.number().min(M5v).max(U5v).nullish(),commute_mode:e.string().max(P5v),commute_km_one_way:e.number().min(C5v).max(w5v).nullish(),commute_amount_monthly:e.number().min(A5v).max(F5v).nullish(),works_remotely:e.boolean(),tax_residency:e.string().max(k5v),general_allowance_mode:e.string().max(j5v),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Employee record used as the basis for payroll and attendance."),H5v=/^[a-z]{3,4}_[0-9a-f]{24}$/,ehS=e.object({id:e.stringFormat("resource-id",H5v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),thS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),L5v=255,G5v=255,V5v=255,K5v=500,Z5v=20,q5v=100,W5v=2,Y5v=2,$5v=50,Q5v=/^\d{4}-\d{2}-\d{2}$/,J5v=/^\d{4}-\d{2}-\d{2}$/,X5v=0,ekv=168,tkv=0,nkv=0,skv=100,okv=0,ikv=0,akv=0,nhS=e.object({status:e.union([e.literal("active"),e.literal("inactive"),e.literal(null)]).nullish().describe("Required attribute; omit or send null to leave it unchanged."),first_name:e.string().min(1).max(L5v).nullish().describe("Required attribute; omit or send null to leave it unchanged."),last_name:e.string().min(1).max(G5v).nullish().describe("Required attribute; omit or send null to leave it unchanged."),email:e.string().max(V5v).nullish(),tax_number:e.string().nullish().describe("Required attribute; omit or send null to leave it unchanged."),personal_id:e.string().nullish().describe("Slovenian unique master citizen number (EMSO), 13 digits. Validated on length/digits only."),address:e.string().max(K5v).nullish(),post_code:e.string().max(Z5v).nullish(),city:e.string().max(q5v).nullish(),country_code:e.string().min(W5v).max(Y5v).nullish(),iban:e.string().max($5v).nullish(),employment_start:e.string().regex(Q5v).nullish().describe("Required attribute; omit or send null to leave it unchanged."),employment_end:e.string().regex(J5v).nullish(),employment_type:e.union([e.literal("full_time"),e.literal("part_time"),e.literal(null)]).nullish().describe("Required attribute; omit or send null to leave it unchanged."),weekly_hours:e.number().gt(X5v).max(ekv).nullish().describe("Required attribute; omit or send null to leave it unchanged."),gross_salary_monthly:e.number().min(tkv).nullish().describe("Required attribute; omit or send null to leave it unchanged."),seniority_bonus_percent:e.number().min(nkv).max(skv).nullish().describe("Required attribute; omit or send null to leave it unchanged."),meal_allowance_per_day:e.number().min(okv).nullish(),commute_mode:e.union([e.literal("none"),e.literal("per_km"),e.literal("public_transport"),e.literal(null)]).nullish().describe("Required attribute; omit or send null to leave it unchanged."),commute_km_one_way:e.number().min(ikv).nullish(),commute_amount_monthly:e.number().min(akv).nullish(),works_remotely:e.boolean().nullish().describe("Required attribute; omit or send null to leave it unchanged."),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullish().describe("Required attribute; omit or send null to leave it unchanged."),general_allowance_mode:e.union([e.literal("standard"),e.literal("none"),e.literal(null)]).nullish().describe("Required attribute; omit or send null to leave it unchanged."),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),rkv=36,lkv=36,dkv=20,ukv=255,ckv=255,pkv=255,mkv=20,xkv=20,gkv=500,ykv=20,Okv=100,vkv=2,Skv=50,hkv=/^\d{4}-\d{2}-\d{2}$/,bkv=/^\d{4}-\d{2}-\d{2}$/,zkv=20,fkv=-140737488355328,Bkv=0x7fffffffffff,Tkv=-140737488355328,Ikv=0x7fffffffffff,Ekv=-140737488355328,Dkv=0x7fffffffffff,Rkv=-140737488355328,_kv=0x7fffffffffff,Nkv=20,Mkv=-140737488355328,Ukv=0x7fffffffffff,Pkv=-140737488355328,Ckv=0x7fffffffffff,wkv=20,Akv=20,shS=e.object({id:e.string().max(rkv),entity_id:e.string().max(lkv),status:e.string().max(dkv),first_name:e.string().max(ukv),last_name:e.string().max(ckv),email:e.string().max(pkv).nullish(),tax_number:e.string().max(mkv),personal_id:e.string().max(xkv).nullish(),address:e.string().max(gkv).nullish(),post_code:e.string().max(ykv).nullish(),city:e.string().max(Okv).nullish(),country_code:e.string().max(vkv).nullish(),iban:e.string().max(Skv).nullish(),employment_start:e.string().regex(hkv),employment_end:e.string().regex(bkv).nullish(),employment_type:e.string().max(zkv),weekly_hours:e.number().min(fkv).max(Bkv),gross_salary_monthly:e.number().min(Tkv).max(Ikv),seniority_bonus_percent:e.number().min(Ekv).max(Dkv),meal_allowance_per_day:e.number().min(Rkv).max(_kv).nullish(),commute_mode:e.string().max(Nkv),commute_km_one_way:e.number().min(Mkv).max(Ukv).nullish(),commute_amount_monthly:e.number().min(Pkv).max(Ckv).nullish(),works_remotely:e.boolean(),tax_residency:e.string().max(wkv),general_allowance_mode:e.string().max(Akv),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Employee record used as the basis for payroll and attendance."),Fkv=/^[a-z]{3,4}_[0-9a-f]{24}$/,ohS=e.object({id:e.stringFormat("resource-id",Fkv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),ihS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),kkv=/^[a-z]{3,4}_[0-9a-f]{24}$/,ahS=e.object({id:e.stringFormat("resource-id",kkv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),jkv=2e3,Hkv=2030,Lkv=12,rhS=e.object({year:e.number().min(jkv).max(Hkv),month:e.number().min(1).max(Lkv)}),lhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),dhS=e.object({employee_id:e.string(),year:e.number(),month:e.number(),days:e.array(e.object({date:e.string(),kind:e.enum(["worked","sick","vacation","public_holiday","paid_leave","unpaid","other","weekend"]),hours:e.number(),sick_reason:e.union([e.literal("illness"),e.literal("injury_outside_work"),e.literal("occupational"),e.literal("care"),e.literal("isolation"),e.literal("donation"),e.literal("other"),e.literal(null)]).nullable(),note:e.string().nullable(),stored:e.boolean().describe("Whether this day has a persisted attendance_days row.")})),summary:e.object({working_days:e.number().describe("Working days in the month per the SI calendar."),worked:e.number(),sick:e.number(),vacation:e.number(),public_holiday:e.number(),paid_leave:e.number(),unpaid:e.number(),other:e.number(),weekend:e.number()})}),Gkv=/^[a-z]{3,4}_[0-9a-f]{24}$/,uhS=e.object({id:e.stringFormat("resource-id",Gkv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),Vkv=2e3,Kkv=2030,Zkv=12,chS=e.object({year:e.number().min(Vkv).max(Kkv),month:e.number().min(1).max(Zkv)}),phS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),qkv=/^\d{4}-\d{2}-\d{2}$/,Wkv=0,Ykv=24,$kv=1e3,mhS=e.object({days:e.array(e.object({date:e.string().regex(qkv),kind:e.enum(["worked","sick","vacation","public_holiday","paid_leave","unpaid","other"]),hours:e.number().min(Wkv).max(Ykv).nullish(),sick_reason:e.union([e.literal("illness"),e.literal("injury_outside_work"),e.literal("occupational"),e.literal("care"),e.literal("isolation"),e.literal("donation"),e.literal("other"),e.literal(null)]).nullish(),note:e.string().max($kv).nullish()}))}),xhS=e.object({employee_id:e.string(),year:e.number(),month:e.number(),days:e.array(e.object({date:e.string(),kind:e.enum(["worked","sick","vacation","public_holiday","paid_leave","unpaid","other","weekend"]),hours:e.number(),sick_reason:e.union([e.literal("illness"),e.literal("injury_outside_work"),e.literal("occupational"),e.literal("care"),e.literal("isolation"),e.literal("donation"),e.literal("other"),e.literal(null)]).nullable(),note:e.string().nullable(),stored:e.boolean().describe("Whether this day has a persisted attendance_days row.")})),summary:e.object({working_days:e.number().describe("Working days in the month per the SI calendar."),worked:e.number(),sick:e.number(),vacation:e.number(),public_holiday:e.number(),paid_leave:e.number(),unpaid:e.number(),other:e.number(),weekend:e.number()})}),Qkv="SI",Jkv=2,Xkv=2,ejv=/^\d{4}-\d{2}-\d{2}$/,ghS=e.object({country_code:e.string().min(Jkv).max(Xkv).default(Qkv),as_of:e.string().regex(ejv).optional().describe("Resolve parameters effective on this date. Defaults to today.")}),yhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),tjv=/^\d{4}-\d{2}-\d{2}$/,njv=/^\d{4}-\d{2}-\d{2}$/,sjv=/^\d{4}-\d{2}-\d{2}$/,OhS=e.object({country_code:e.string(),as_of:e.string().regex(tjv),parameters:e.record(e.string(),e.object({value:e.union([e.number(),e.record(e.string(),e.unknown()),e.null()]).describe("value_numeric when set, otherwise value_json."),unit:e.string().nullable(),effective_from:e.string().regex(njv),effective_to:e.string().regex(sjv).nullable(),verified:e.boolean(),source_url:e.string().nullable(),source_title:e.string().nullable(),is_override:e.boolean().describe("True when this value came from an entity override.")}))}),ojv="SI",ijv=2,ajv=2,vhS=e.object({country_code:e.string().min(ijv).max(ajv).default(ojv),key:e.string().min(1)}),ShS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),rjv=36,ljv=2,djv=200,ujv=-140737488355328,cjv=0x7fffffffffff,pjv=50,mjv=/^\d{4}-\d{2}-\d{2}$/,xjv=/^\d{4}-\d{2}-\d{2}$/,gjv=36,hhS=e.object({data:e.array(e.object({id:e.string().max(rjv),country_code:e.string().max(ljv),key:e.string().max(djv),value_numeric:e.number().min(ujv).max(cjv).nullish(),value_json:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]).optional(),unit:e.string().max(pjv).nullish(),effective_from:e.string().regex(mjv),effective_to:e.string().regex(xjv).nullish(),source_url:e.string().nullish(),source_title:e.string().nullish(),verified:e.boolean(),note:e.string().nullish(),entity_id:e.string().max(gjv).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("A single effective-dated payroll parameter row (statutory or entity-override)."))}),bhS=e.object({key:e.string().min(1).describe("Dotted payroll parameter key.")}),yjv="SI",Ojv=2,vjv=2,zhS=e.object({country_code:e.string().min(Ojv).max(vjv).default(yjv)}),fhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Sjv=50,hjv=/^\d{4}-\d{2}-\d{2}$/,bjv=/^\d{4}-\d{2}-\d{2}$/,zjv=1e3,fjv=500,Bjv=2e3,BhS=e.object({value:e.number().nullish(),value_json:e.record(e.string(),e.unknown()).nullish(),unit:e.string().max(Sjv).nullish(),effective_from:e.string().regex(hjv),effective_to:e.string().regex(bjv).nullish(),source_url:e.string().max(zjv).nullish(),source_title:e.string().max(fjv).nullish(),note:e.string().max(Bjv).nullish()}),Tjv=36,Ijv=2,Ejv=200,Djv=-140737488355328,Rjv=0x7fffffffffff,_jv=50,Njv=/^\d{4}-\d{2}-\d{2}$/,Mjv=/^\d{4}-\d{2}-\d{2}$/,Ujv=36,ThS=e.object({id:e.string().max(Tjv),country_code:e.string().max(Ijv),key:e.string().max(Ejv),value_numeric:e.number().min(Djv).max(Rjv).nullish(),value_json:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]).optional(),unit:e.string().max(_jv).nullish(),effective_from:e.string().regex(Njv),effective_to:e.string().regex(Mjv).nullish(),source_url:e.string().nullish(),source_title:e.string().nullish(),verified:e.boolean(),note:e.string().nullish(),entity_id:e.string().max(Ujv).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("A single effective-dated payroll parameter row (statutory or entity-override)."),IhS=e.object({date_from:e.iso.date().describe("Report period start date in YYYY-MM-DD format."),date_to:e.iso.date().describe("Report period end date in YYYY-MM-DD format.")}),EhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),DhS=e.object({date_from:e.string(),date_to:e.string(),currency_code:e.string(),totals:e.object({output_tax:e.number(),output_tax_adjustments:e.number(),input_tax:e.number(),input_tax_adjustments:e.number(),reverse_charge_tax:e.number(),non_deductible_input_tax:e.number(),net_tax_due:e.number(),paid:e.number(),remaining:e.number()}),by_rate:e.array(e.object({rate:e.number().nullable(),output_tax:e.number(),output_tax_adjustments:e.number(),input_tax:e.number(),input_tax_adjustments:e.number(),reverse_charge_tax:e.number(),non_deductible_input_tax:e.number(),net_tax_due:e.number()})),payments:e.array(e.object({id:e.string(),entity_id:e.string(),date_from:e.string(),date_to:e.string(),amount:e.number(),currency_code:e.string(),payment_date:e.string(),type:e.enum(["bank_transfer","card","cash","check","other"]).describe("How the tax authority payment was made."),reference:e.string().nullable(),note:e.string().nullable(),liability_snapshot:e.union([e.object({date_from:e.string(),date_to:e.string(),output_tax:e.number(),input_tax:e.number(),net_tax_due:e.number(),paid:e.number(),remaining:e.number(),currency_code:e.string()}),e.null()]),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),deleted_at:e.iso.datetime({}).nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})})),remaining:e.number(),warnings:e.array(e.object({code:e.string(),message:e.string(),document_id:e.string().nullable(),document_type:e.string().nullable()}))}),RhS=e.object({date_from:e.iso.date().describe("Report period start date in YYYY-MM-DD format."),date_to:e.iso.date().describe("Report period end date in YYYY-MM-DD format.")}),_hS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),NhS=e.object({data:e.array(e.object({id:e.string(),entity_id:e.string(),date_from:e.string(),date_to:e.string(),amount:e.number(),currency_code:e.string(),payment_date:e.string(),type:e.enum(["bank_transfer","card","cash","check","other"]).describe("How the tax authority payment was made."),reference:e.string().nullable(),note:e.string().nullable(),liability_snapshot:e.union([e.object({date_from:e.string(),date_to:e.string(),output_tax:e.number(),input_tax:e.number(),net_tax_due:e.number(),paid:e.number(),remaining:e.number(),currency_code:e.string()}),e.null()]),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),deleted_at:e.iso.datetime({}).nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}))}),MhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Pjv=0,Cjv=3,wjv=3,Ajv=100,Fjv=500,UhS=e.object({date_from:e.iso.date().describe("Tax period start date in YYYY-MM-DD format."),date_to:e.iso.date().describe("Tax period end date in YYYY-MM-DD format."),amount:e.number().gt(Pjv).describe("Amount paid to the tax authority."),currency_code:e.string().min(Cjv).max(wjv).nullish().describe("Payment currency. Defaults to and must match the entity currency."),payment_date:e.iso.date().nullish().describe("Payment date in YYYY-MM-DD format. Defaults to today."),type:e.union([e.enum(["bank_transfer","card","cash","check","other"]).describe("How the tax authority payment was made."),e.null()]).optional().describe("How the tax authority payment was made. Defaults to bank_transfer when omitted or null."),reference:e.string().max(Ajv).nullish().describe("Bank, tax authority, or filing reference."),note:e.string().max(Fjv).nullish().describe("Internal note for this tax payment."),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),kjv=/^txpay_[0-9a-f]{24}$/,PhS=e.object({id:e.string().regex(kjv).describe("Tax payment identifier")}),ChS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),jjv=0,Hjv=100,Ljv=500,whS=e.object({amount:e.number().gt(jjv).optional().describe("Amount paid to the tax authority."),payment_date:e.iso.date().optional().describe("Replacement payment date in YYYY-MM-DD format. Omit to leave it unchanged."),type:e.enum(["bank_transfer","card","cash","check","other"]).optional().describe("Replacement payment type. Omit to leave it unchanged; null is not accepted."),reference:e.string().max(Hjv).nullish().describe("Bank, tax authority, or filing reference."),note:e.string().max(Ljv).nullish().describe("Internal note for this tax payment."),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),AhS=e.object({id:e.string(),entity_id:e.string(),date_from:e.string(),date_to:e.string(),amount:e.number(),currency_code:e.string(),payment_date:e.string(),type:e.enum(["bank_transfer","card","cash","check","other"]).describe("How the tax authority payment was made."),reference:e.string().nullable(),note:e.string().nullable(),liability_snapshot:e.union([e.object({date_from:e.string(),date_to:e.string(),output_tax:e.number(),input_tax:e.number(),net_tax_due:e.number(),paid:e.number(),remaining:e.number(),currency_code:e.string()}),e.null()]),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data."),deleted_at:e.iso.datetime({}).nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),Gjv=/^txpay_[0-9a-f]{24}$/,FhS=e.object({id:e.string().regex(Gjv).describe("Tax payment identifier")}),khS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Vjv=2021,Kjv=2100,jhS=e.object({year:e.number().min(Vjv).max(Kjv).optional().describe("Calendar year to review together with its preceding year.")}),HhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Zjv=2,qjv=2,Wjv=3,Yjv=3,$jv=0,Qjv=0,Jjv=2,Xjv=2,eHv=0,tHv=0,LhS=e.object({entity_id:e.string(),eligible:e.boolean(),eligibility_reason:e.enum(["eligible","issuer_not_in_eu","issuer_country_not_supported","entity_not_tax_subject"]),issuer_country_code:e.string().min(Zjv).max(qjv).nullable(),reporting_currency_code:e.string().min(Wjv).max(Yjv).nullable(),selected_year:e.number(),auto_apply_destination_vat:e.boolean(),threshold:e.object({amount:e.literal(1e4),currency_code:e.enum(["EUR"]),comparison_available:e.boolean(),status:e.enum(["below_threshold","exceeds_threshold","comparison_unavailable"]),selected_year_net_sales:e.number(),preceding_year_net_sales:e.number()}).describe("Comparison with the EU-wide EUR 10,000 threshold. Status is unavailable when the entity reporting currency is not EUR."),periods:e.array(e.object({year:e.number(),invoice_count:e.number().min($jv),credit_note_count:e.number().min(Qjv),net_sales:e.number(),vat_collected:e.number(),gross_sales:e.number(),countries:e.array(e.object({country_code:e.string().min(Jjv).max(Xjv),country_name:e.string(),invoice_count:e.number().min(eHv),credit_note_count:e.number().min(tHv),net_sales:e.number(),vat_collected:e.number(),gross_sales:e.number(),standard_vat_rate:e.number().nullable(),reduced_vat_rates:e.array(e.number())}).describe("Operational intra-EU B2C sales totals for one destination country."))}).describe("EU OSS tracking totals for one calendar year.")),guidance_url:e.url(),vat_rates_verified_through:e.iso.date(),notices:e.array(e.enum(["scope_requires_review","vat_rates_reference_only","vat_rates_last_verified","stored_conversion_data_only"]))}).describe("Operational EU OSS tracker for finalized intra-EU B2C invoices and credit notes. It is not a legal filing determination."),nHv=/^\d{4}$/,sHv=/^(1[0-2]|[1-9])$/,oHv=/^[1-4]$/,GhS=e.object({year:e.string().regex(nHv).describe("Year for the combined KIR/KPR export (e.g., 2025)"),month:e.string().regex(sHv).optional().describe("Month for monthly export (1-12). Cannot be used with quarter."),quarter:e.string().regex(oHv).optional().describe("Quarter for quarterly export (1-4). Cannot be used with month.")}),VhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),KhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),iHv=/^\d{2}\.\d{3}$/,aHv=0,rHv=0,lHv=8,dHv=8,uHv=8,cHv=8,pHv=8,mHv=8,xHv=8,gHv=8,yHv=8,OHv=8,vHv=8,SHv=8,hHv=8,bHv=8,zHv=8,fHv=8,BHv=8,THv=8,IHv=8,EHv=8,DHv=8,RHv=8,_Hv=8,NHv=8,MHv=8,UHv=8,PHv=8,CHv=8,ZhS=e.object({business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e.union([e.literal("normirani"),e.literal("dejanski"),e.literal(null)]).nullable().describe("Income tax regime used by the Slovenian entity."),vat_profile:e.union([e.literal("standard"),e.literal("special_vat_identified"),e.literal("non_vat_subject"),e.literal(null)]).nullable().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e.boolean().optional(),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullable().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e.object({activity_codes:e.array(e.string().regex(iHv).describe("Slovenian SKD activity code used for yearly reporting.")).describe("Ordered SKD activity codes."),registration_number:e.string().nullable().describe("Optional registration number used in the filing."),accounting_type:e.union([e.literal("records"),e.literal("single_entry"),e.literal("double_entry"),e.literal(null)]).nullable().describe("Accounting / records mode used in the filing."),normiranec_insurance_basis:e.union([e.literal("full_time_self_employed"),e.literal("other"),e.literal(null)]).nullable().describe("Insurance basis used by normirani rules."),default_withholding_tax_amount:e.number().min(aHv).nullable().describe("Persisted default withholding tax amount for yearly reviews."),default_foreign_tax_credit_amount:e.number().min(rHv).nullable().describe("Persisted default foreign tax credit amount for yearly reviews.")}),accounting_exports:e.object({preferred_format:e.union([e.literal("vod_xml"),e.literal("vasco_xml"),e.literal("minimax_xml"),e.literal(null)]).nullable().describe("Preferred Slovenian accounting export format."),konto_mappings:e.object({receivables:e.string().max(lHv).nullish(),payables:e.string().max(dHv).nullish(),advances_received:e.string().max(uHv).nullish().describe("Received advance liability account for miniMAX final-invoice settlement. Defaults to 2300; use the account on which receipts are booked in miniMAX."),advances_paid:e.string().max(cHv).nullish().describe("Paid advance asset account for miniMAX final-invoice settlement. Defaults to 1300; use the account on which advance payments are booked in miniMAX."),sales_vat_22:e.string().max(pHv).nullish(),sales_vat_95:e.string().max(mHv).nullish(),sales_vat_5:e.string().max(xHv).nullish(),purchase_vat_recoverable_22:e.string().max(gHv).nullish(),purchase_vat_recoverable_95:e.string().max(yHv).nullish(),purchase_vat_recoverable_5:e.string().max(OHv).nullish(),sales_revenue_22:e.string().max(vHv).nullish(),sales_revenue_95:e.string().max(SHv).nullish(),sales_revenue_5:e.string().max(hHv).nullish(),sales_revenue_exempt:e.string().max(bHv).nullish(),sales_revenue_eu_goods:e.string().max(zHv).nullish(),sales_revenue_eu_services:e.string().max(fHv).nullish(),sales_revenue_reverse_charge:e.string().max(BHv).nullish(),sales_revenue_third_country_goods:e.string().max(THv).nullish(),sales_revenue_third_country_services:e.string().max(IHv).nullish(),purchase_expense_22:e.string().max(EHv).nullish(),purchase_expense_95:e.string().max(DHv).nullish(),purchase_expense_5:e.string().max(RHv).nullish(),purchase_expense_exempt:e.string().max(_Hv).nullish(),purchase_expense_eu_goods:e.string().max(NHv).nullish(),purchase_expense_eu_services:e.string().max(MHv).nullish(),purchase_expense_reverse_charge:e.string().max(UHv).nullish(),purchase_expense_third_country_goods:e.string().max(PHv).nullish(),purchase_expense_third_country_services:e.string().max(CHv).nullish()}).and(e.unknown().describe("Normalized semantic konto mappings shared by Slovenian accounting exports."))}),business_form_source:e.enum(["stored","registry","unknown"]),inferred_business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),supported_exports:e.object({yearly_normirani:e.boolean(),vod_xml:e.boolean(),vasco_xml:e.boolean(),minimax_xml:e.boolean()}),unsupported_reason:e.string().nullable()}),qhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),wHv=/^\d{2}\.\d{3}$/,AHv=0,FHv=0,kHv=8,jHv=8,HHv=8,LHv=8,GHv=8,VHv=8,KHv=8,ZHv=8,qHv=8,WHv=8,YHv=8,$Hv=8,QHv=8,JHv=8,XHv=8,eLv=8,tLv=8,nLv=8,sLv=8,oLv=8,iLv=8,aLv=8,rLv=8,lLv=8,dLv=8,uLv=8,cLv=8,pLv=8,WhS=e.object({business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullish().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e.union([e.literal("normirani"),e.literal("dejanski"),e.literal(null)]).nullish().describe("Income tax regime used by the Slovenian entity."),vat_profile:e.union([e.literal("standard"),e.literal("special_vat_identified"),e.literal("non_vat_subject"),e.literal(null)]).nullish().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e.boolean().nullish(),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullish().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e.object({activity_codes:e.array(e.string().regex(wHv).describe("Slovenian SKD activity code used for yearly reporting.")).nullish(),registration_number:e.string().nullish(),accounting_type:e.union([e.literal("records"),e.literal("single_entry"),e.literal("double_entry"),e.literal(null)]).nullish().describe("Accounting or records mode used for the yearly filing."),normiranec_insurance_basis:e.union([e.literal("full_time_self_employed"),e.literal("other"),e.literal(null)]).nullish().describe("Insurance basis used to determine the applicable normirani rules."),default_withholding_tax_amount:e.number().min(AHv).nullish().describe("Monetary amount in EUR."),default_foreign_tax_credit_amount:e.number().min(FHv).nullish().describe("Monetary amount in EUR.")}).nullish(),accounting_exports:e.object({preferred_format:e.union([e.literal("vod_xml"),e.literal("vasco_xml"),e.literal("minimax_xml"),e.literal(null)]).nullish().describe("Stored preferred export format for Slovenian accounting handoff."),konto_mappings:e.object({receivables:e.string().max(kHv).nullish(),payables:e.string().max(jHv).nullish(),advances_received:e.string().max(HHv).nullish().describe("Received advance liability account for miniMAX final-invoice settlement. Defaults to 2300; use the account on which receipts are booked in miniMAX."),advances_paid:e.string().max(LHv).nullish().describe("Paid advance asset account for miniMAX final-invoice settlement. Defaults to 1300; use the account on which advance payments are booked in miniMAX."),sales_vat_22:e.string().max(GHv).nullish(),sales_vat_95:e.string().max(VHv).nullish(),sales_vat_5:e.string().max(KHv).nullish(),purchase_vat_recoverable_22:e.string().max(ZHv).nullish(),purchase_vat_recoverable_95:e.string().max(qHv).nullish(),purchase_vat_recoverable_5:e.string().max(WHv).nullish(),sales_revenue_22:e.string().max(YHv).nullish(),sales_revenue_95:e.string().max($Hv).nullish(),sales_revenue_5:e.string().max(QHv).nullish(),sales_revenue_exempt:e.string().max(JHv).nullish(),sales_revenue_eu_goods:e.string().max(XHv).nullish(),sales_revenue_eu_services:e.string().max(eLv).nullish(),sales_revenue_reverse_charge:e.string().max(tLv).nullish(),sales_revenue_third_country_goods:e.string().max(nLv).nullish(),sales_revenue_third_country_services:e.string().max(sLv).nullish(),purchase_expense_22:e.string().max(oLv).nullish(),purchase_expense_95:e.string().max(iLv).nullish(),purchase_expense_5:e.string().max(aLv).nullish(),purchase_expense_exempt:e.string().max(rLv).nullish(),purchase_expense_eu_goods:e.string().max(lLv).nullish(),purchase_expense_eu_services:e.string().max(dLv).nullish(),purchase_expense_reverse_charge:e.string().max(uLv).nullish(),purchase_expense_third_country_goods:e.string().max(cLv).nullish(),purchase_expense_third_country_services:e.string().max(pLv).nullish()}).nullish()}).nullish()}),mLv=/^\d{2}\.\d{3}$/,xLv=0,gLv=0,yLv=8,OLv=8,vLv=8,SLv=8,hLv=8,bLv=8,zLv=8,fLv=8,BLv=8,TLv=8,ILv=8,ELv=8,DLv=8,RLv=8,_Lv=8,NLv=8,MLv=8,ULv=8,PLv=8,CLv=8,wLv=8,ALv=8,FLv=8,kLv=8,jLv=8,HLv=8,LLv=8,GLv=8,YhS=e.object({business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e.union([e.literal("normirani"),e.literal("dejanski"),e.literal(null)]).nullable().describe("Income tax regime used by the Slovenian entity."),vat_profile:e.union([e.literal("standard"),e.literal("special_vat_identified"),e.literal("non_vat_subject"),e.literal(null)]).nullable().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e.boolean().optional(),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullable().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e.object({activity_codes:e.array(e.string().regex(mLv).describe("Slovenian SKD activity code used for yearly reporting.")).describe("Ordered SKD activity codes."),registration_number:e.string().nullable().describe("Optional registration number used in the filing."),accounting_type:e.union([e.literal("records"),e.literal("single_entry"),e.literal("double_entry"),e.literal(null)]).nullable().describe("Accounting / records mode used in the filing."),normiranec_insurance_basis:e.union([e.literal("full_time_self_employed"),e.literal("other"),e.literal(null)]).nullable().describe("Insurance basis used by normirani rules."),default_withholding_tax_amount:e.number().min(xLv).nullable().describe("Persisted default withholding tax amount for yearly reviews."),default_foreign_tax_credit_amount:e.number().min(gLv).nullable().describe("Persisted default foreign tax credit amount for yearly reviews.")}),accounting_exports:e.object({preferred_format:e.union([e.literal("vod_xml"),e.literal("vasco_xml"),e.literal("minimax_xml"),e.literal(null)]).nullable().describe("Preferred Slovenian accounting export format."),konto_mappings:e.object({receivables:e.string().max(yLv).nullish(),payables:e.string().max(OLv).nullish(),advances_received:e.string().max(vLv).nullish().describe("Received advance liability account for miniMAX final-invoice settlement. Defaults to 2300; use the account on which receipts are booked in miniMAX."),advances_paid:e.string().max(SLv).nullish().describe("Paid advance asset account for miniMAX final-invoice settlement. Defaults to 1300; use the account on which advance payments are booked in miniMAX."),sales_vat_22:e.string().max(hLv).nullish(),sales_vat_95:e.string().max(bLv).nullish(),sales_vat_5:e.string().max(zLv).nullish(),purchase_vat_recoverable_22:e.string().max(fLv).nullish(),purchase_vat_recoverable_95:e.string().max(BLv).nullish(),purchase_vat_recoverable_5:e.string().max(TLv).nullish(),sales_revenue_22:e.string().max(ILv).nullish(),sales_revenue_95:e.string().max(ELv).nullish(),sales_revenue_5:e.string().max(DLv).nullish(),sales_revenue_exempt:e.string().max(RLv).nullish(),sales_revenue_eu_goods:e.string().max(_Lv).nullish(),sales_revenue_eu_services:e.string().max(NLv).nullish(),sales_revenue_reverse_charge:e.string().max(MLv).nullish(),sales_revenue_third_country_goods:e.string().max(ULv).nullish(),sales_revenue_third_country_services:e.string().max(PLv).nullish(),purchase_expense_22:e.string().max(CLv).nullish(),purchase_expense_95:e.string().max(wLv).nullish(),purchase_expense_5:e.string().max(ALv).nullish(),purchase_expense_exempt:e.string().max(FLv).nullish(),purchase_expense_eu_goods:e.string().max(kLv).nullish(),purchase_expense_eu_services:e.string().max(jLv).nullish(),purchase_expense_reverse_charge:e.string().max(HLv).nullish(),purchase_expense_third_country_goods:e.string().max(LLv).nullish(),purchase_expense_third_country_services:e.string().max(GLv).nullish()}).and(e.unknown().describe("Normalized semantic konto mappings shared by Slovenian accounting exports."))}),business_form_source:e.enum(["stored","registry","unknown"]),inferred_business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),supported_exports:e.object({yearly_normirani:e.boolean(),vod_xml:e.boolean(),vasco_xml:e.boolean(),minimax_xml:e.boolean()}),unsupported_reason:e.string().nullable()}),$hS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),VLv=2025,KLv=2100,QhS=e.object({year:e.number().min(VLv).max(KLv).describe("Tax year for the yearly Slovenia eDavki filing.")}),ZLv=2025,qLv=2100,WLv=/^\d{2}\.\d{3}$/,YLv=0,$Lv=0,QLv=8,JLv=8,XLv=8,e1v=8,t1v=8,n1v=8,s1v=8,o1v=8,i1v=8,a1v=8,r1v=8,l1v=8,d1v=8,u1v=8,c1v=8,p1v=8,m1v=8,x1v=8,g1v=8,y1v=8,O1v=8,v1v=8,S1v=8,h1v=8,b1v=8,z1v=8,f1v=8,B1v=8,T1v=0,I1v=0,E1v=0,D1v=0,R1v=0,JhS=e.object({entity_id:e.string(),year:e.number().min(ZLv).max(qLv).describe("Tax year for the yearly Slovenia eDavki filing."),filing_kind:e.enum(["regular_annual"]),profile:e.object({business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),income_tax_regime:e.union([e.literal("normirani"),e.literal("dejanski"),e.literal(null)]).nullable().describe("Income tax regime used by the Slovenian entity."),vat_profile:e.union([e.literal("standard"),e.literal("special_vat_identified"),e.literal("non_vat_subject"),e.literal(null)]).nullable().describe("Slovenia-specific VAT subject subtype."),calculates_deduction_ratio:e.boolean().optional(),tax_residency:e.union([e.literal("resident"),e.literal("non_resident"),e.literal(null)]).nullable().describe("Tax residency status for Slovenian yearly reporting."),yearly_reporting:e.object({activity_codes:e.array(e.string().regex(WLv).describe("Slovenian SKD activity code used for yearly reporting.")).describe("Ordered SKD activity codes."),registration_number:e.string().nullable().describe("Optional registration number used in the filing."),accounting_type:e.union([e.literal("records"),e.literal("single_entry"),e.literal("double_entry"),e.literal(null)]).nullable().describe("Accounting / records mode used in the filing."),normiranec_insurance_basis:e.union([e.literal("full_time_self_employed"),e.literal("other"),e.literal(null)]).nullable().describe("Insurance basis used by normirani rules."),default_withholding_tax_amount:e.number().min(YLv).nullable().describe("Persisted default withholding tax amount for yearly reviews."),default_foreign_tax_credit_amount:e.number().min($Lv).nullable().describe("Persisted default foreign tax credit amount for yearly reviews.")}),accounting_exports:e.object({preferred_format:e.union([e.literal("vod_xml"),e.literal("vasco_xml"),e.literal("minimax_xml"),e.literal(null)]).nullable().describe("Preferred Slovenian accounting export format."),konto_mappings:e.object({receivables:e.string().max(QLv).nullish(),payables:e.string().max(JLv).nullish(),advances_received:e.string().max(XLv).nullish().describe("Received advance liability account for miniMAX final-invoice settlement. Defaults to 2300; use the account on which receipts are booked in miniMAX."),advances_paid:e.string().max(e1v).nullish().describe("Paid advance asset account for miniMAX final-invoice settlement. Defaults to 1300; use the account on which advance payments are booked in miniMAX."),sales_vat_22:e.string().max(t1v).nullish(),sales_vat_95:e.string().max(n1v).nullish(),sales_vat_5:e.string().max(s1v).nullish(),purchase_vat_recoverable_22:e.string().max(o1v).nullish(),purchase_vat_recoverable_95:e.string().max(i1v).nullish(),purchase_vat_recoverable_5:e.string().max(a1v).nullish(),sales_revenue_22:e.string().max(r1v).nullish(),sales_revenue_95:e.string().max(l1v).nullish(),sales_revenue_5:e.string().max(d1v).nullish(),sales_revenue_exempt:e.string().max(u1v).nullish(),sales_revenue_eu_goods:e.string().max(c1v).nullish(),sales_revenue_eu_services:e.string().max(p1v).nullish(),sales_revenue_reverse_charge:e.string().max(m1v).nullish(),sales_revenue_third_country_goods:e.string().max(x1v).nullish(),sales_revenue_third_country_services:e.string().max(g1v).nullish(),purchase_expense_22:e.string().max(y1v).nullish(),purchase_expense_95:e.string().max(O1v).nullish(),purchase_expense_5:e.string().max(v1v).nullish(),purchase_expense_exempt:e.string().max(S1v).nullish(),purchase_expense_eu_goods:e.string().max(h1v).nullish(),purchase_expense_eu_services:e.string().max(b1v).nullish(),purchase_expense_reverse_charge:e.string().max(z1v).nullish(),purchase_expense_third_country_goods:e.string().max(f1v).nullish(),purchase_expense_third_country_services:e.string().max(B1v).nullish()}).and(e.unknown().describe("Normalized semantic konto mappings shared by Slovenian accounting exports."))}),business_form_source:e.enum(["stored","registry","unknown"]),inferred_business_form:e.union([e.literal("sp"),e.literal("doo"),e.literal("dno"),e.literal("club"),e.literal(null)]).nullable().describe("Canonical Slovenian legal form for the entity."),supported_exports:e.object({yearly_normirani:e.boolean(),vod_xml:e.boolean(),vasco_xml:e.boolean(),minimax_xml:e.boolean()}),unsupported_reason:e.string().nullable()}),auto_values:e.object({total_invoice_revenue:e.number(),total_credit_note_reduction:e.number(),computed_revenue:e.number(),adjusted_revenue:e.number(),normative_expense_rate:e.number(),normative_expenses:e.number(),tax_base:e.number(),income_tax_rate:e.number(),income_tax_amount:e.number(),advance_tax_amount:e.number(),monthly_installment_amount:e.number(),quarterly_installment_amount:e.number()}),manual_values:e.object({withholding_tax_amount:e.number().min(T1v).describe("Monetary amount in EUR."),foreign_tax_credit_amount:e.number().min(I1v).describe("Monetary amount in EUR."),prior_advance_income_tax_amount:e.number().min(E1v).describe("Monetary amount in EUR."),revenue_adjustment_decrease:e.number().min(D1v).describe("Monetary amount in EUR."),revenue_adjustment_increase:e.number().min(R1v).describe("Monetary amount in EUR.")}),derived_flags:e.object({has_foreign_customers:e.boolean(),has_foreign_tax_numbers:e.boolean(),has_non_eur_documents:e.boolean()}),warnings:e.array(e.object({code:e.string(),message:e.string(),severity:e.enum(["info","warning"])})),issue_details:e.array(e.object({code:e.string(),title:e.string(),summary:e.string(),explanation:e.string(),action:e.string().nullable(),severity:e.enum(["info","warning"]),official_sources:e.array(e.object({label:e.string(),url:e.url(),issuer:e.enum(["FURS","PISRS"])})),affected_documents:e.array(e.object({id:e.string(),type:e.enum(["invoice","credit_note"]),number:e.string(),date:e.string(),customer_name:e.string().nullable(),customer_country_code:e.string().nullable(),customer_tax_number:e.string().nullable(),currency_code:e.string(),total:e.number(),total_converted:e.number().nullable(),reason:e.string(),document_path:e.string()}))})),rule_summary:e.object({normative_expense_rule:e.string(),income_tax_rule:e.string(),advance_rule:e.string()})}),XhS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),_1v=2025,N1v=2100,M1v=0,U1v=0,P1v=0,C1v=0,w1v=0,ebS=e.object({year:e.number().min(_1v).max(N1v).describe("Tax year for the yearly Slovenia eDavki filing."),manual_values:e.object({withholding_tax_amount:e.number().min(M1v).describe("Monetary amount in EUR."),foreign_tax_credit_amount:e.number().min(U1v).describe("Monetary amount in EUR."),prior_advance_income_tax_amount:e.number().min(P1v).describe("Monetary amount in EUR."),revenue_adjustment_decrease:e.number().min(C1v).describe("Monetary amount in EUR."),revenue_adjustment_increase:e.number().min(w1v).describe("Monetary amount in EUR.")})}),tbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),nbS=e.object({date_from:e.iso.date().describe("Inclusive document date in YYYY-MM-DD format."),date_to:e.iso.date().describe("Inclusive document date in YYYY-MM-DD format.")}),sbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),obS=e.object({date_from:e.iso.date().describe("Inclusive document date in YYYY-MM-DD format."),date_to:e.iso.date().describe("Inclusive document date in YYYY-MM-DD format.")}),ibS=e.object({date_from:e.iso.date().describe("Inclusive lower bound of the issued or supplier document date, in YYYY-MM-DD format."),date_to:e.iso.date().describe("Inclusive upper bound of the issued or supplier document date, in YYYY-MM-DD format. The range cannot exceed one year.")}),abS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),A1v=/^\d{4}$/,F1v=/^(1[0-2]|[1-9])$/,k1v=/^[1-4]$/,rbS=e.object({year:e.string().regex(A1v).describe("Year for the VAT return period (e.g. 2026)."),month:e.string().regex(F1v).optional().describe("Month (1-12) for a monthly period. Cannot be used with quarter."),quarter:e.string().regex(k1v).optional().describe("Quarter (1-4) for a quarterly period. Cannot be used with month.")}),lbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),dbS=e.object({period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),deadline:e.object({due_date:e.string().describe("DDV-O submission deadline (YYYY-MM-DD)."),kir_kpr_prefill_cutoff:e.string().describe("Date by which KIR/KPR must be submitted for FURS to compose a pre-filled DDV-O (documented-but-unverified 3-working-day rule).")}),rpo_required:e.boolean().optional().describe("True when the monthly period owes the recapitulative statement (RP-O), so the DDV-O deadline is the 20th of the next month. The deadline and cut-off use the same answer."),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string())}),ubS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),j1v=2e3,H1v=2100,L1v=12,G1v=4,cbS=e.object({year:e.number().min(j1v).max(H1v).describe("Year for the VAT return period."),month:e.number().min(1).max(L1v).nullish().describe("Month (1-12) for a monthly period. Cannot be used with quarter. Explicit null is treated as omitted."),quarter:e.number().min(1).max(G1v).nullish().describe("Quarter (1-4) for a quarterly period. Cannot be used with month. Explicit null is treated as omitted.")}),V1v=10,K1v=100,pbS=e.object({limit:e.number().min(1).max(K1v).default(V1v).describe("Number of results per request."),next_cursor:e.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance.")}),mbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),xbS=e.object({data:e.array(e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})})),pagination:e.object({total:e.number().describe("Total number of items available in the collection"),next_cursor:e.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),Z1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,gbS=e.object({id:e.stringFormat("resource-id",Z1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),ybS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),ObS=e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),q1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,vbS=e.object({id:e.stringFormat("resource-id",q1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),SbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),hbS=e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),W1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,bbS=e.object({id:e.stringFormat("resource-id",W1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),zbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),fbS=e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),Y1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,BbS=e.object({id:e.stringFormat("resource-id",Y1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),TbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),$1v=2e3,IbS=e.object({submitted_at:e.iso.datetime({}).nullish().describe("When the return was submitted to eDavki. Defaults to now when omitted. Must not be in the future (5 minutes of clock skew are tolerated) and must not be before the approval time; otherwise the request is rejected with 422."),notes:e.string().max($1v).nullish().describe("Free-text notes recorded alongside the submission.")}),EbS=e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),Q1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,DbS=e.object({id:e.stringFormat("resource-id",Q1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),RbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),_bS=e.object({id:e.string(),entity_id:e.string(),period:e.object({year:e.number(),month:e.number().nullable(),quarter:e.number().nullable(),from:e.string(),to:e.string(),label:e.string()}),vat_period_setting:e.enum(["monthly","quarterly"]),period_matches_setting:e.boolean(),status:e.enum(["draft","approved","submitted"]),boxes:e.object({11:e.string(),12:e.string(),13:e.string(),14:e.string(),15:e.string(),21:e.string(),22:e.string(),23:e.string(),24:e.string(),25:e.string(),26:e.string(),31:e.string(),32:e.string(),33:e.string(),34:e.string(),35:e.string(),41:e.string(),42:e.string(),43:e.string(),51:e.string(),52:e.string(),"11a":e.string(),"22a":e.string(),"23a":e.string(),"24a":e.string(),"24b":e.string(),"24c":e.string(),"25a":e.string(),"25b":e.string(),"31a":e.string(),"32a":e.string(),"42a":e.string()}),record_counts:e.object({kir:e.number(),kpr:e.number()}),warnings:e.array(e.string()),computed_at:e.iso.datetime({}),approved_by_user_id:e.string().nullable(),approved_at:e.iso.datetime({}).nullable(),submitted_by_user_id:e.string().nullable(),submitted_at:e.iso.datetime({}).nullable(),notes:e.string().nullable(),metadata:e.record(e.string(),e.unknown()),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),J1v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,NbS=e.object({id:e.stringFormat("resource-id",J1v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),MbS=e.object({format:e.enum(["ddv_o_xml"]).describe("Export format for a VAT return filing.")}),UbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),X1v=/^\d{4}-\d{2}-\d{2}$/,e4v=/^\d{4}-\d{2}-\d{2}$/,PbS=e.object({from:e.string().regex(X1v).describe("Range start (inclusive), YYYY-MM-DD."),to:e.string().regex(e4v).describe("Range end (inclusive), YYYY-MM-DD."),status:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status).").and(e.unknown().describe("Filter by computed state.")).optional().describe("Filter by computed state.")}),CbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),wbS=e.object({data:e.array(e.object({id:e.string(),entity_id:e.string(),type:e.enum(["ddv_o","kir_kpr","rp_o","opsvz_contributions","opsvz_payment","ddpo_annual","ajpes_annual","dohdej_annual"]),period_start:e.string(),period_end:e.string(),due_date:e.string(),kind:e.enum(["filing","payment"]),verification:e.enum(["verified","unverified"]),source:e.string(),related_resource:e.object({type:e.enum(["vat_filing"]),period_key:e.string(),id:e.string().nullable().describe("The linked vat_filings row id, when one exists for this period.")}).nullable(),status:e.enum(["upcoming","done","dismissed"]).describe("Stored status."),state:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status)."),done_at:e.iso.datetime({}).nullable(),done_by:e.string().nullable(),dismissed_at:e.iso.datetime({}).nullable(),dismissed_by:e.string().nullable(),notes:e.string().nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})})),summary:e.object({overdue:e.number(),due_this_week:e.number(),upcoming:e.number()})}),t4v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,AbS=e.object({id:e.stringFormat("resource-id",t4v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),FbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),n4v=2e3,kbS=e.object({note:e.string().max(n4v).nullish().describe("Optional note recorded alongside completion.")}),jbS=e.object({id:e.string(),entity_id:e.string(),type:e.enum(["ddv_o","kir_kpr","rp_o","opsvz_contributions","opsvz_payment","ddpo_annual","ajpes_annual","dohdej_annual"]),period_start:e.string(),period_end:e.string(),due_date:e.string(),kind:e.enum(["filing","payment"]),verification:e.enum(["verified","unverified"]),source:e.string(),related_resource:e.object({type:e.enum(["vat_filing"]),period_key:e.string(),id:e.string().nullable().describe("The linked vat_filings row id, when one exists for this period.")}).nullable(),status:e.enum(["upcoming","done","dismissed"]).describe("Stored status."),state:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status)."),done_at:e.iso.datetime({}).nullable(),done_by:e.string().nullable(),dismissed_at:e.iso.datetime({}).nullable(),dismissed_by:e.string().nullable(),notes:e.string().nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),s4v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,HbS=e.object({id:e.stringFormat("resource-id",s4v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),LbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),GbS=e.object({id:e.string(),entity_id:e.string(),type:e.enum(["ddv_o","kir_kpr","rp_o","opsvz_contributions","opsvz_payment","ddpo_annual","ajpes_annual","dohdej_annual"]),period_start:e.string(),period_end:e.string(),due_date:e.string(),kind:e.enum(["filing","payment"]),verification:e.enum(["verified","unverified"]),source:e.string(),related_resource:e.object({type:e.enum(["vat_filing"]),period_key:e.string(),id:e.string().nullable().describe("The linked vat_filings row id, when one exists for this period.")}).nullable(),status:e.enum(["upcoming","done","dismissed"]).describe("Stored status."),state:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status)."),done_at:e.iso.datetime({}).nullable(),done_by:e.string().nullable(),dismissed_at:e.iso.datetime({}).nullable(),dismissed_by:e.string().nullable(),notes:e.string().nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),o4v=/^(?:[a-z]{3,4}_){0,2}[0-9a-f]{24}$/,VbS=e.object({id:e.stringFormat("resource-id",o4v).describe("Space Invoices resource identifier (format: {prefix}_{hex24})")}),KbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),i4v=2e3,ZbS=e.object({reason:e.string().max(i4v).nullish().describe("Optional reason this obligation does not apply.")}),qbS=e.object({id:e.string(),entity_id:e.string(),type:e.enum(["ddv_o","kir_kpr","rp_o","opsvz_contributions","opsvz_payment","ddpo_annual","ajpes_annual","dohdej_annual"]),period_start:e.string(),period_end:e.string(),due_date:e.string(),kind:e.enum(["filing","payment"]),verification:e.enum(["verified","unverified"]),source:e.string(),related_resource:e.object({type:e.enum(["vat_filing"]),period_key:e.string(),id:e.string().nullable().describe("The linked vat_filings row id, when one exists for this period.")}).nullable(),status:e.enum(["upcoming","done","dismissed"]).describe("Stored status."),state:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status)."),done_at:e.iso.datetime({}).nullable(),done_by:e.string().nullable(),dismissed_at:e.iso.datetime({}).nullable(),dismissed_by:e.string().nullable(),notes:e.string().nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}),a4v=/^\d{4}-\d{2}-\d{2}$/,r4v=/^\d{4}-\d{2}-\d{2}$/,l4v="live",WbS=e.object({from:e.string().regex(a4v).describe("Range start (inclusive), YYYY-MM-DD."),to:e.string().regex(r4v).describe("Range end (inclusive), YYYY-MM-DD."),entity_id:e.string().optional().describe("Filter to a single entity id."),environment:e.union([e.literal("live"),e.literal("sandbox"),e.literal(null)]).nullish().default(l4v).describe('Environment to scope entities to. Defaults to "live".')}),d4v=/^acc_[0-9a-fA-F]{24}$/,YbS=e.object({"x-account-id":e.string().regex(d4v).optional().describe("Account Id on which the request is made. Optional if user is part of only one account.")}),$bS=e.object({data:e.array(e.object({id:e.string(),entity_id:e.string(),type:e.enum(["ddv_o","kir_kpr","rp_o","opsvz_contributions","opsvz_payment","ddpo_annual","ajpes_annual","dohdej_annual"]),period_start:e.string(),period_end:e.string(),due_date:e.string(),kind:e.enum(["filing","payment"]),verification:e.enum(["verified","unverified"]),source:e.string(),related_resource:e.object({type:e.enum(["vat_filing"]),period_key:e.string(),id:e.string().nullable().describe("The linked vat_filings row id, when one exists for this period.")}).nullable(),status:e.enum(["upcoming","done","dismissed"]).describe("Stored status."),state:e.enum(["upcoming","due_soon","overdue","done","dismissed"]).describe("Computed display state (adds due_soon/overdue over status)."),done_at:e.iso.datetime({}).nullable(),done_by:e.string().nullable(),dismissed_at:e.iso.datetime({}).nullable(),dismissed_by:e.string().nullable(),notes:e.string().nullable(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).and(e.object({entity_name:e.string()})))});var Et={};W(Et,{CreateTaxBody:()=>JbS,CreateTaxHeader:()=>QbS,DeleteTaxHeader:()=>czS,DeleteTaxParams:()=>uzS,GetTaxesHeader:()=>ezS,GetTaxesQueryParams:()=>XbS,GetTaxesResponse:()=>tzS,PermanentDeleteTaxHeader:()=>yzS,PermanentDeleteTaxParams:()=>gzS,ReplaceTaxBody:()=>lzS,ReplaceTaxHeader:()=>rzS,ReplaceTaxParams:()=>azS,ReplaceTaxResponse:()=>dzS,RestoreTaxHeader:()=>mzS,RestoreTaxParams:()=>pzS,RestoreTaxResponse:()=>xzS,UpdateTaxBody:()=>ozS,UpdateTaxHeader:()=>szS,UpdateTaxParams:()=>nzS,UpdateTaxResponse:()=>izS,createTaxBodyDestinationVatCountryCodeMax:()=>x4v,createTaxBodyDestinationVatCountryCodeMin:()=>m4v,createTaxBodyNameMax:()=>u4v,createTaxBodyPtExemptionReasonMax:()=>g4v,createTaxBodyTaxRatesItemRateMax:()=>p4v,createTaxBodyTaxRatesItemRateMin:()=>c4v,deleteTaxPathIdRegExp:()=>Y4v,getTaxesQueryLimitDefault:()=>y4v,getTaxesQueryLimitMax:()=>O4v,getTaxesResponseDataItemOneDestinationVatCountryCodeMax:()=>f4v,getTaxesResponseDataItemOneDestinationVatCountryCodeMin:()=>z4v,getTaxesResponseDataItemOneEntityIdMax:()=>B4v,getTaxesResponseDataItemOneIdMax:()=>v4v,getTaxesResponseDataItemOneNameMax:()=>S4v,getTaxesResponseDataItemOneTaxRatesItemRateMax:()=>b4v,getTaxesResponseDataItemOneTaxRatesItemRateMin:()=>h4v,permanentDeleteTaxPathIdRegExp:()=>oGv,replaceTaxBodyDestinationVatCountryCodeMax:()=>j4v,replaceTaxBodyDestinationVatCountryCodeMin:()=>k4v,replaceTaxBodyNameMax:()=>w4v,replaceTaxBodyPtExemptionReasonMax:()=>H4v,replaceTaxBodyTaxRatesItemRateMax:()=>F4v,replaceTaxBodyTaxRatesItemRateMin:()=>A4v,replaceTaxPathIdRegExp:()=>C4v,replaceTaxResponseOneDestinationVatCountryCodeMax:()=>q4v,replaceTaxResponseOneDestinationVatCountryCodeMin:()=>Z4v,replaceTaxResponseOneEntityIdMax:()=>W4v,replaceTaxResponseOneIdMax:()=>L4v,replaceTaxResponseOneNameMax:()=>G4v,replaceTaxResponseOneTaxRatesItemRateMax:()=>K4v,replaceTaxResponseOneTaxRatesItemRateMin:()=>V4v,restoreTaxPathIdRegExp:()=>$4v,restoreTaxResponseOneDestinationVatCountryCodeMax:()=>nGv,restoreTaxResponseOneDestinationVatCountryCodeMin:()=>tGv,restoreTaxResponseOneEntityIdMax:()=>sGv,restoreTaxResponseOneIdMax:()=>Q4v,restoreTaxResponseOneNameMax:()=>J4v,restoreTaxResponseOneTaxRatesItemRateMax:()=>eGv,restoreTaxResponseOneTaxRatesItemRateMin:()=>X4v,updateTaxBodyTaxRatesItemRateMax:()=>E4v,updateTaxBodyTaxRatesItemRateMin:()=>I4v,updateTaxPathIdRegExp:()=>T4v,updateTaxResponseOneDestinationVatCountryCodeMax:()=>U4v,updateTaxResponseOneDestinationVatCountryCodeMin:()=>M4v,updateTaxResponseOneEntityIdMax:()=>P4v,updateTaxResponseOneIdMax:()=>D4v,updateTaxResponseOneNameMax:()=>R4v,updateTaxResponseOneTaxRatesItemRateMax:()=>N4v,updateTaxResponseOneTaxRatesItemRateMin:()=>_4v});var QbS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),u4v=100,c4v=0,p4v=100,m4v=2,x4v=2,g4v=60,JbS=e.object({name:e.string().max(u4v).optional(),tax_rates:e.array(e.object({rate:e.number().min(c4v).max(p4v),valid_from:e.iso.datetime({}).nullish()})).min(1),is_default:e.boolean().optional().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),destination_vat_country_code:e.string().min(m4v).max(x4v).nullish().describe("Optional EU destination country for an OSS-specific saved tax. The issuer must support EU OSS and the destination must differ from the issuer country. Set to null or omit for a local/unclassified tax."),pt_exemption_code:e.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e.string().max(g4v).nullish().describe("Optional Portugal legal wording override, at most 60 characters. Omit for the standard wording of pt_exemption_code. M19 has no default: a specific legal reason must be supplied on this tax or its document line before issuance. Supplied wording is preserved."),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),y4v=10,O4v=100,XbS=e.object({limit:e.number().min(1).max(O4v).default(y4v).describe("Number of results per request."),next_cursor:e.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance."),order_by:e.union([e.enum(["id","name","created_at","updated_at","-id","-name","-created_at","-updated_at"]),e.array(e.enum(["id","name","created_at","updated_at","-id","-name","-created_at","-updated_at"]))]).optional().describe("Sort by one field or provide a repeated array for multi-column ordering. Prefix a field with `-` for descending order. When paginating, reuse cursors only with the same effective ordering."),query:e.string().optional().describe('JSON query object for filtering results. Supports MongoDB-style operators.\n\n**Array columns** (such as an item\'s `categories`) compare as sets: a direct value asks whether the list contains it, `contains` takes an array and requires all of them, `in` matches any of them, and `notIn` matches none. Scalar operators such as `gt` do not apply and are ignored.\n\n**Supported operators:**\n- `equals` or direct value - Exact match (default)\n- `gte` - Greater than or equal\n- `lte` - Less than or equal\n- `gt` - Greater than\n- `lt` - Less than\n- `in` - Value in array\n- `notIn` - Value not in array\n- `contains` - String contains (case-insensitive)\n- `startsWith` - String starts with\n- `endsWith` - String ends with\n- `between` - Value between two numbers/dates [min, max]\n\n**Allowed fields:** id, name, is_default, created_at, updated_at\n\n**Examples:**\n- `{"total": {"gte": 1000}}` - Invoices over 1000\n- `{"customer.name": {"contains": "Acme"}}` - Customer name contains "Acme"\n- `{"date": {"between": ["2025-01-01", "2025-12-31"]}}` - Date range'),search:e.string().optional().describe(`Full-text search query to filter results across multiple fields.
231
231
  Searches are case-insensitive and match partial strings.
232
232
  Searches across all text fields including names, descriptions, addresses, and metadata values.`),deleted:e.boolean().optional().describe("When true, returns only soft-deleted (trashed) items. Default false excludes deleted items.")}),ezS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),v4v=36,S4v=100,h4v=0,b4v=100,z4v=2,f4v=2,B4v=36,tzS=e.object({data:e.array(e.object({id:e.string().max(v4v),name:e.string().max(S4v),tax_rates:e.array(e.object({rate:e.number().min(h4v).max(b4v),valid_from:e.iso.datetime({})})).describe("Tax rate history"),is_default:e.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),destination_vat_country_code:e.string().min(z4v).max(f4v).nullish().describe("ISO 3166-1 alpha-2 destination country when this saved tax represents EU OSS destination VAT. Null means the tax is not destination-specific."),pt_exemption_code:e.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e.string().nullish().describe("Effective Portugal exemption wording associated with pt_exemption_code. Standard wording is filled automatically when a PT tax is saved."),entity_id:e.string().max(B4v),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Tax definition with rate history").and(e.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking")),pagination:e.object({total:e.number().describe("Total number of items available in the collection"),next_cursor:e.string().nullable().describe("Opaque cursor for fetching the next page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if no more results are available."),prev_cursor:e.string().nullable().describe("Opaque cursor for fetching the previous page. It encodes the resolved sort tuple for the current result set, so reuse it only with the same effective ordering. Null if at the first page."),has_more:e.boolean().describe("Indicates whether more results are available after the current page")}).describe("Pagination metadata including cursors and result counts")}),T4v=/^[a-z]{3,4}_[0-9a-f]{24}$/,nzS=e.object({id:e.stringFormat("resource-id",T4v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),szS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),I4v=0,E4v=100,ozS=e.object({tax_rates:e.array(e.object({rate:e.number().min(I4v).max(E4v),valid_from:e.iso.datetime({}).nullish()})).min(1),is_default:e.boolean().optional().describe("Set to true to make this the default tax (unsets other defaults)")}),D4v=36,R4v=100,_4v=0,N4v=100,M4v=2,U4v=2,P4v=36,izS=e.object({id:e.string().max(D4v),name:e.string().max(R4v),tax_rates:e.array(e.object({rate:e.number().min(_4v).max(N4v),valid_from:e.iso.datetime({})})).describe("Tax rate history"),is_default:e.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),destination_vat_country_code:e.string().min(M4v).max(U4v).nullish().describe("ISO 3166-1 alpha-2 destination country when this saved tax represents EU OSS destination VAT. Null means the tax is not destination-specific."),pt_exemption_code:e.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e.string().nullish().describe("Effective Portugal exemption wording associated with pt_exemption_code. Standard wording is filled automatically when a PT tax is saved."),entity_id:e.string().max(P4v),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Tax definition with rate history").and(e.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking"),C4v=/^[a-z]{3,4}_[0-9a-f]{24}$/,azS=e.object({id:e.stringFormat("resource-id",C4v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),rzS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),w4v=100,A4v=0,F4v=100,k4v=2,j4v=2,H4v=60,lzS=e.object({name:e.string().max(w4v).optional(),tax_rates:e.array(e.object({rate:e.number().min(A4v).max(F4v),valid_from:e.iso.datetime({}).nullish()})).min(1),is_default:e.boolean().optional().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),destination_vat_country_code:e.string().min(k4v).max(j4v).nullish().describe("Optional EU destination country for an OSS-specific saved tax. The issuer must support EU OSS and the destination must differ from the issuer country. Set to null or omit for a local/unclassified tax."),pt_exemption_code:e.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e.string().max(H4v).nullish().describe("Optional Portugal legal wording override, at most 60 characters. Omit for the standard wording of pt_exemption_code. M19 has no default: a specific legal reason must be supplied on this tax or its document line before issuance. Supplied wording is preserved."),metadata:e.record(e.string(),e.string()).refine(d=>Object.keys(d).length<=50,"Metadata can have maximum 50 properties").nullish().describe("Custom string key-value data for your own use, with up to 50 properties. Keys are opaque and may contain periods. Useful for storing external IDs, tags, or integration data.")}),L4v=36,G4v=100,V4v=0,K4v=100,Z4v=2,q4v=2,W4v=36,dzS=e.object({id:e.string().max(L4v),name:e.string().max(G4v),tax_rates:e.array(e.object({rate:e.number().min(V4v).max(K4v),valid_from:e.iso.datetime({})})).describe("Tax rate history"),is_default:e.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),destination_vat_country_code:e.string().min(Z4v).max(q4v).nullish().describe("ISO 3166-1 alpha-2 destination country when this saved tax represents EU OSS destination VAT. Null means the tax is not destination-specific."),pt_exemption_code:e.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e.string().nullish().describe("Effective Portugal exemption wording associated with pt_exemption_code. Standard wording is filled automatically when a PT tax is saved."),entity_id:e.string().max(W4v),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Tax definition with rate history").and(e.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking"),Y4v=/^[a-z]{3,4}_[0-9a-f]{24}$/,uzS=e.object({id:e.stringFormat("resource-id",Y4v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),czS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),$4v=/^[a-z]{3,4}_[0-9a-f]{24}$/,pzS=e.object({id:e.stringFormat("resource-id",$4v).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),mzS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),Q4v=36,J4v=100,X4v=0,eGv=100,tGv=2,nGv=2,sGv=36,xzS=e.object({id:e.string().max(Q4v),name:e.string().max(J4v),tax_rates:e.array(e.object({rate:e.number().min(X4v).max(eGv),valid_from:e.iso.datetime({})})).describe("Tax rate history"),is_default:e.boolean().describe("Whether this is the default tax for new documents. Only one tax per entity can be default."),classification:e.string().nullish().describe('Classification for API tax lookups (e.g., "standard", "reduced", "zero"). Unique per entity. Can be used instead of rate when creating documents.'),destination_vat_country_code:e.string().min(tGv).max(nGv).nullish().describe("ISO 3166-1 alpha-2 destination country when this saved tax represents EU OSS destination VAT. Null means the tax is not destination-specific."),pt_exemption_code:e.string().nullish().describe("Portugal exemption code for 0% / exempt / non-subject taxes."),pt_exemption_reason:e.string().nullish().describe("Effective Portugal exemption wording associated with pt_exemption_code. Standard wording is filled automatically when a PT tax is saved."),entity_id:e.string().max(sGv),metadata:e.union([e.string(),e.number(),e.boolean(),e.null(),e.record(e.string(),e.unknown()),e.array(e.unknown())]),deleted_at:e.iso.datetime({}).nullish(),created_at:e.iso.datetime({}),updated_at:e.iso.datetime({})}).describe("Tax definition with rate history").and(e.looseObject({})).describe("Tax with one or more rates, each with a valid_from date for historical rate tracking"),oGv=/^[a-z]{3,4}_[0-9a-f]{24}$/,gzS=e.object({id:e.stringFormat("resource-id",oGv).describe("Unique resource identifier. Prefix depends on the resource, for example inv_, cus_, or ent_.")}),yzS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")});var Dt={};W(Dt,{DownloadTicketBaiRecordXmlHeader:()=>RzS,DownloadTicketBaiRecordXmlParams:()=>DzS,GetTicketBaiRecordHeader:()=>IzS,GetTicketBaiRecordParams:()=>TzS,GetTicketBaiRecordResponse:()=>EzS,GetTicketBaiSettingsHeader:()=>OzS,GetTicketBaiSettingsResponse:()=>vzS,ReconcileTicketBaiRecordHeader:()=>PzS,ReconcileTicketBaiRecordParams:()=>UzS,ReconcileTicketBaiRecordResponse:()=>CzS,RetryTicketBaiRecordHeader:()=>NzS,RetryTicketBaiRecordParams:()=>_zS,RetryTicketBaiRecordResponse:()=>MzS,UpdateTicketBaiSettingsBody:()=>hzS,UpdateTicketBaiSettingsHeader:()=>SzS,UpdateTicketBaiSettingsResponse:()=>bzS,UploadTicketBaiCertificateBody:()=>fzS,UploadTicketBaiCertificateHeader:()=>zzS,UploadTicketBaiCertificateResponse:()=>BzS,downloadTicketBaiRecordXmlPathIdMax:()=>gGv,getTicketBaiRecordPathIdMax:()=>xGv,getTicketBaiSettingsResponseLroeIndividualOneGivenNameMax:()=>iGv,getTicketBaiSettingsResponseLroeIndividualOneSurname1Max:()=>aGv,getTicketBaiSettingsResponseLroeIndividualOneSurname2Max:()=>rGv,reconcileTicketBaiRecordPathIdMax:()=>OGv,retryTicketBaiRecordPathIdMax:()=>yGv,updateTicketBaiSettingsBodyLroeIndividualOneGivenNameMax:()=>lGv,updateTicketBaiSettingsBodyLroeIndividualOneSurname1Max:()=>dGv,updateTicketBaiSettingsBodyLroeIndividualOneSurname2Max:()=>uGv,updateTicketBaiSettingsResponseLroeIndividualOneGivenNameMax:()=>cGv,updateTicketBaiSettingsResponseLroeIndividualOneSurname1Max:()=>pGv,updateTicketBaiSettingsResponseLroeIndividualOneSurname2Max:()=>mGv});var OzS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),iGv=120,aGv=120,rGv=120,vzS=e.object({enabled:e.boolean(),territory:e.union([e.literal("alava"),e.literal("bizkaia"),e.literal("gipuzkoa"),e.literal(null)]).nullable(),environment:e.enum(["sandbox","live"]),lroe_model:e.union([e.literal("140"),e.literal("240"),e.literal(null)]).nullable(),lroe_individual:e.union([e.object({given_name:e.string().min(1).max(iGv),surname1:e.string().min(1).max(aGv),surname2:e.string().min(1).max(rGv)}),e.null()]),authorization_confirmed:e.boolean(),ready:e.boolean(),blockers:e.array(e.enum(["territory_required","spanish_entity_required","eur_required","issuer_nif_required","software_configuration_required","certificate_required","certificate_expired","authorization_required","pilot_access_required","production_registration_required","lroe_model_required","lroe_individual_required"])),certificate_expiry:e.string().nullable(),has_issued_records:e.boolean()}),SzS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),lGv=120,dGv=120,uGv=120,hzS=e.object({enabled:e.boolean().nullish(),territory:e.union([e.literal("alava"),e.literal("bizkaia"),e.literal("gipuzkoa"),e.literal(null)]).nullish(),lroe_model:e.union([e.literal("140"),e.literal("240"),e.literal(null)]).nullish().describe("Bizkaia taxpayer ledger model: 140 for individuals, 240 for companies. Explicit null clears an unused model."),lroe_individual:e.union([e.object({given_name:e.string().min(1).max(lGv),surname1:e.string().min(1).max(dGv),surname2:e.string().min(1).max(uGv)}),e.null()]).optional().describe("Explicit given name and surnames for Bizkaia model 140. Never derived by splitting the entity name. Null clears this setting."),authorization_confirmed:e.boolean().nullish().describe("Confirm that the taxpayer has authorized use of this certificate for signing and submission, including any required representative or device registration.")}),cGv=120,pGv=120,mGv=120,bzS=e.object({enabled:e.boolean(),territory:e.union([e.literal("alava"),e.literal("bizkaia"),e.literal("gipuzkoa"),e.literal(null)]).nullable(),environment:e.enum(["sandbox","live"]),lroe_model:e.union([e.literal("140"),e.literal("240"),e.literal(null)]).nullable(),lroe_individual:e.union([e.object({given_name:e.string().min(1).max(cGv),surname1:e.string().min(1).max(pGv),surname2:e.string().min(1).max(mGv)}),e.null()]),authorization_confirmed:e.boolean(),ready:e.boolean(),blockers:e.array(e.enum(["territory_required","spanish_entity_required","eur_required","issuer_nif_required","software_configuration_required","certificate_required","certificate_expired","authorization_required","pilot_access_required","production_registration_required","lroe_model_required","lroe_individual_required"])),certificate_expiry:e.string().nullable(),has_issued_records:e.boolean()}),zzS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),fzS=e.object({file:e.custom(d=>typeof File<"u"&&d instanceof File,"Input not instance of File"),passphrase:e.string().describe("P12/PFX passphrase; empty string is accepted for an unprotected bundle.")}),BzS=e.object({certificate_expiry:e.string()}),xGv=36,TzS=e.object({id:e.string().min(1).max(xGv)}),IzS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),EzS=e.object({id:e.string(),document_id:e.string(),document_type:e.enum(["invoice","credit_note","advance_invoice"]),operation:e.enum(["issue","cancel"]),territory:e.enum(["alava","bizkaia","gipuzkoa"]),environment:e.enum(["sandbox","live"]),sequence:e.number(),previous_record_id:e.string().nullable(),source_record_id:e.string().nullable(),identifier:e.string(),qr_url:e.string().nullable(),cancellation_reason:e.string().nullable(),xml_sha256:e.string(),status:e.enum(["pending","sending","accepted","accepted_with_errors","rejected","unknown"]),authority_codes:e.array(e.string()),authority_receipt:e.string().nullable(),authority_record_state:e.string().nullable().describe("Last confirmed authority state. Annulled/replaced states survive subsequent inconclusive queries."),manual_resolution:e.object({outcome:e.enum(["accepted","rejected"]),evidence_sha256:e.string(),resolved_at:e.string()}).nullable().describe("Audited operator resolution based on separately retained authority evidence; this is not an automated authority response."),last_query:e.object({result:e.enum(["found","not_found","unknown"]),record_state:e.string().nullable(),codes:e.array(e.string()),queried_at:e.string()}).nullable(),attempt_count:e.number().describe("Number of submission attempts, excluding authority queries."),retryable:e.boolean(),created_at:e.string(),updated_at:e.string(),recent_attempts:e.array(e.object({id:e.string(),kind:e.enum(["submission","query","manual"]),status:e.enum(["pending","sending","accepted","accepted_with_errors","rejected","unknown"]),http_status:e.number().nullable(),codes:e.array(e.string()),started_at:e.string(),finished_at:e.string().nullable()})).describe("Up to 20 most recent attempts, newest first. Authority messages and certificate material are excluded.")}),gGv=36,DzS=e.object({id:e.string().min(1).max(gGv)}),RzS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),yGv=36,_zS=e.object({id:e.string().min(1).max(yGv)}),NzS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),MzS=e.object({id:e.string(),document_id:e.string(),document_type:e.enum(["invoice","credit_note","advance_invoice"]),operation:e.enum(["issue","cancel"]),territory:e.enum(["alava","bizkaia","gipuzkoa"]),environment:e.enum(["sandbox","live"]),sequence:e.number(),previous_record_id:e.string().nullable(),source_record_id:e.string().nullable(),identifier:e.string(),qr_url:e.string().nullable(),cancellation_reason:e.string().nullable(),xml_sha256:e.string(),status:e.enum(["pending","sending","accepted","accepted_with_errors","rejected","unknown"]),authority_codes:e.array(e.string()),authority_receipt:e.string().nullable(),authority_record_state:e.string().nullable().describe("Last confirmed authority state. Annulled/replaced states survive subsequent inconclusive queries."),manual_resolution:e.object({outcome:e.enum(["accepted","rejected"]),evidence_sha256:e.string(),resolved_at:e.string()}).nullable().describe("Audited operator resolution based on separately retained authority evidence; this is not an automated authority response."),last_query:e.object({result:e.enum(["found","not_found","unknown"]),record_state:e.string().nullable(),codes:e.array(e.string()),queried_at:e.string()}).nullable(),attempt_count:e.number().describe("Number of submission attempts, excluding authority queries."),retryable:e.boolean(),created_at:e.string(),updated_at:e.string(),recent_attempts:e.array(e.object({id:e.string(),kind:e.enum(["submission","query","manual"]),status:e.enum(["pending","sending","accepted","accepted_with_errors","rejected","unknown"]),http_status:e.number().nullable(),codes:e.array(e.string()),started_at:e.string(),finished_at:e.string().nullable()})).describe("Up to 20 most recent attempts, newest first. Authority messages and certificate material are excluded.")}),OGv=36,UzS=e.object({id:e.string().min(1).max(OGv)}),PzS=e.object({"x-entity-id":e.string().min(1).optional().describe("Entity ID on which the request is made. Auto-selected when only one entity exists, required when multiple entities exist.")}),CzS=e.object({id:e.string(),document_id:e.string(),document_type:e.enum(["invoice","credit_note","advance_invoice"]),operation:e.enum(["issue","cancel"]),territory:e.enum(["alava","bizkaia","gipuzkoa"]),environment:e.enum(["sandbox","live"]),sequence:e.number(),previous_record_id:e.string().nullable(),source_record_id:e.string().nullable(),identifier:e.string(),qr_url:e.string().nullable(),cancellation_reason:e.string().nullable(),xml_sha256:e.string(),status:e.enum(["pending","sending","accepted","accepted_with_errors","rejected","unknown"]),authority_codes:e.array(e.string()),authority_receipt:e.string().nullable(),authority_record_state:e.string().nullable().describe("Last confirmed authority state. Annulled/replaced states survive subsequent inconclusive queries."),manual_resolution:e.object({outcome:e.enum(["accepted","rejected"]),evidence_sha256:e.string(),resolved_at:e.string()}).nullable().describe("Audited operator resolution based on separately retained authority evidence; this is not an automated authority response."),last_query:e.object({result:e.enum(["found","not_found","unknown"]),record_state:e.string().nullable(),codes:e.array(e.string()),queried_at:e.string()}).nullable(),attempt_count:e.number().describe("Number of submission attempts, excluding authority queries."),retryable:e.boolean(),created_at:e.string(),updated_at:e.string(),recent_attempts:e.array(e.object({id:e.string(),kind:e.enum(["submission","query","manual"]),status:e.enum(["pending","sending","accepted","accepted_with_errors","rejected","unknown"]),http_status:e.number().nullable(),codes:e.array(e.string()),started_at:e.string(),finished_at:e.string().nullable()})).describe("Up to 20 most recent attempts, newest first. Authority messages and certificate material are excluded.")});var Rt={};W(Rt,{CheckTransactionTypeBody:()=>AzS,CheckTransactionTypeHeader:()=>wzS,CheckTransactionTypeResponse:()=>FzS,checkTransactionTypeBodyCustomerCountryCodeMax:()=>zGv,checkTransactionTypeBodyCustomerCountryCodeMin:()=>bGv,checkTransactionTypeBodyIssuerCountryCodeMax:()=>SGv,checkTransactionTypeBodyIssuerCountryCodeMin:()=>vGv,checkTransactionTypeBodyIssuerIsTaxSubjectDefault:()=>hGv,checkTransactionTypeResponseCustomerCountryCodeMax:()=>IGv,checkTransactionTypeResponseCustomerCountryCodeMin:()=>TGv,checkTransactionTypeResponseIssuerCountryCodeMax:()=>BGv,checkTransactionTypeResponseIssuerCountryCodeMin:()=>fGv,checkTransactionTypeResponseVatIdCountryCodeMax:()=>DGv,checkTransactionTypeResponseVatIdCountryCodeMin:()=>EGv});var wzS=e.object({"x-entity-id":e.string().min(1).optional().describe("Optional entity whose tax rules apply to the check: when its tax_rules.eu.vies_validate_vat (or tax_rules.uk.validate_vat_number for a UK entity) is false, no VIES request or UK VAT number check is made. No default entity is selected when omitted.")}),vGv=2,SGv=2,hGv=true,bGv=2,zGv=2,AzS=e.object({issuer:e.object({country:e.string().optional().describe("Country name (e.g., 'Germany', 'Deutschland', 'Slovenija'). Automatically resolved to country_code."),country_code:e.string().min(vGv).max(SGv).optional().describe("ISO 3166-1 alpha-2 country code. If provided, takes precedence over country name."),is_tax_subject:e.boolean().default(hGv).describe("Whether the issuer is a tax subject. Set false for small businesses or tax-exempt organizations."),tax_number:e.string().nullish().describe("Issuer VAT number. It identifies a Northern Ireland issuer (country_code GB with an XI-prefixed number, or country_code XI). When the customer's VAT number is checked in VIES, an EU or XI issuer number is sent as the requester, so that VIES can return a consultation number.")}).describe("Issuer (seller) information"),customer:e.object({country:e.string().optional().describe("Country name (e.g., 'Germany', 'Deutschland'). Automatically resolved to country_code."),country_code:e.string().min(bGv).max(zGv).optional().describe("ISO 3166-1 alpha-2 country code. If provided, takes precedence over country name."),tax_number:e.string().optional().describe("Customer tax number (with or without country prefix)"),is_end_consumer:e.boolean().optional().describe("Whether the customer is an end consumer (B2C override). When true, forces B2C classification for non-EU transactions even if customer has a tax number. For intra-EU, VIES validation takes precedence.")}).describe("Customer (buyer) information"),supply_type:e.union([e.literal("goods"),e.literal("services"),e.literal(null)]).nullish().describe("What is being supplied. Only sales between the EU and Northern Ireland (country_code XI, or GB with an XI-prefixed VAT number) depend on it: goods are an intra-EU supply and the XI number is checked in VIES, services are a third-country supply. When it is omitted or null and no items are given, such a sale is classified as third-country and the response carries a warning. Ignored for every other country pair."),items:e.array(e.object({type:e.union([e.literal("separator"),e.literal(null)]).nullish().describe("Set to 'separator' for a section header line; separators are ignored."),classification:e.union([e.literal("product"),e.literal("service"),e.literal("advance"),e.literal(null)]).nullish().describe("The line's classification, as on a document line. Leave it out for a line that takes its classification from the catalog item in item_id; null means the line is unclassified."),item_id:e.string().nullish().describe("Catalog item the line references. Used to inherit the item's classification when the line has none of its own. This needs a selected entity (X-Entity-Id header or an entity-scoped API key) on POST /transaction-type/check; without one, and on the deprecated POST /vies/check, such a line counts as unclassified.")})).nullish().describe("The document's lines, as an alternative to supply_type: the supply type is derived from them with the rule a saved document uses (every line product = goods, every line service = services, anything else = not known). Ignored when supply_type is given.")}),fGv=2,BGv=2,TGv=2,IGv=2,EGv=2,DGv=2,FzS=e.object({transaction_type:e.union([e.literal("domestic"),e.literal("intra_eu_b2b"),e.literal("intra_eu_b2c"),e.literal("3w_b2b"),e.literal("3w_b2c"),e.literal(null)]).nullable().describe("Determined transaction type based on geography and tax status. 3w_b2b/3w_b2c = third-world (non-EU) B2B/B2C."),reverse_charge_applies:e.boolean().describe("Whether reverse charge should be applied (0% tax with reverse charge note)"),issuer_country_code:e.string().min(fGv).max(BGv).nullable().describe("Resolved issuer country code"),customer_country_code:e.string().min(TGv).max(IGv).nullable().describe("Resolved customer country code"),vies_valid:e.boolean().nullable().describe("VIES validation result: true if the tax number is valid, false if VIES says it is invalid, null if it was not checked or VIES could not verify it"),warning:e.string().nullable().describe("Warning message if VIES could not confirm the tax number or the tax number was invalid, if a GB- or XI-prefixed UK VAT number failed the format check or the HMRC check, or if a Northern Ireland sale has no supply_type"),is_tax_subject:e.boolean().optional().describe("False when issuer is not a tax subject (transaction treated as B2C)"),hmrc_valid:e.boolean().nullish().describe("Present when the customer is in the United Kingdom with a tax number that VIES does not cover (Great Britain, or Northern Ireland services). True or false is HMRC's answer for the UK VAT number; null means HMRC was not asked (lookup not enabled, or the number failed the format check) or gave no answer. Informational: it never changes transaction_type."),vat_id_country_code:e.string().min(EGv).max(DGv).nullish().describe("Present when the customer's VAT number starts with an EU country prefix that differs from customer_country_code. Informational: it never changes transaction_type, which follows the address."),supply_scope:e.union([e.literal("goods"),e.literal("services"),e.literal("mixed"),e.literal(null)]).nullish().describe("Whether the given items are goods (classification product), services (anything else) or a mix, resolved like a saved document's lines (a line with item_id and no classification takes the catalog item's). Decides which default tax clause an intra-EU B2B document gets. Not returned when no items were given or the list is empty.")});var _t={};W(_t,{ApproveTravelOrderHeader:()=>dfS,ApproveTravelOrderParams:()=>lfS,ApproveTravelOrderResponse:()=>ufS,CalculateTravelOrderRouteDistanceBody:()=>QzS,CalculateTravelOrderRouteDistanceHeader:()=>$zS,CalculateTravelOrderRouteDistanceResponse:()=>JzS,CancelTravelOrderHeader:()=>SfS,CancelTravelOrderParams:()=>vfS,CancelTravelOrderResponse:()=>hfS,CreateTravelOrderBody:()=>GzS,CreateTravelOrderHeader:()=>LzS,DeleteTravelOrderHeader:()=>rfS,DeleteTravelOrderParams:()=>afS,GetTravelOrderByIdHeader:()=>efS,GetTravelOrderByIdParams:()=>XzS,GetTravelOrderByIdResponse:()=>tfS,GetTravelOrdersHeader:()=>jzS,GetTravelOrdersQueryParams:()=>kzS,GetTravelOrdersResponse:()=>HzS,PreviewTravelOrderBody:()=>KzS,PreviewTravelOrderHeader:()=>VzS,PreviewTravelOrderResponse:()=>ZzS,RenderTravelOrderHtmlHeader:()=>IfS,RenderTravelOrderHtmlParams:()=>BfS,RenderTravelOrderHtmlQueryParams:()=>TfS,RenderTravelOrderPdfHeader:()=>ffS,RenderTravelOrderPdfParams:()=>bfS,RenderTravelOrderPdfQueryParams:()=>zfS,RenderTravelOrderPreviewBody:()=>YzS,RenderTravelOrderPreviewHeader:()=>WzS,RenderTravelOrderPreviewQueryParams:()=>qzS,ReopenTravelOrderBody:()=>yfS,ReopenTravelOrderHeader:()=>gfS,ReopenTravelOrderParams:()=>xfS,ReopenTravelOrderResponse:()=>OfS,SettleTravelOrderHeader:()=>pfS,SettleTravelOrderParams:()=>cfS,SettleTravelOrderResponse:()=>mfS,UpdateTravelOrderBody:()=>ofS,UpdateTravelOrderHeader:()=>sfS,UpdateTravelOrderParams:()=>nfS,UpdateTravelOrderResponse:()=>ifS,approveTravelOrderPathIdRegExp:()=>PVv,approveTravelOrderResponseCostsItemAmountExclusiveMin:()=>wVv,approveTravelOrderResponseCostsItemAmountMax:()=>AVv,approveTravelOrderResponseCostsItemDateRegExp:()=>FVv,approveTravelOrderResponseCostsItemDescriptionMax:()=>CVv,calculateTravelOrderRouteDistanceBodyFromMax:()=>J3v,calculateTravelOrderRouteDistanceBodyFromMin:()=>Q3v,calculateTravelOrderRouteDistanceBodyToMax:()=>eVv,calculateTravelOrderRouteDistanceBodyToMin:()=>X3v,cancelTravelOrderPathIdRegExp:()=>QVv,cancelTravelOrderResponseCostsItemAmountExclusiveMin:()=>XVv,cancelTravelOrderResponseCostsItemAmountMax:()=>eKv,cancelTravelOrderResponseCostsItemDateRegExp:()=>tKv,cancelTravelOrderResponseCostsItemDescriptionMax:()=>JVv,createTravelOrderBodyAdvanceAmountMax:()=>$Gv,createTravelOrderBodyAdvanceAmountMin:()=>YGv,createTravelOrderBodyBreakfastsProvidedMax:()=>ZGv,createTravelOrderBodyBreakfastsProvidedMin:()=>KGv,createTravelOrderBodyCostsItemAmountExclusiveMin:()=>JGv,createTravelOrderBodyCostsItemAmountMax:()=>XGv,createTravelOrderBodyCostsItemDateRegExp:()=>e3v,createTravelOrderBodyCostsItemDescriptionMax:()=>QGv,createTravelOrderBodyCostsMax:()=>t3v,createTravelOrderBodyDateRegExp:()=>AGv,createTravelOrderBodyDestinationCountryCodeRegExp:()=>HGv,createTravelOrderBodyDestinationMax:()=>jGv,createTravelOrderBodyDistanceKmMax:()=>VGv,createTravelOrderBodyDistanceKmMin:()=>GGv,createTravelOrderBodyForeignDailyRateExclusiveMin:()=>qGv,createTravelOrderBodyForeignDailyRateMax:()=>WGv,createTravelOrderBodyNoteMax:()=>n3v,createTravelOrderBodyOriginMax:()=>kGv,createTravelOrderBodyPurposeMax:()=>FGv,createTravelOrderBodyTravelerNameMax:()=>CGv,createTravelOrderBodyTravelerPositionMax:()=>wGv,createTravelOrderBodyVehicleRegistrationMax:()=>LGv,deleteTravelOrderPathIdRegExp:()=>UVv,getTravelOrderByIdPathIdRegExp:()=>tVv,getTravelOrderByIdResponseCostsItemAmountExclusiveMin:()=>sVv,getTravelOrderByIdResponseCostsItemAmountMax:()=>oVv,getTravelOrderByIdResponseCostsItemDateRegExp:()=>iVv,getTravelOrderByIdResponseCostsItemDescriptionMax:()=>nVv,getTravelOrdersQueryLimitDefault:()=>RGv,getTravelOrdersQueryLimitMax:()=>_Gv,getTravelOrdersResponseDataItemCostsItemAmountExclusiveMin:()=>MGv,getTravelOrdersResponseDataItemCostsItemAmountMax:()=>UGv,getTravelOrdersResponseDataItemCostsItemDateRegExp:()=>PGv,getTravelOrdersResponseDataItemCostsItemDescriptionMax:()=>NGv,previewTravelOrderBodyAdvanceAmountMax:()=>v3v,previewTravelOrderBodyAdvanceAmountMin:()=>O3v,previewTravelOrderBodyBreakfastsProvidedMax:()=>x3v,previewTravelOrderBodyBreakfastsProvidedMin:()=>m3v,previewTravelOrderBodyCostsItemAmountExclusiveMin:()=>h3v,previewTravelOrderBodyCostsItemAmountMax:()=>b3v,previewTravelOrderBodyCostsItemDateRegExp:()=>z3v,previewTravelOrderBodyCostsItemDescriptionMax:()=>S3v,previewTravelOrderBodyCostsMax:()=>f3v,previewTravelOrderBodyDateRegExp:()=>i3v,previewTravelOrderBodyDestinationCountryCodeRegExp:()=>d3v,previewTravelOrderBodyDestinationMax:()=>l3v,previewTravelOrderBodyDistanceKmMax:()=>p3v,previewTravelOrderBodyDistanceKmMin:()=>c3v,previewTravelOrderBodyForeignDailyRateExclusiveMin:()=>g3v,previewTravelOrderBodyForeignDailyRateMax:()=>y3v,previewTravelOrderBodyNoteMax:()=>B3v,previewTravelOrderBodyOriginMax:()=>r3v,previewTravelOrderBodyPurposeMax:()=>a3v,previewTravelOrderBodyTravelerNameMax:()=>s3v,previewTravelOrderBodyTravelerPositionMax:()=>o3v,previewTravelOrderBodyVehicleRegistrationMax:()=>u3v,renderTravelOrderHtmlPathIdRegExp:()=>rKv,renderTravelOrderHtmlQueryLanguageMax:()=>cKv,renderTravelOrderHtmlQueryLanguageMin:()=>uKv,renderTravelOrderHtmlQueryLocaleMax:()=>dKv,renderTravelOrderHtmlQueryLocaleMin:()=>lKv,renderTravelOrderPdfPathIdRegExp:()=>nKv,renderTravelOrderPdfQueryLanguageMax:()=>aKv,renderTravelOrderPdfQueryLanguageMin:()=>iKv,renderTravelOrderPdfQueryLocaleMax:()=>oKv,renderTravelOrderPdfQueryLocaleMin:()=>sKv,renderTravelOrderPreviewBodyAdvanceAmountMax:()=>V3v,renderTravelOrderPreviewBodyAdvanceAmountMin:()=>G3v,renderTravelOrderPreviewBodyBreakfastsProvidedMax:()=>j3v,renderTravelOrderPreviewBodyBreakfastsProvidedMin:()=>k3v,renderTravelOrderPreviewBodyCostsItemAmountExclusiveMin:()=>Z3v,renderTravelOrderPreviewBodyCostsItemAmountMax:()=>q3v,renderTravelOrderPreviewBodyCostsItemDateRegExp:()=>W3v,renderTravelOrderPreviewBodyCostsItemDescriptionMax:()=>K3v,renderTravelOrderPreviewBodyCostsMax:()=>Y3v,renderTravelOrderPreviewBodyDateRegExp:()=>N3v,renderTravelOrderPreviewBodyDestinationCountryCodeRegExp:()=>C3v,renderTravelOrderPreviewBodyDestinationMax:()=>P3v,renderTravelOrderPreviewBodyDistanceKmMax:()=>F3v,renderTravelOrderPreviewBodyDistanceKmMin:()=>A3v,renderTravelOrderPreviewBodyForeignDailyRateExclusiveMin:()=>H3v,renderTravelOrderPreviewBodyForeignDailyRateMax:()=>L3v,renderTravelOrderPreviewBodyNoteMax:()=>$3v,renderTravelOrderPreviewBodyOriginMax:()=>U3v,renderTravelOrderPreviewBodyPurposeMax:()=>M3v,renderTravelOrderPreviewBodyTravelerNameMax:()=>R3v,renderTravelOrderPreviewBodyTravelerPositionMax:()=>_3v,renderTravelOrderPreviewBodyVehicleRegistrationMax:()=>w3v,renderTravelOrderPreviewQueryLanguageMax:()=>D3v,renderTravelOrderPreviewQueryLanguageMin:()=>E3v,renderTravelOrderPreviewQueryLocaleMax:()=>I3v,renderTravelOrderPreviewQueryLocaleMin:()=>T3v,reopenTravelOrderBodyReasonMax:()=>ZVv,reopenTravelOrderBodyReasonMin:()=>KVv,reopenTravelOrderPathIdRegExp:()=>VVv,reopenTravelOrderResponseCostsItemAmountExclusiveMin:()=>WVv,reopenTravelOrderResponseCostsItemAmountMax:()=>YVv,reopenTravelOrderResponseCostsItemDateRegExp:()=>$Vv,reopenTravelOrderResponseCostsItemDescriptionMax:()=>qVv,settleTravelOrderPathIdRegExp:()=>kVv,settleTravelOrderResponseCostsItemAmountExclusiveMin:()=>HVv,settleTravelOrderResponseCostsItemAmountMax:()=>LVv,settleTravelOrderResponseCostsItemDateRegExp:()=>GVv,settleTravelOrderResponseCostsItemDescriptionMax:()=>jVv,updateTravelOrderBodyAdvanceAmountMax:()=>zVv,updateTravelOrderBodyAdvanceAmountMin:()=>bVv,updateTravelOrderBodyBreakfastsProvidedMax:()=>vVv,updateTravelOrderBodyBreakfastsProvidedMin:()=>OVv,updateTravelOrderBodyCostsItemAmountExclusiveMin:()=>BVv,updateTravelOrderBodyCostsItemAmountMax:()=>TVv,updateTravelOrderBodyCostsItemDateRegExp:()=>IVv,updateTravelOrderBodyCostsItemDescriptionMax:()=>fVv,updateTravelOrderBodyCostsMax:()=>EVv,updateTravelOrderBodyDateRegExp:()=>dVv,updateTravelOrderBodyDestinationCountryCodeRegExp:()=>mVv,updateTravelOrderBodyDestinationMax:()=>pVv,updateTravelOrderBodyDistanceKmMax:()=>yVv,updateTravelOrderBodyDistanceKmMin:()=>gVv,updateTravelOrderBodyForeignDailyRateExclusiveMin:()=>SVv,updateTravelOrderBodyForeignDailyRateMax:()=>hVv,updateTravelOrderBodyNoteMax:()=>DVv,updateTravelOrderBodyOriginMax:()=>cVv,updateTravelOrderBodyPurposeMax:()=>uVv,updateTravelOrderBodyTravelerNameMax:()=>rVv,updateTravelOrderBodyTravelerPositionMax:()=>lVv,updateTravelOrderBodyVehicleRegistrationMax:()=>xVv,updateTravelOrderPathIdRegExp:()=>aVv,updateTravelOrderResponseCostsItemAmountExclusiveMin:()=>_Vv,updateTravelOrderResponseCostsItemAmountMax:()=>NVv,updateTravelOrderResponseCostsItemDateRegExp:()=>MVv,updateTravelOrderResponseCostsItemDescriptionMax:()=>RVv});var RGv=10,_Gv=100,kzS=e.object({limit:e.number().min(1).max(_Gv).default(RGv).describe("Number of results per request."),next_cursor:e.string().optional().describe("Opaque cursor to fetch the next page of results. Reuse only with the same effective ordering. Use the value from pagination.next_cursor in the previous response."),prev_cursor:e.string().optional().describe("Opaque cursor to fetch the previous page of results. Reuse only with the same effective ordering. Use the value from pagination.prev_cursor in the previous response."),include_total_count:e.boolean().optional().describe("Whether to include the total count of items in `pagination.total`.\nDefault is `true`.\nWhen `false`, `pagination.total` returns -1 for better performance."),status:e.enum(["draft","approved","settled","canceled"]).describe("Lifecycle status. `draft` can be edited or deleted, `approved` can be edited or settled, `settled` and `canceled` are frozen.").and(e.unknown().describe("Filter by lifecycle status.")).optional().describe("Filter by lifecycle status."),search:e.string().optional().describe(`Full-text search query to filter results.
233
233
  Searches are case-insensitive and match partial strings.