
API Types: Bulk vs Transactional
Sienge provides two types of APIs with different capabilities and permission requirements:Bulk API - Used for extracting large volumes of historical data. Requires enabling
Massive endpoints in your API token configuration.Transactional API - Used for extracting master data and transactional records. Requires standard API permissions for each resource.1. Add your Sienge access
- In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Sienge option from the list of connectors.
-
Click Next and you’ll be prompted to fill the configuration.
- API User: The user to authenticate against the API service. Check this documentation on how to create it.
- API Password: The password to authenticate against the API service.
- Company Domain: The domain identifier for your company account. For example, if your Sienge workspace URL is
https://mycompany.sienge.com.br, then your company subdomain would bemycompany. - Company ID: The ID of the company to sync (use 1 if you don’t know).
- Building IDs: The IDs of the buildings you want to extract data, used in the Building Resources stream.
- Enterprise IDs: The IDs of the enterprises you want to extract sales data from.
- Start date: The earliest record date to sync.
- Click Next.
2. Select your Sienge streams
-
The next step is letting us know which streams you want to bring. The streams available are related to the different modules in Sienge. You can select entire groups of streams or only a subset of them.
Tip: The stream can be found more easily by typing its name.
- Click Next.
3. Configure your Sienge data streams
-
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.
- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: depending on the data you are bringing to the lake, you can choose between INCREMENTAL and FULL_TABLE. Read more about Sync Types here.
- Click Next.
4. Configure your Sienge data source
- Describe your data source for easy identification within your organization. You can inform things like what data it brings, to which team it belongs, etc.
- To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times).
-
Optionally, you can define some additional settings (if available).
- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
Check your new source!
- Click Next to finalize the setup. Once completed, you’ll receive confirmation that your new source is set up!
- You can view your new source on the Sources page. Now, for you to be able to see it on your Catalog, you have to wait for the pipeline to run. You can now monitor it on the Sources page to see its execution and completion. If needed, manually trigger the pipeline by clicking on the refresh icon. Once executed, your new table will appear in the Catalog section.
If you encounter any issues, reach out to us, and we’ll gladly assist you!
Streams and Fields
Below you’ll find all available data streams from Sienge, organized by API type.Transactional Streams
These streams use the Transactional API and require standard API permissions for each resource. They are typically used for master data and reference tables.
Accountancy Accounts
Accountancy Accounts
Stream containing chart of accounts information.Fields:
id:Integer- Account IDcompanyId:Integer- Company IDuniqueNumber:String- Unique account numbername:String- Account nameaccountType:String- Account type
Accounts Balances
Accounts Balances
Stream containing daily account balance information.Fields:
balanceDate:DateTime- Balance dateaccountNumber:String- Account numberaccountStatus:String- Account statuscompanyId:Integer- Company IDamount:Number- Balance amountreconciledAmount:Number- Reconciled balance amountlinks:Array of Objects- Related linkshref:String- Link URLrel:String- Link relation
Checking Accounts
Checking Accounts
Stream containing checking account information.Fields:
accountNumber:String- Account number (primary key)accountName:String- Account nameagencyNumber:String- Bank agency numberbankNumber:String- Bank numberbankName:String- Bank namecompanyId:Integer- Company IDcompanyName:String- Company nameaccountStatus:String- Account statusaccountType:Object- Account type detailsid:String- Account type IDdescription:String- Account type description
Companies
Companies
Stream containing company information.Fields:
id:Integer- Company IDname:String- Company nametradeName:String- Trade namecnpj:String- CNPJ number
Cost Centers
Cost Centers
Stream containing cost center information.Fields:
id:Integer- Cost center IDname:String- Cost center nameidCompany:Integer- Company IDcnpj:String- CNPJ number
Creditors
Creditors
Stream containing creditor/supplier information.Fields:
id:Integer- Creditor IDname:String- Creditor nametradeName:String- Trade namecpf:String- CPF numbercnpj:String- CNPJ numbersupplier:String- Supplier flagbroker:String- Broker flagemployee:String- Employee flagactive:Boolean- Active statusstateRegistrationNumber:String- State registration numberstateRegistrationType:String- State registration typepaymentTypeId:Integer- Payment type IDcreationDate:DateTime- Creation datelastModificationDate:DateTime- Last modification dateaddress:Object- Address detailscityId:Integer- City IDcityName:String- City namestreetName:String- Street namenumber:String- Street numbercomplement:String- Address complementneighborhood:String- NeighborhoodzipCode:String- ZIP codestate:String- State
phones:Array of Objects- Phone numbersddd:String- Area codenumber:String- Phone numbermain:Boolean- Main phone flagtype:Integer- Phone typeextension:String- Extensionobservation:String- Observation
contacts:Array of Objects- Contact informationname:String- Contact nameddd:String- Area codenumber:String- Phone numberextension:String- Extensionemail:String- Emailskype:String- Skypemsn:String- MSN
otherContactMethods:Array of Objects- Other contact methodstype:String- Contact typeaddress:String- Contact addressobservation:String- Observation
Customers
Customers
Stream containing customer information with detailed personal and company data.Fields:
id:String- Customer IDmodifiedAt:DateTime- Last modification datecreatedAt:DateTime- Creation datepersonType:String- Person type (individual/company)foreigner:String- Foreigner flaginternationalId:String- International IDname:String- Customer nameemail:String- Email addressbirthDate:String- Birth datebirthPlace:String- Birth placecivilStatus:String- Civil statuscpf:String- CPF numbercnpj:String- CNPJ numberfatherName:String- Father’s namemotherName:String- Mother’s namesex:String- Gendernationality:String- NationalitynumberIdentityCard:String- Identity card numberissuingBody:String- ID issuing bodyissueDateIdentityCard:String- ID issue dateprofession:String- ProfessionmatrimonialRegime:String- Matrimonial regimemarriageDate:String- Marriage datemailingAddress:String- Mailing address typelicenseNumber:String- License numberlicenseIssuingBody:String- License issuing bodylicenseIssueDate:String- License issue datecityRegistrationNumber:String- City registrationcnaeNumber:String- CNAE numbercontactName:String- Contact namecreaNumber:String- CREA numberestablishmentDate:String- Establishment datefantasyName:String- Fantasy/trade namenote:String- Notessite:String- WebsiteshareCapital:Number- Share capitalstateRegistrationNumber:String- State registrationtechnicalManager:String- Technical managerclientType:String- Client typeactivityId:Integer- Activity IDactivityDescription:String- Activity descriptiongovernmentEntityId:Integer- Government entity IDgovernmentEntityDescription:String- Government entity descriptionsubTypes:Array of Objects- Customer subtypesid:Integer- Subtype IDdescription:String- Subtype description
phones:Array of Objects- Phone numbersnumber:String- Phone numbermain:Boolean- Main phone flagtype:String- Phone typenote:String- Noteidd:String- International code
addresses:Array of Objects- Addressestype:String- Address typestreetName:String- Street namenumber:String- Numbercomplement:String- Complementneighborhood:String- NeighborhoodcityId:Integer- City IDcity:String- City namestate:String- StatezipCode:String- ZIP codemail:Boolean- Mailing address flag
agents:Array of Objects- Associated agentsid:Integer- Agent ID
procurators:Object- Procurator informationspouse:Object- Spouse informationfamilyIncome:Array of Objects- Family income detailskinsName:String- Kin’s namekinship:String- Kinship relationshipincomeValue:Number- Income valueobservation:String- Observation
Enterprises
Enterprises
Stream containing enterprise/project information.Fields:
id:Integer- Enterprise IDname:String- Enterprise namecommercialName:String- Commercial nameenterpriseObservation:String- Observationcnpj:String- CNPJ numbertype:String- Enterprise typeadress:String- AddresscreationDate:DateTime- Creation datemodificationDate:DateTime- Modification datecreatedBy:String- Created by usermodifiedBy:String- Modified by usercompanyId:Integer- Company IDcompanyName:String- Company namecostDatabaseId:Integer- Cost database IDcostDatabaseDescription:String- Cost database descriptionbuildingTypeId:Integer- Building type IDbuildingTypeDescription:String- Building type description
Payment Categories
Payment Categories
Stream containing payment category/financial category information.Fields:
id:Integer- Category IDname:String- Category nametpConta:String- Account typeflRedutora:String- Reducing account flagflAtiva:String- Active flagflAdiantamento:String- Advance payment flagflImposto:String- Tax flag
Bulk Streams
Sales
Sales
Stream for managing sales information and customer relationships. Requires
enterprise_ids configuration.Fields:id:IntegerenterpriseId:IntegerreceivableBillId:IntegerrefundBillId:IntegerproRataIndexer:Numbernumber:Stringsituation:StringexternalId:Stringnote:StringcancellationReason:StringinterestType:StringlateInterestCalculationType:StringfinancialInstitutionNumber:StringdiscountType:StringcorrectionType:StringanualCorrectionType:StringassociativeCredit:StringdiscountPercentage:Numbervalue:NumbertotalSellingValue:NumberinterestPercentage:NumberfineRate:NumberdailyLateInterestValue:NumbercreationDate:DateTimecontractDate:DateTimeissueDate:DateTimecancellationDate:DateTimefinancialInstitutionDate:DateTimecustomers:Array of Objectsid:Integermain:Booleanspouse:BooleanparticipationPercentage:NumberpersonType:Stringcpf:Stringname:Stringemail:StringbirthDate:DatemarriageDate:DatecivilStatus:StringfatherName:StringmotherName:Stringsex:Stringcnpj:Stringnationality:StringnumberIdentityCard:Stringprofession:StringcontactName:StringfantasyName:StringspouseData:Objectphones:Array of Objectsaddresses:Array of Objects
units:Array of Objectsid:Integermain:BooleanparticipationPercentage:Numbername:StringpropertyType:Stringnote:StringcommercialStock:StringlegalRegistrationNumber:StringdeliveryDate:DateTimeprivateArea:NumbercommonArea:NumberterrainArea:NumberidealFraction:NumberidealFractionSquareMeter:NumberindexedQuantity:NumberchildUnits:Array of Objectsgroupings:Array of Objects
paymentConditions:Array of Objectsbrokers:Array of Objects
Income
Income
Stream containing income and receipt information.Fields:
companyId:IntegercompanyName:StringbusinessAreaId:IntegerbusinessAreaName:StringprojectId:IntegerprojectName:StringgroupCompanyId:IntegergroupCompanyName:StringholdingId:IntegerholdingName:StringsubsidiaryId:IntegersubsidiaryName:StringbusinessTypeId:IntegerbusinessTypeName:StringclientId:IntegerclientName:StringbillId:IntegerinstallmentId:IntegerdocumentIdentificationId:StringdocumentIdentificationName:StringdocumentNumber:StringdocumentForecast:StringoriginId:StringoriginalAmount:NumberdiscountAmount:NumbertaxAmount:NumberindexerId:IntegerindexerName:StringdueDate:DateissueDate:DatebillDate:DateinstallmentBaseDate:DatebalanceAmount:NumbercorrectedBalanceAmount:NumberperiodicityType:StringembeddedInterestAmount:NumberinterestType:StringinterestRate:NumbercorrectionType:StringinterestBaseDate:StringdefaulterSituation:StringsubJudicie:StringmainUnit:StringinstallmentNumber:StringbearerId:IntegerpaymentTerm:ObjectreceiptsCategories:Array of Objectsreceipts:Array of Objects
Business Budget
Business Budget
Stream for managing business budget information.Fields:
id:IntegerstartDate:DateendDate:DatebaseDate:Datedescription:StringbudgetType:Stringvision:StringcompanyId:IntegercompanyName:StringcostCenterId:IntegercostCenterName:StringdepartmentId:IntegerdepartmentName:StringversionNumber:IntegerversionDescription:StringpaymentCategories:Array of Objectsid:Stringdescription:Stringtype:Stringnotes:Stringinterval:Array of ObjectsmonthYear:StringtotalPrice:Number
Account Cost Center Balance
Account Cost Center Balance
Stream containing accounting balances for cost centers.Fields:
costCenterId:IntegercompanyId:IntegerentryId:IntegerbatchId:Integerid:IntegeraccountId:StringpreviousBalance:NumberpreviousBalanceType:StringdebitBalance:NumbercreditBalance:NumberbalanceCarriedForward:NumberbalanceCarriedForwardType:StringmonthYear:String
Invoice Items
Invoice Items
Stream with detailed information about invoice items.Fields:
entryExitType:IntegeritemType:StringentryExitDate:DatecostCenterId:IntegerdocumentNumber:StringdocumenCode:StringseriesType:StringissueDate:DateparticipantCode:IntegerparticipantName:StringparticipantFederatedUnit:StringparticipantStateRegistration:StringparticipantCpfCnpj:StringproductCode:IntegerproductDescription:StringunitOfMeasureSymbol:Stringncm:StringoperationTaxCode:StringproductOriginCode:Stringquantity:NumberunitPriceValue:NumberfreightValue:NumberinsuranceValue:NumberipiExpensesValue:NumberancillaryExpensesValue:NumberdiscountValue:NumbertotalItemValue:NumberpisTaxSituation:StringpisCalculationBasis:NumberpisRate:NumberpisValue:NumbercofinsTaxSituation:StringcofinsCalculationBasis:NumbercofinsRate:NumbercofinsValue:NumbericmsTaxSituation:StringicmsCalculationBasis:NumbericmsRate:NumbericmsValue:NumbericmsStCalculationBasis:NumbericmsStRate:NumbericmsStValue:NumbericmsExoneratedValue:NumbericmsExemptValue:NumbericmsOtherValue:NumberipiTaxSituation:StringipiCalculationBasis:NumberipiRate:NumberipiValue:NumberipiExemptValue:NumberipiOtherValue:Number
Defaulters Receivable Bills
Defaulters Receivable Bills
Stream for managing bills from defaulter customers.Fields:
companyId:IntegerclientId:IntegerclientName:StringreceivableBillId:StringissueDate:DatedocumentNumber:StringcostCentersId:Array of Integersunits:StringreceivableBillValue:NumberdefaulterInstallments:Array of ObjectsinstallmentId:StringconditionType:StringdueDate:DatedaysOfDelay:IntegercorrectedValueWithoutAdditions:NumberproRata:Numberinterest:Numberfine:NumbertotalAdditions:NumbercorrectedValueWithAdditions:NumberinstallmentNumber:StringinstallmentSentToSPCSerasa:String
defaulterJudicialActivities:Array of ObjectsrecordDate:Datesituation:Stringconcluded:Stringobservation:String
Bank Movement
Bank Movement
Stream containing bank movement and transaction data.Fields:
bankMovementId:IntegerbillId:IntegerinstallmentId:IntegerbankMovementAmount:NumberdocumentIdentificationId:StringdocumentIdentificationName:StringdocumentIdentificationNumber:StringbankMovementOriginId:StringbankMovementHistoricId:IntegerbankMovementHistoricName:StringbankMovementOperationId:IntegerbankMovementOperationName:StringbankMovementOperationType:StringbankMovementReconcile:StringbankMovementDate:DatebillDate:DateaccountNumber:StringcompanyId:IntegercompanyName:StringgroupCompanyId:IntegergroupCompanyName:StringholdingId:IntegerholdingName:StringsubsidiaryId:IntegersubsidiaryName:StringcreditorId:IntegercreditorName:StringclientId:IntegerclientName:StringfinancialCategories:Array of ObjectsdepartamentCosts:Array of ObjectsbuldingCosts:Array of Objects
Customer Debt Balance
Customer Debt Balance
Stream for customer debt balance information.Fields:
billReceivableId:Integercompany:Objectid:Integername:String
costCenter:Objectid:Integername:String
customer:Objectid:Integername:Stringdocument:String
secondaryCustomers:Array of ObjectsemissionDate:DateaccountingDate:DatetotalValue:NumberlastRenegotiationDate:DatecorrectionDate:Datedocument:StringcancellationDate:Dateunits:Array of Objectsinstallments:Array of Objects
Building Cost Estimation Items
Building Cost Estimation Items
Stream for items in building cost estimations.Fields:
buildingId:IntegerbuildingName:StringbuildingStatus:Stringprojects:Array of Objectsid:Integername:String
versionNumber:IntegerbuildingUnitId:IntegerbuildingUnitName:Stringid:IntegerwbsCode:StringworkItemId:Integerdescription:StringunitOfMeasure:Stringquantity:NumberunitPrice:NumbertotalPrice:NumberbaseTotalPrice:NumberscheduledPercentComplete:NumberpercentComplete:NumbermeasuredQuantity:NumberpricesByCategory:Array of Objectstasks:Array of Objects
Account Company Balance
Account Company Balance
Stream containing accounting balances for companies.Fields:
companyId:Integerid:IntegeraccountId:StringpreviousBalance:NumberpreviousBalanceType:StringdebitBalance:NumbercreditBalance:NumberbalanceCarriedForward:NumberbalanceCarriedForwardType:StringmonthYear:String
Outcome
Outcome
Stream containing outcome and payment information.Fields:
companyId:IntegercompanyName:StringbusinessAreaId:IntegerbusinessAreaName:StringprojectId:IntegerprojectName:StringgroupCompanyId:IntegergroupCompanyName:StringholdingId:IntegerholdingName:StringsubsidiaryId:IntegersubsidiaryName:StringbusinessTypeId:IntegerbusinessTypeName:StringcreditorId:IntegercreditorName:StringbillId:IntegerinstallmentId:IntegerdocumentIdentificationId:StringdocumentIdentificationName:StringdocumentNumber:StringforecastDocument:StringconsistencyStatus:StringoriginId:StringoriginalAmount:NumberdiscountAmount:NumbertaxAmount:NumberindexerId:IntegerindexerName:StringdueDate:DateissueDate:DateinstallmentBaseDate:DatebalanceAmount:NumbercorrectedBalanceAmount:NumberauthorizationStatus:StringbillDate:DateregisteredUserId:StringregisteredBy:StringregisteredDate:DateTimepaymentsCategories:Array of ObjectsdepartamentsCosts:Array of ObjectsbuildingsCosts:Array of Objectspayments:Array of Objectsauthorizations:Array of Objects
Building Resources
Building Resources
Stream for managing building resources. Requires
building_ids configuration.Fields:buildingResourceId:IntegerbuildingId:IntegerbuildingName:Stringdescription:StringunitOfMeasure:StringunitPrice:NumberpriceDate:DatepriceCategory:StringresourceCode:Stringcategory:StringresourceGroup:Stringsynonym:StringfinancialCategory:StringtaxClassification:StringproductTax:StringisActive:BooleandetailId:IntegerdetailDescription:StringtrademarkId:IntegertrademarkDescription:StringminimumStock:IntegermaximumStock:IntegerestimatedDeliveryTime:IntegerhasServiceFeature:BooleandeliveryInterval:Integerinstallments:Array of ObjectsmovementUnits:Array of Objectsnotes:Array of ObjectsbuildingCostEstimationItems:Array of Objectsdisbursements:Array of ObjectsremainingDisbursement:NumberbuildingAppropriations:Object
Customer Extract History
Customer Extract History
Stream for the history of customer extracts.Fields:
billReceivableId:Integercompany:Objectid:Integername:String
costCenter:Objectid:Integername:String
customer:Objectid:Integername:Stringdocument:String
emissionDate:DatelastRenegotiationDate:DatecorrectionDate:Datedocument:StringprivateArea:NumberoldestInstallmentDate:DaterevokedBillReceivableDate:Dateunits:Array of Objectsinstallments:Array of Objects
Purchase Quotations
Purchase Quotations
Stream for managing purchase quotations.Fields:
purchaseQuotationId:IntegerregisteredDate:DatelastModification:DatepurchaseQuotationDate:DatesentDate:DateresponseDeadline:Datenotes:StringminNumberOfSuppliers:IntegersuggestedNumberOfSuppliers:IntegerbuyerId:StringpurchaseQuotationItems:Array of ObjectspurchaseQuotationItemId:IntegerbuildingId:IntegerproductId:IntegerproductDescription:StringdetailId:IntegerdetailDescription:StringtrademarkId:IntegertrademarkDescription:Stringquantity:NumberunitySimbol:Stringnotes:String
purchaseQuotationSuppliers:Array of ObjectssupplierId:Integernegotiations:Array of Objects