<DocumentElement> <Budget> <!-- (string, 50) External code --> <ExternalCode>UniqueCode1</ExternalCode> <!-- (string, 3) Currency code --> <CurrencyCode>EUR</CurrencyCode> <!-- (string, 5, optional) Determines whether the budget is inherited to child company units. Supported values: 1, True = Yes; 0, False = No --> <Inherited>False</Inherited> <!-- (string, 100) Descriptive name --> <Name>Products and Services</Name> <!-- (string, 100, optional) P2P company code for buyer organisation unit. Either 'organizationUnitCode' or 'organizationIdentifier' is required. Min 2 chars. --> <OrganizationCode></OrganizationCode> <!-- (string, 100, optional) P2P company identifier for buyer organisation unit. Either 'organizationUnitCode' or 'organizationIdentifier' is required. Min 2 chars. --> <OrganizationIdentifier></OrganizationIdentifier> <!-- (string, 100, optional) Budget Owner. Min 2 chars. Informative field. --> <Owner>Ilari Nurmi</Owner> <!-- (number) Total amount. Max value: 100000000. --> <Total>12000</Total> <!-- (date) Valid from date, for example: 2014-05-28 Format: YYYY-MM-DD --> <ValidFrom>2016-01-01</ValidFrom> <!-- (date) Valid until date Example: 2014-05-28 Format: YYYY-MM-DD --> <ValidTo>2016-12-31</ValidTo> <!-- (number, 100) Warning limit --> <WarnLimit>80</WarnLimit> <!-- (string) Defines if the budget is enabled, supported values 1, True = Yes; 0, False = No --> <Active>True</Active> <!-- (string, 5, optional) When true, P2P will not allow document to be processed if budget is exceeded. When false, P2P will show a warning and allow purchase documents linked to the budget to be processed. Supported values 1, True = True; 0, False = False --> <Enforcing>True</Enforcing> <Rules> <!-- Rules link purchasing documents automatically to the budget. At least one and multiple rules can be specified. When one of the specified rules match, the purchase document is linked to the budget. Allowed values: '*' accepts any value, '' (empty) requires the field to be empty, '(value)', e.g. '1000' requires the field to have the exact value. --> <Rule> <!-- (string, 50) External code --> <ExternalCode>Rule1</ExternalCode> <!-- (string, 100) Company Code --> <CompanyCode>BW00</CompanyCode> <!-- (string, 32, optional) Account Code --> <AccountCode>*</AccountCode> <!-- (string, 32, optional) Cost Center Code --> <CostCenterCode>6013</CostCenterCode> <!-- (string, 32, optional) Project Code --> <ProjectCode>*</ProjectCode> <!-- (string, 32, optional) Dimension 1 --> <Dimension1>*</Dimension1> <!-- (string, 32, optional) Dimension 2 --> <Dimension2>*</Dimension2> </Rule> </Rules> <Lines> <Line> <!-- (number) Total amount. Max value: 100000000. --> <Sum>6000</Sum> <!-- (string, 8) Current state, supported values: Spend, Pending, Reserved --> <State>Spend</State> <!-- (string, 5, optional) External budget, supported values 1, True = Yes; 0, False = No --> <External>True</External> <!-- (string, 5, optional) Total spent amount, supported values 1, True = Yes; 0, False = No --> <TotalSpend>True</TotalSpend> <!-- (string, 5, optional) Status, supported values 1, True = Yes; 0, False = No --> <Active>True</Active> <!-- (string, 50) External Code --> <ExternalCode>Line1</ExternalCode> </Line> </Lines> </Budget> </DocumentElement>