Maak uw eerste factuur aan!
Duizenden gebruikers gingen u al voor.
Mag WeFact cookies plaatsen?
Met deze cookies kunnen we onze website analyseren en onze advertenties meten. Bekijk onze privacy verklaring.
Offertes zijn te beheren via de controller 'pricequote'.
Middels deze functie voegt u een offerteregel toe aan een bestaande offerte.
Veldnaam | Waarde | Omschrijving |
---|---|---|
Identifier | int | De unieke ID van een offerte |
PriceQuoteCode | string | Het offertenummer |
PriceQuoteLines | array | Offerteregel: |
- Date | date | Datum. Standaard: vandaag |
- Number | float | Aantal. Standaard: 1 |
- ProductCode | string | Productnummer |
- Description | string | Omschrijving |
- PriceExcl | float | Prijs per stuk (excl. BTW] |
- DiscountPercentage | float | Korting offerteregel, percentage: 0 - 100 |
- DiscountPercentageType | 'line' of 'subscription' | Type korting (enkel offerteregel of later ook voor abonnement] |
- TaxCode | string | BTW code Terug te vinden bij de BTW instellingen. |
- StartDate | date | Startdatum van de periode |
- EndDate | date | Einddatum van de periode Enkel in te geven als PeriodicType 'once' is. |
- PeriodicType | 'once' of 'period' | Periodiek factureren? Standaard: 'once' (Geen abonnement] |
- Periods | int | Factureer iedere: aantal periodes |
- Periodic | string | Factureer iedere: eenheid, zie variabelen-lijst |
$parameters = [
"PriceQuoteCode" => "OF2022-0001",
"PriceQuoteLines" => [
[
"ProductCode" => "P0001",
"PriceExcl" => 100
]
]
];
$api->sendRequest('pricequoteline', 'add', $parameters);
Array
(
[controller] => pricequoteline
[action] => add
[status] => success
[date] => 2022-01-21T12:00:00+02:00
[success] => Array
(
[0] => Er zijn 1 offerteregels toegevoegd
)
[pricequote] => Array
(
[Identifier] => 1
[PriceQuoteCode] => OF2022-0001
[Debtor] => 1
[DebtorCode] => DB10000
[Status] => 0
[Archived] => 0
[Date] => 2021-11-22
[Term] => 30
[AmountExcl] => 329.45
[AmountTax] => 69.18
[AmountIncl] => 398.63
[Discount] => 0
[VatCalcMethod] => excl
[IgnoreDiscount] => no
[ReferenceNumber] =>
[CompanyName] => Jan Janssen B.V.
[Initials] => Jan
[SurName] => Janssen
[Sex] => m
[Address] => Keizersgracht 100
[ZipCode] => 1015 AA
[City] => Amsterdam
[Country] => NL
[EmailAddress] => info@example.com
[ExtraClientContactId] => 0
[PriceQuoteMethod] => 0
[SentDate] =>
[Sent] => 0
[LanguageCode] => nl_nl
[Currency] => EUR
[Description] =>
[Comment] =>
[PriceQuoteLines] => Array
(
[0] => Array
(
[Identifier] => 1
[Date] => 2021-11-22
[Number] => 2
[NumberSuffix] =>
[ProductCode] => P0001
[Description] => Werkzaamheden gebaseerd op uurtarief
[PriceExcl] => 100
[DiscountPercentage] => 0
[DiscountPercentageType] => line
[TaxCode] => V21
[TaxPercentage] => 21
[Periods] => 1
[Periodic] =>
[StartDate] =>
[EndDate] =>
[StartPeriod] =>
[EndPeriod] =>
)
[1] => Array
(
[Identifier] => 2
[Date] => 2021-11-22
[Number] => 155
[NumberSuffix] => km
[ProductCode] => P0002
[Description] => Reiskosten à € 0,19 per km
[PriceExcl] => 0.19
[DiscountPercentage] => 0
[DiscountPercentageType] => line
[TaxCode] => V21
[TaxPercentage] => 21
[Periods] => 1
[Periodic] =>
[StartDate] =>
[EndDate] =>
[StartPeriod] =>
[EndPeriod] =>
)
[2] => Array
(
[Identifier] => 3
[Date] =>
[Number] => 1
[NumberSuffix] =>
[ProductCode] => P0001
[Description] => Werkzaamheden gebaseerd op uurtarief
[PriceExcl] => 100
[DiscountPercentage] => 0
[DiscountPercentageType] => line
[TaxCode] => V21
[TaxPercentage] => 21
[Periods] => 1
[Periodic] =>
[StartDate] =>
[EndDate] =>
[StartPeriod] =>
[EndPeriod] =>
)
)
[Created] => 2022-01-21 11:00:00
[Modified] => 2022-01-21 11:00:00
[AcceptURL] =>
[VatShift] => no
[Attachments] => Array
(
)
[Translations] => Array
(
[Status] => Concept
[Country] => Nederland
[PriceQuoteMethod] => Per e-mail
[LanguageLabel] => Nederlands
)
)
)
Met WeFact maakt u sneller en zonder fouten online facturen, verwerkt u inkoopfacturen en heeft u grip op uw administratie! Test alle functionaliteiten zonder beperkingen met de gratis proefperiode.
Geen betaalgegevens nodig