soapApp
Click here for a complete list of operations.
AddFactuur
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /soap.asmx HTTP/1.1 Host: soap.e-boekhouden.nl Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.e-boekhouden.nl/soap/AddFactuur" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AddFactuur xmlns="http://www.e-boekhouden.nl/soap"> <SessionID>string</SessionID> <SecurityCode2>string</SecurityCode2> <oFact> <Factuurnummer>string</Factuurnummer> <Relatiecode>string</Relatiecode> <Datum>dateTime</Datum> <Betalingstermijn>long</Betalingstermijn> <Factuursjabloon>string</Factuursjabloon> <PerEmailVerzenden>boolean</PerEmailVerzenden> <EmailOnderwerp>string</EmailOnderwerp> <EmailBericht>string</EmailBericht> <EmailVanAdres>string</EmailVanAdres> <EmailVanNaam>string</EmailVanNaam> <AutomatischeIncasso>boolean</AutomatischeIncasso> <IncassoIBAN>string</IncassoIBAN> <IncassoMachtigingSoort>string</IncassoMachtigingSoort> <IncassoMachtigingID>string</IncassoMachtigingID> <IncassoMachtigingDatumOndertekening>dateTime</IncassoMachtigingDatumOndertekening> <IncassoMachtigingFirst>boolean</IncassoMachtigingFirst> <IncassoRekeningNummer>string</IncassoRekeningNummer> <IncassoTnv>string</IncassoTnv> <IncassoPlaats>string</IncassoPlaats> <IncassoOmschrijvingRegel1>string</IncassoOmschrijvingRegel1> <IncassoOmschrijvingRegel2>string</IncassoOmschrijvingRegel2> <IncassoOmschrijvingRegel3>string</IncassoOmschrijvingRegel3> <InBoekhoudingPlaatsen>boolean</InBoekhoudingPlaatsen> <BoekhoudmutatieOmschrijving>string</BoekhoudmutatieOmschrijving> <Regels> <cFactuurRegel> <Aantal>double</Aantal> <Eenheid>string</Eenheid> <Code>string</Code> <Omschrijving>string</Omschrijving> <PrijsPerEenheid>double</PrijsPerEenheid> <BTWCode>string</BTWCode> <TegenrekeningCode>string</TegenrekeningCode> <KostenplaatsID>long</KostenplaatsID> </cFactuurRegel> <cFactuurRegel> <Aantal>double</Aantal> <Eenheid>string</Eenheid> <Code>string</Code> <Omschrijving>string</Omschrijving> <PrijsPerEenheid>double</PrijsPerEenheid> <BTWCode>string</BTWCode> <TegenrekeningCode>string</TegenrekeningCode> <KostenplaatsID>long</KostenplaatsID> </cFactuurRegel> </Regels> </oFact> </AddFactuur> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AddFactuurResponse xmlns="http://www.e-boekhouden.nl/soap"> <AddFactuurResult> <ErrorMsg> <LastErrorCode>string</LastErrorCode> <LastErrorDescription>string</LastErrorDescription> </ErrorMsg> <Factuurnummer>string</Factuurnummer> </AddFactuurResult> </AddFactuurResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /soap.asmx HTTP/1.1 Host: soap.e-boekhouden.nl Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AddFactuur xmlns="http://www.e-boekhouden.nl/soap"> <SessionID>string</SessionID> <SecurityCode2>string</SecurityCode2> <oFact> <Factuurnummer>string</Factuurnummer> <Relatiecode>string</Relatiecode> <Datum>dateTime</Datum> <Betalingstermijn>long</Betalingstermijn> <Factuursjabloon>string</Factuursjabloon> <PerEmailVerzenden>boolean</PerEmailVerzenden> <EmailOnderwerp>string</EmailOnderwerp> <EmailBericht>string</EmailBericht> <EmailVanAdres>string</EmailVanAdres> <EmailVanNaam>string</EmailVanNaam> <AutomatischeIncasso>boolean</AutomatischeIncasso> <IncassoIBAN>string</IncassoIBAN> <IncassoMachtigingSoort>string</IncassoMachtigingSoort> <IncassoMachtigingID>string</IncassoMachtigingID> <IncassoMachtigingDatumOndertekening>dateTime</IncassoMachtigingDatumOndertekening> <IncassoMachtigingFirst>boolean</IncassoMachtigingFirst> <IncassoRekeningNummer>string</IncassoRekeningNummer> <IncassoTnv>string</IncassoTnv> <IncassoPlaats>string</IncassoPlaats> <IncassoOmschrijvingRegel1>string</IncassoOmschrijvingRegel1> <IncassoOmschrijvingRegel2>string</IncassoOmschrijvingRegel2> <IncassoOmschrijvingRegel3>string</IncassoOmschrijvingRegel3> <InBoekhoudingPlaatsen>boolean</InBoekhoudingPlaatsen> <BoekhoudmutatieOmschrijving>string</BoekhoudmutatieOmschrijving> <Regels> <cFactuurRegel> <Aantal>double</Aantal> <Eenheid>string</Eenheid> <Code>string</Code> <Omschrijving>string</Omschrijving> <PrijsPerEenheid>double</PrijsPerEenheid> <BTWCode>string</BTWCode> <TegenrekeningCode>string</TegenrekeningCode> <KostenplaatsID>long</KostenplaatsID> </cFactuurRegel> <cFactuurRegel> <Aantal>double</Aantal> <Eenheid>string</Eenheid> <Code>string</Code> <Omschrijving>string</Omschrijving> <PrijsPerEenheid>double</PrijsPerEenheid> <BTWCode>string</BTWCode> <TegenrekeningCode>string</TegenrekeningCode> <KostenplaatsID>long</KostenplaatsID> </cFactuurRegel> </Regels> </oFact> </AddFactuur> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AddFactuurResponse xmlns="http://www.e-boekhouden.nl/soap"> <AddFactuurResult> <ErrorMsg> <LastErrorCode>string</LastErrorCode> <LastErrorDescription>string</LastErrorDescription> </ErrorMsg> <Factuurnummer>string</Factuurnummer> </AddFactuurResult> </AddFactuurResponse> </soap12:Body> </soap12:Envelope>